ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Turner <...@kbturner.co.uk>
Subject Re: ant-contrib: ispropertytrue
Date Thu, 04 Jun 2009 06:36:15 GMT


David Weintraub wrote:
> 
> I don't believe there's a IsPropertyTrue condition. 

Well David, as I said, my code works fine in Windows, and only falls over in
Linux.  You might like to look at this: 
http://ant-contrib.sourceforge.net/tasks/tasks/more_conditions.html
ispropertytrue 

Your proposed solution will work fine in the example quoted, but not in this
more complex example:

	<if>
		<ispropertytrue property="@{ModuleName}OutOfDateResult" />
		<then>
			<echo message="Not building @{ModuleName}" />
		</then>
	</if>


-- 
View this message in context: http://www.nabble.com/ant-contrib%3A-ispropertytrue-tp23848954p23864527.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message