Title: RE: Nested properties/parameters

I think you should try like this:

      Resulting property: <property name="result" value="${site_name}.deployment.dir"/>

Natalia


      -----Original Message-----
      From:   Stefan Lecho [mailto:[EMAIL PROTECTED]]
      Sent:   29 June 2001 13:20
      To:     '[EMAIL PROTECTED]'
      Subject:        Nested properties/parameters

      I would like to pass a site name as a command line parameter and then use it
      to construct another property name.
      The way to do this should be something similar to the following :
              Command-line parameter: 'site_name'
              Property name: 'site_name.deployment.dir'
              Resulting property: <property name="result"
      value="${${site_name}.deployment.dir}"/>

      The result of ${result} is '${site_name}.deployment.dir', which is not ok.

      How can I solve this issue ?

      Thanks.

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Stefan Lecho
        Internet Application Developer
        Wireless Technical Contact
        IconMedialab, Brussels +32.2.506.23.31
      http://www.iconmedialab.com

Reply via email to