Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 160895 - Ant Builder does not run except on Clean
Summary: Ant Builder does not run except on Clean
Status: CLOSED DUPLICATE of bug 114563
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.2.1   Edit
Hardware: Macintosh All
: P3 major (vote)
Target Milestone: 3.7   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 321971 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-13 12:25 EDT by Robert CLA
Modified: 2011-01-31 16:11 EST (History)
4 users (show)

See Also:


Attachments
Ant build file (338 bytes, text/plain)
2006-10-13 12:27 EDT, Robert CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert CLA 2006-10-13 12:25:41 EDT
I've created an ant build.xml file which runs a grammar file test.g through ANTLR, generating some java files. I have set the build.xml default target.

I've added the build file as an Ant Builder for the project, setting it to run before the Java Builder.

The targets for the builder as set as follows:

After a "Clean": <default target selected>
Manual Build: <default target selected>
Auto Build: <Builder is not set to run for this build kind>
During a "Clean": <default target selected>

The builder runs if I use Project > Clean. However, if I use Project > Build All or Project > Build Project, the builder does not run.

How can I get the builder to run without doing a Project > Clean?
Comment 1 Robert CLA 2006-10-13 12:27:35 EDT
Created attachment 51951 [details]
Ant build file
Comment 2 Darin Swanson CLA 2007-04-17 19:46:18 EDT
Sorry for the delay on a response on this bug.

I cannot reproduce the problem on I20070417-0800 and we have had no other reports of this problem.

Please reopen if there are further details or issues.
Comment 3 Darin Wright CLA 2009-01-22 11:30:06 EST
I cannot get an Ant builder to run for manual builds (Build All, or Build Project). I tried 3.3.2, 3.4.2, and 3.5. Auto build works OK, but only when there is an "after clean" target specified (bug 196811).
Comment 4 Darin Wright CLA 2010-08-30 12:00:53 EDT
*** Bug 321971 has been marked as a duplicate of this bug. ***
Comment 5 Michael Rennie CLA 2011-01-31 16:11:38 EST

*** This bug has been marked as a duplicate of bug 114563 ***