ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony LaPaso" <>
Subject ?? A Clean-Up Task that Always Runs ??
Date Thu, 20 Jun 2002 03:28:00 GMT
Hello all,

I'd like to have a task that always executes as the *last* task
in my project, regardless of the target task that was specified
on the command line.

So, my first stab is something like this, which will not work:

<task name="myTask">
   <antcall target="cleanupTask"/>

The problem is that this will execute "cleanupTask" at the end of
*every* task. I want "cleanupTask" to execute just once -- as the
very last task, regardless of what other task(s) may have
executed earlier.

Is there an elegant (or even ugly) way to specify this?

Thanks very much.


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

View raw message