• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling and running multiple source files in Eclipse

 
Wilson Mui
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34863
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wilson,
You could write an Ant script to do that.
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in fact you should write something else to run them. How else are your users going to run the thing?
 
Wilson Mui
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic