one more try ...

Rob van Oostrum wrote:

> I'm able to set a parameter like this:
>
> (this property defined in master build.xml file)
>
> <property name="secondpart" value="some_component" />
>
> (this property defined in component.xml, which is called by build.xml for
> each component. The variable property names allow me to let developers
> override specific properties for specific components without them needing to
> go into the build scripts themselves every time they get a newer version of
> these scripts from version control)
>
> <property name="firstpart.${secondpart}" value="value" />
>
> It works so far. I run into problems as soon as I need to reference the
> property:
>
> ${firstpart.some_component} works fine, but of course I don't know the value
> of ${second_part}, so I try ${firstpart.${second_part}}, which doesn't work.
> Any ideas what I need to do differently syntax-wise, or is this just
> impossible?
>
> thanks
> Rob

Reply via email to