ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubun Tang <>
Subject RE: strange behavior in script task
Date Fri, 25 Jan 2002 22:31:04 GMT
Hi Peter,

Got it. Thanks for the help!


-----Original Message-----
From: Peter Mularien []
Sent: Friday, January 25, 2002 4:51 PM
To: Ant Users List
Subject: Re: strange behavior in script task

Rubun -

I'm looking at your script and seeing that it's adding tasks to task
'main' and not the task you're executing directly. In fact, you probably
should have subbuild.addTask instead of main.addTask so that the tasks
are executed after the subbuild task. You'll have to try it -- I don't
remember off-hand whether this works like you want it to or not (I
believe it does).


Rubun Tang wrote:
> Hi,
> I've noticed something strange when using the script task. Here's what I
> experienced:
> When I go "ant bar", the script won't get executed. However, with "ant
> the script will work as expected. Is this a bug?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message