At 02:40 26/4/01 +0200, Rob van Oostrum wrote:
>tried that, doesn't work.
>
>the ${project.name} prop is introduced on the same level:
>
> <target name="project">
> <ant antfile="component_build.xml" >
> <property name="project.name" value="someapp" />
> <property name="httpd.${project.name}" value="httpd-bla" />
> </ant>
> </target>
>
>the reference to ${project.name} on line 4 causes an error. I can't use that
>reference until I'm in the component_build script.
And whats the problem with doing that?
BTW your example doesn't seem to make sense given that I suggested loading
properties from a proeprty file or am I missing something?
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*