ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject resolve dynamic property ?
Date Wed, 06 Jun 2007 14:07:10 GMT


i have a static property file with key=value :


my first script creates the dynamic property
${buildtarget} with <script> task and project.setPropery() method

my second script now wants to use the ${web.buildcmd}
property when being called from first script

when echoing ${buildtarget} in second script it's resolved correctly
but in context of ${web.buildcmd} it's not resolved.

[echo] ${buildtarget} == Fullauto 

[echo] ${web.buildcmd} == make-${buildtarget}-SB

so it's =

first script loads propertyfile, ${buildtarget} isn't created yet
create property ${buildtarget}
call second script

i already tried to load the propertyfile a second time in second script
means after ${buildtarget} has been created, but that doesn't help

Any ideas ?

Regards, Gilbert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message