| directed exit of ant build? | directed exit of ant build? 2005-06-27 - By Jeffrey E Care
The <fail> task accepts nested <condition> elements.
-- Jeffrey E. Care (carej@(protected)) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis
Mark Lundquist <mlundquist2@(protected)> wrote on 06/27/2005 05:02:33 PM:
> Hi all, > > Is it possible for a target to script the termination of the build? > > I want something like this: > > <available file="config" property="config.dir.exists"/> > <target "config" unless="config.dir.exists"> > <exec executable="svn"> > <arg line="export config.tmpl.config"/> > </exec> > <echo message="Edit the files in config/, then run Ant again."/> > <!-- ********** Here I would like to abort the ant run! > ********* --> > </target> > > any way to do this? (sorry if it's a FAQ :-/) > thx, > ?ml?
|
|
 |