ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: indirect property evaluation
Date Wed, 19 Oct 2005 19:59:47 GMT
--- "Lasher, James L" <jim.lasher@hp.com> wrote:
[SNIP]
> 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?

This should "just work," in a properties file,
according the the <property> manual page.  If not you
should file a bug report.

Thanks,
Matt

> 
> Thanks in advance,
> -jim-



		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

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


Mime
View raw message