Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » ant script not executed
ant script not executed [message #104881] Fri, 01 August 2003 15:05 Go to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.com

Hi!

I've a very weird problem with eclipse' ant build file support, I select the
script in the ant view and press the "play" button and eclipse starts its
internal compiler, I cancel and press the button again and build.xml is
executed. This happens all the time, the first time the internal compiler
is executed the second time ant.

I currently run 3.0-2 but also had the problem with 2.1. But: it once worked
with 2.1 and I don't remember to have changed anything at all.

Can somebody explain what I may do wrong?

Thanks a lot!
Timo
Re: ant script not executed [message #105110 is a reply to message #104881] Fri, 01 August 2003 16:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jared-eclipse.mn.rr.com

Is your build.xml file writing files to the workspace? This might cause a
build to occur.

The Ant launch delegate doesn't directly invoke builds.

- Jared

Timo Nentwig wrote:

> Hi!
>
> I've a very weird problem with eclipse' ant build file support, I select
> the script in the ant view and press the "play" button and eclipse starts
> its internal compiler, I cancel and press the button again and build.xml
> is executed. This happens all the time, the first time the internal
> compiler is executed the second time ant.
>
> I currently run 3.0-2 but also had the problem with 2.1. But: it once
> worked with 2.1 and I don't remember to have changed anything at all.
>
> Can somebody explain what I may do wrong?
>
> Thanks a lot!
> Timo
Re: ant script not executed [message #105154 is a reply to message #105110] Fri, 01 August 2003 16:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jared-eclipse.mn.rr.com

Just found out that I lied. Check Window->Preferences->Debug and see if you
have the "Build (if required) before launching option" set. This option can
cause a build to occur when you launch a config of any kind.

- Jared

Jared Burns wrote:

> Is your build.xml file writing files to the workspace? This might cause a
> build to occur.
>
> The Ant launch delegate doesn't directly invoke builds.
>
> - Jared
>
> Timo Nentwig wrote:
>
>> Hi!
>>
>> I've a very weird problem with eclipse' ant build file support, I select
>> the script in the ant view and press the "play" button and eclipse starts
>> its internal compiler, I cancel and press the button again and build.xml
>> is executed. This happens all the time, the first time the internal
>> compiler is executed the second time ant.
>>
>> I currently run 3.0-2 but also had the problem with 2.1. But: it once
>> worked with 2.1 and I don't remember to have changed anything at all.
>>
>> Can somebody explain what I may do wrong?
>>
>> Thanks a lot!
>> Timo
Re: ant script not executed [message #107931 is a reply to message #105154] Thu, 07 August 2003 09:47 Go to previous message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.com

Jared Burns wrote:

> Just found out that I lied. Check Window->Preferences->Debug and see if
> you have the "Build (if required) before launching option" set. This
> option can cause a build to occur when you launch a config of any kind.

Hmmm...well, yes, that works but it does no more build if required before
launching non-ant projects when running them :-\
Previous Topic:multipage editor update
Next Topic:How to display a MessageDialog on startup ?
Goto Forum:
  


Current Time: Fri Jul 18 06:33:30 EDT 2025

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

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

Back to the top