Ant and External Tool Builders [message #37989] |
Sat, 24 May 2003 13:29  |
Eclipse User |
|
|
|
I seem to have a problem with Ant when used as an external tool builder.
If I right click on build.xml from Project A, and attempt to manually run
the Ant Task,
eclipse will launch the Ant Tool Builders I have configured for say Projects
B,C, and D
These projects have no interdependancies, but it will always attempt to
launch the Ant tasks regardless for B,C and D.
I sometimes get an error such as 'Ant build xxx is already in progress' as
well.
If I click on Project A, and select Build from the menu, this problem does
not occur.
Is there something I can do to prevent all these other projects from
attempting to build themselves when they are already up to date.
thanks,
Chad
|
|
|
Re: Ant and External Tool Builders [message #38376 is a reply to message #37989] |
Sun, 25 May 2003 10:16   |
Eclipse User |
|
|
|
Originally posted by: jared-eclipse.mn.rr.com
It sounds like you have external tool builders on projects B, C, and D that
are set to run when a change is detected for files affected by your
build.xml in project A.
If you're using current integration builds, you can fix by specifying
exactly which resources you want the builders B, C, and D to run for.
- Jared
Chad Meadows wrote:
> I seem to have a problem with Ant when used as an external tool builder.
> If I right click on build.xml from Project A, and attempt to manually run
> the Ant Task,
> eclipse will launch the Ant Tool Builders I have configured for say
> Projects B,C, and D
> These projects have no interdependancies, but it will always attempt to
> launch the Ant tasks regardless for B,C and D.
> I sometimes get an error such as 'Ant build xxx is already in progress'
> as well.
> If I click on Project A, and select Build from the menu, this problem does
> not occur.
> Is there something I can do to prevent all these other projects from
> attempting to build themselves when they are already up to date.
>
> thanks,
> Chad
|
|
|
|
|
|
Re: Ant and External Tool Builders [message #46891 is a reply to message #38541] |
Mon, 02 June 2003 16:04  |
Eclipse User |
|
|
|
Originally posted by: jared-eclipse.mn.rr.com
Chad Meadows wrote:
> Well, the projects have no relationship to each other. The only options I
> am aware of are setting the Ant build to build for Full, Incremental or
> Auto
> builds. Is there something else which effects the behaviour?
Like I said, in recent integration builds you can specify which resources
you want the builder to run for. So you can say "Only run the builder when
I change a file in this project, this folder, etc.". In the 2.1 build, if
you specify "auto builds", the builder will run whenever a file is changed
anywhere in your workspace.
- Jared
|
|
|
Powered by
FUDForum. Page generated in 1.07765 seconds