Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Ant and External Tool Builders
Ant and External Tool Builders [message #37989] Sat, 24 May 2003 13:29 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #38541 is a reply to message #38376] Sun, 25 May 2003 15:03 Go to previous messageGo to next message
Eclipse UserFriend
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?
Chad


"Jared Burns" <jared-eclipse@mn.rr.com> wrote in message
news:baqitg$jmp$2@rogue.oti.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
Re: Ant and External Tool Builders [message #40921 is a reply to message #37989] Tue, 27 May 2003 12:14 Go to previous messageGo to next message
Eclipse UserFriend
> I sometimes get an error such as 'Ant build xxx is already in progress'
as
> well.

This sounds like you have you external tool builders set to run in the
background. You should change them to run in the foreground (i.e. de-select
"Run tool in background"). Multiple Ant builds cannot be run simaltaneously
in Eclipse.

Darin
Re: Ant and External Tool Builders [message #46834 is a reply to message #38541] Mon, 02 June 2003 14:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jnorton.yellowbrix.com

For what it is worth, I am having exactly the same problem.

-James

"Chad Meadows" <cmeadows@us.ibm.com> wrote in message
news:bar3vm$sfm$1@rogue.oti.com...
> 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?
> Chad
>
>
> "Jared Burns" <jared-eclipse@mn.rr.com> wrote in message
> news:baqitg$jmp$2@rogue.oti.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
>
>
>
Re: Ant and External Tool Builders [message #46891 is a reply to message #38541] Mon, 02 June 2003 16:04 Go to previous message
Eclipse UserFriend
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
Previous Topic:Must compile all packages linked to by project?
Next Topic:HELP: Eclipse with JSR14
Goto Forum:
  


Current Time: Thu Jul 17 20:15:15 EDT 2025

Powered by FUDForum. Page generated in 1.07765 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top