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).

Peter

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

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to