Reputation: 368
I want to export a project every time I make changes to it, but going through the menus Right click -> Export... -> JAR File -> Next -> Finish
is annoying an a bit time consuming.
I heard you could somehow make Eclipse automatically export when saving, I searched everywhere but I didn't find anything, I'd like to know how to do that. Thanks in advance.
Upvotes: 4
Views: 1176
Reputation: 121689
Your best bet is:
1) Create an Ant script to compile your Java and export your .jar
2) Configure an Eclipse "Build" script to invoke Ant each file save.
Here are two links that tell you how:
Here's an excellent, brief tutorial for getting started with Ant:
Upvotes: 3