Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run ant deploy script on eclipse save

Tags:

eclipse

ant

I have an ant deploy script I would like to run each time I do a file save in eclipse.

Thanks

Vickus

like image 696
vanzylv Avatar asked Aug 31 '11 13:08

vanzylv


People also ask

How do I update ant project in Eclipse?

Go to Help -> About RAD -> Intallation details -> Plugins ... locate the org. apache. ant plugin version you are using. Note the Provider ... in this case for me it was Eclipse Orbit.

What does ant build mean in eclipse?

Ant is a Java-based build tool created as part of the Apache open-source project. You can think of it as a Java version of make. Ant scripts have a structure and are written in XML. Similar to make, Ant targets can depend on other targets. For example, Ant is used in the context of plug-in development in the build.


1 Answers

First, you have to set up eclipse so it builds your project when you save. You do this under "Preferences -> General -> Workspace -> Build Automatically". Second, you have to register your ant builder. Do this via Project -> Properties -> Builders -> New. Here you can select an ant builder and configure it to your preferences.

like image 50
Michael Avatar answered Oct 20 '22 01:10

Michael