ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Castrianni <>
Subject RE: run script after ant finished
Date Wed, 24 Jun 2009 16:17:34 GMT
Correct, I need something after the ANT VM has exited.

Dominique, I do ask the user if he/she wants to perform the update before either continuing
or ending the build and transparently updating.

By the way, here is another example to have a task for ending an ANT build early WITHOUT using
the <fail> task.  If the user says yes to updating, that is NOT a failure so seeing
the BUILD FAILED message caused by the <fail> task is misleading.  Using my new EndTask
which ends the build successfully makes more sense.  I would suggest ANT change the <fail>
task to a <stop> task with an attribute called fail="yes/no" to allow the developer
to choose either a successful stop of the build or a failed stop of the build.

Shawn Castrianni

-----Original Message-----
From: Dominique Devienne [] 
Sent: Wednesday, June 24, 2009 10:48 AM
To: Ant Users List
Subject: Re: run script after ant finished

On Wed, Jun 24, 2009 at 10:39 AM, Shawn
Castrianni<> wrote:
> This online presentation is hanging after slide 2.  Can I get this information some
other way or can I download the presentation locally?

Worked for me (in FireFox). But a Listener or a Logger are part of the
Ant VM, so it doesn't you here I think Shawn, since you want something
after the VM has finished, right?

A much easier solution is simply to fail the build when you detect an
update is necessary, asking the user to explicitly update, with
possibly adding a way to circumvent that temporarily. Forcing the
update "transparently" without the user's consent is not quite nice
actually, with or without seing the SVN  update messages. --DD

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

This e-mail, including any attached files, may contain confidential and privileged information
for the sole use of the intended recipient.  Any review, use, distribution, or disclosure
by others is strictly prohibited.  If you are not the intended recipient (or authorized to
receive information for the intended recipient), please contact the sender by reply e-mail
and delete all copies of this message.

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

View raw message