ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinodh Kumar <vinoh...@gmail.com>
Subject Property not loaded
Date Thu, 15 Dec 2011 18:22:30 GMT
Hi,

Can someone let me know why the /${${env}.test} value not printed as
testest1/

*cmd*:ant -f build.xml -Denv=IT1

*build.xml*
<project name="Application Deployment" default="task" basedir=".">
	<property file="build.properties"/>
	<target name="task">
		<echo>${env}</echo>
		<echo>${${env}.test}</echo>
	</target>
</project>

*build.properties*
IT1.test=testest1


*OUTPUT:*
task:
     [echo] IT1
     [echo] ${${env}.test}

BUILD SUCCESSFUL
Total time: 0 seconds

--
View this message in context: http://ant.1045680.n5.nabble.com/Property-not-loaded-tp5078347p5078347.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