expanding properties

2008-07-29 Thread EJ Ciramella
Hello all - I've relied on a copy/expand step for deployments/builds for years. Recently, a twist has bubbled up. If you have: val1=something in foo.properties and: val2=somethingelse val3=${val2}:${val1} in bar.properties and then load them like this:

Re: Expanding properties

2006-01-27 Thread Ninju Bohra
Or you can use the replacefilterfile='file' attribute on the task and specify all the replacements in the 'file'. Later, Ninju - Original Message From: Ken Gentle <[EMAIL PROTECTED]> To: Ant Users List Sent: Friday, January 27, 2006 8:18:51

Re: Expanding properties

2006-01-27 Thread Ken Gentle
Untried: HTH... Ken At 06:29 2006-01-27, you wrote: Hi Say I have a file, called contents.txt, which contains the text: contents.txt: The value is ${something} And I have a property file values.properties which reads values.propeties: something=somev

Expanding properties

2006-01-27 Thread Tim Gordon
Hi Say I have a file, called contents.txt, which contains the text: contents.txt: The value is ${something} And I have a property file values.properties which reads values.propeties: something=somevalue How to I turn contents.txt into contents.txt: The value is somevalue I can do this with

[antcontrib] foreach expanding properties

2005-05-18 Thread Rebhan, Gilbert
Hi, i'm just testing what kind of syntax in my propertyfile is suitable when using the task in antcontrib. so far i have = propertysyntax : modul.1=FirstModul modul.1.version=1_2_3 i also tried ${modul.1}.version modul.2=SecondModul modul.2.version=0_2_3 modul.3=ThirdModul modul.3.version=1

expanding properties in custom task

2003-08-29 Thread Jon Madison
sorry if i missed this--i guess a pointer would be helpful: from the manual on creating a task: --- If the task should support character data (text nested between the start end end tags), write a public void addText(String) method. Note that Ant does not expand properties on the text it passes