Community
Participate
Working Groups
Created attachment 81671 [details] Progress Bar on Eclipse showing project being built before ant task run Build ID: M20071023-1652 Steps To Reproduce: 1. Have an ant file 2. Have an ant task, that builds java source files (e.g. CORBA/RMI/SOAP stub generator) 3. Click on said ant task. 4. Watch project build fail as eclipse tries to build the project before running Ant, and fails because it is missing said stub classes, which would have been generated by the ant task. These stub files are referenced by the rest of the java files in my project. This feels similar to a chicken and the egg situation. What comes first? The bug here is that eclipse tries to build the project before running the ant task. This is incorrect behavior. If I wanted to build my entire project, I would have specified it in the ant task. This behavior prevents my project from compiling at all. More information: Suggest an option to build the project before running an ant task, with the default setting off.
Move to Platform/Ant
Thanks for taking the time to log a bug report but this is working as designed. There is a build before launch attribute that you can configure for your Ant build launch configuration. Run>External Tools>Open External Tools Dialog... Select your launch configuration Go to the Build tab Uncheck Build before Launch (or configure as you would like per resources).