Is it possible to do clean and build a project using ant in eclipse
In addition of the answer from Wing C. Chen, if you are looking for a way to interact with eclipse from ant, this may help you: Ant tasks provided by the platform.
There you can find some task to interact with the platform, like one to cause eclipse to do an incremental build.
You can execute any ant "target" in eclipse. Open then the build.xml, click the "outline" view, and you will see the targets listed in green bubble from. Right-click the one that you would like to run, select "run as", and then "ant build". You should be able to run the target up already.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With