indirect property evaluation

2005-10-19 Thread Lasher, James L
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

Re: indirect property evaluation

2005-10-19 Thread Alexey N. Solofnenko
A simple scriptdef can do that. - Alexey. Lasher, James L wrote: 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

RE: indirect property evaluation

2005-10-19 Thread Shatzer, Larry
Or propertycopy/ from ant-contrib. http://ant-contrib.sourceforge.net/tasks/tasks/propertycopy.html -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 12:31 PM To: Ant Users List Subject: Re: indirect property evaluation

Re: indirect property evaluation

2005-10-19 Thread Matt Benson
--- Lasher, James L [EMAIL PROTECTED] 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

Re: indirect property evaluation

2005-10-19 Thread Juergen Hermann
On Wed, 19 Oct 2005 12:31:18 -0700, Alexey N. Solofnenko wrote: A simple scriptdef can do that. Builtins can do it, too: [echo] testfw.db.system = Solid build.properties: db.system=solid # --- for Solid testfw.solid.system=Solid

Re: indirect property evaluation

2005-10-19 Thread Juergen Hermann
On Wed, 19 Oct 2005 12:59:47 -0700 (PDT), Matt Benson wrote: This should just work, in a properties file, according the the property manual page. If not you should file a bug report. Nothing in the docs indicates that evaluation happens as long as no futher replacement is possible, and that