I’ve got an Ant task that when launched will update the version number in a text file. Is it possible to have this run before an Eclipse Run / Debug configuration besides manually running it each time?
I think in another IDE it’s called “compilation trigger” and “execution trigger”.
Summary:
- Click debug icon on Eclipse toolbar
- An Ant task that I specify runs
- Debug configuration for current project runs
You can add a “compilation trigger” by adding a new Builder to your project. In your project properties, select Builders and click on new Ant Builder. Then select the build xml and the target that you want to run. This task will then be integrated into all your builds.