ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Lyon" <m...@stargus.com>
Subject RE: New Line in manifest
Date Fri, 14 Feb 2003 15:15:41 GMT
Excellent suggestions. Thanks for the brainstorm! : )

	-----Original Message----- 
	From: Kyle Adams [mailto:kadams@gfs.com] 
	Sent: Fri 2/14/2003 9:57 AM 
	To: user@ant.apache.org 
	Cc: 
	Subject: Re: New Line in manifest
	
	

	You might even try prompting the lazy developer via the <input> task to
	enter a version number - just replace the <fail> task with the <input>
	task.
	
	Kyle
	
	>>> mhusby@genome.wi.mit.edu 02/14/03 09:35AM >>>
	The other alternative is to make the build fail if the properties
	aren't
	set. Something like:
	
	
	<target name="checkproperties" unless="version.major">
	 <fail message="You need to set the version properties!"/>
	</target>
	
	<target name="buildjar" depends="checkproperties">
	....
	
	</target>
	
	
	---------------------------------------------------------------------
	To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
	For additional commands, e-mail: user-help@ant.apache.org
	
	

Mime
View raw message