ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EetieD <...@leanapps.com>
Subject isset within macrodef...
Date Mon, 05 Oct 2009 07:28:46 GMT

Hi,

I am trying to use "<isset" within macrodef to test for an attribute that
has been set. When I use the code below, it never comes into the part after
<isset property="valueFile", even if valueFile is set. What should I use
instead of "<isset property=.."?

Thanks for helping.


<macrodef name="checkcheck">
	<attribute name="valueFile" default="" />
	<attribute name="valueText" default="" />
	<sequential>
		<if><isset property="valueFile" /><then>
			<!-- it never comes here, even if valueFile is set -->
-- 
View this message in context: http://www.nabble.com/isset-within-macrodef...-tp25746232p25746232.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