ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lasher, James L" <jim.las...@hp.com>
Subject indirect property evaluation
Date Wed, 19 Oct 2005 19:22:59 GMT
Hello all,

I have the following property file that I want to load in my project:

db.system=solid

# ------------------- for Solid ----------------
testfw.solid.system=Solid

testfw.dbvar.system=testfw.${db.system}.system
testfw.db.system=${testfw.dbvar.system}


In my build.xml file, after loading the properties file, I would like
the result of:

	<echo message="testfw.db.system = ${testfw.db.system}"/>

To be:
	testfw.db.system = Solid

Instead of:
	Testfw.db.system = testfw.solid.system

Is it possible to do this "double" evaluation?

Thanks in advance,
-jim-

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


Mime
View raw message