ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Bacon <jba...@magmic.com>
Subject Re: recursive expansion of property names
Date Fri, 25 Jun 2004 14:18:30 GMT
>>  >In example two, it should resolve as follows (if everything worked 
>> correctly):
>>  >
>>  >${${_ant}${_dot}${_file}}
>>  >${ant${_dot}${_file}}
>>  >${ant.${_file}}
>>  >${ant.file}
>>  >
>>  >ant print:
>>  >'ant.file(1)': ${ant.file}
>>  >
>>  >because ${ant.file} is not defined.
>>  >
>>  >if you added the definition:
>>  >   <property name="ant.file" value="ant.file" />
>>  >
>>  >then it would resolve ${ant.file} and print:
>>  >'ant.file(1)': ant.file
>>
>> This is still wrong isn't it? I wanted it to resolve to the value
>> of the 'ant.file' property (which the Ant runtime already auto-installs).
>> But this is a side-issue...you'll have to ping the original author
>> of the recursive algo for whether my sample makes sense...

my bad, you're right, it will resolve to the built-in ant.file property 
-- forgot about that one =)

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


Mime
View raw message