Re: properties that start with ${..

2008-07-22 Thread Stefano Nichele
By now I did a bsh method void copyProperty(String src, String dest) { String srcValue = project.getProperty(src); project.setProperty(dest, srcValue); } and I call it with copyProperty("${car}", "car") so that I'm now able at least to access to the value. ste Matt Benson wrote: ---

Re: properties that start with ${..

2008-07-22 Thread Matt Benson
--- Matt Benson <[EMAIL PROTECTED]> wrote: > You're in luck. Maybe. I tested the following: > > > ${${foo}} > > and sure enough, it doesn't work. This is not so > much > because it's no doable as it is because Ant's > property > parsing mechanisms don't know any better than to > match >

Re: properties that start with ${..

2008-07-22 Thread Matt Benson
You're in luck. Maybe. I tested the following: ${${foo}} and sure enough, it doesn't work. This is not so much because it's no doable as it is because Ant's property parsing mechanisms don't know any better than to match the first encountered closing brace. Running from Ant's svn trunk w

properties that start with ${..

2008-07-22 Thread Stefano Nichele
Hi all, I have a property with name ${car}. Note that the name is not just "car" but ${car}. Using echoproperties I see: [echoproperties] ant.version=Apache Ant version 1.6.5 compiled on June 2 2005 [echoproperties] ${car}=fiat How to handle that property ? How to do something like: sin