ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
Subject Re: directed exit of ant build?
Date Mon, 27 Jun 2005 21:05:18 GMT
How about the <fail> task

--- Mark Lundquist <mlundquist2@comcast.net> wrote:

> 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—
> 





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message