my dog learned polymorphism*
The moose likes IDEs, Version Control and other tools and the fly likes Compiling and running multiple source files in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Compiling and running multiple source files in Eclipse" Watch "Compiling and running multiple source files in Eclipse" New topic
Author

Compiling and running multiple source files in Eclipse

Wilson Mui
Ranch Hand

Joined: Apr 09, 2003
Posts: 140
I'm writing a small client/server app, and I usually make changes to both the server and the client - or at least I'm in that process right now. One thing that is [slightly] annoying is having to run the server and the client each time when I want to test the code changes. Is there a way where I can create a configuration that will compile all files that have been changed (I think that is done automatically), but then also run the server app, and then the quote app, so that it's like a one-stop click
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Wilson,
You could write an Ant script to do that.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
in fact you should write something else to run them. How else are your users going to run the thing?


42
Wilson Mui
Ranch Hand

Joined: Apr 09, 2003
Posts: 140
Hmm Ant script, see I've seen the term ANT thrown around a lot, and I just never learned what that was all about. Man so much to learn. As for how my users are going to use it - I was going to be run the server, the clients would be running the client from a java webstart link I presume, which I have to figure out as well.
 
 
subject: Compiling and running multiple source files in Eclipse
 
Similar Threads
Updating class files
Link to file outside context root of weblogic
I don't understand the thin client / fat client concept
refining client/server project
UnmarshalException over RMI