Mattos, John
2004-06-09 14:25:37 UTC
Hi All
I'd like to use properties in a target that vary depending on a parameter
sent in... for example instead of
<target name="dev-target">
<echo massage = "${location.dev}>
</target>
<target name="qa-target">
<echo massage = "${location.qa}>
</target>
I have a variable called ${envir} and I'd like to do something like
<target name="general-target">
<echo massage = "${location.${envir}}>
</target>
Can I do anything like this? It doesn't seem to like the nested ${} 's
John
I'd like to use properties in a target that vary depending on a parameter
sent in... for example instead of
<target name="dev-target">
<echo massage = "${location.dev}>
</target>
<target name="qa-target">
<echo massage = "${location.qa}>
</target>
I have a variable called ${envir} and I'd like to do something like
<target name="general-target">
<echo massage = "${location.${envir}}>
</target>
Can I do anything like this? It doesn't seem to like the nested ${} 's
John