ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lyndon Samson <sam...@ozemail.com.au>
Subject Re: ?? A Clean-Up Task that Always Runs ??
Date Fri, 21 Jun 2002 17:09:14 GMT


It's pretty tricky, the easiest way is to change the [.bat|.sh] that
runs ANT to append cleanUp after the list of supplied targets.

Trying to do the same in an ANT script is problematic as Main calls
Project.executeTargets(Vector) but the Vector of targets to call is
not available outside that method.

The Project class does have a fireBuildFinished method which informs
each listener that the build is finished, so maybe you could write a
listener to run an arbitary build file when it gets that message?


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message