In the build file I have, I want to reference to a set of property
definitions to be used by different targets. Something similar to
        <property_collection id="common.properties">
                <property name="myProperty" value="123"/>
                <property name="yourProperty" value="456"/>
        </property_collection>
        <target name="test">
                <antcall target="first">
                        <property refid="common.properties"/>
                </antcall>
                <antcall target="second">
                        <property refid="common.properties"/>
                </antcall>
        </target>

Is there a way to achieve this ? I saw that there is a refid attribute in
<property>, but apparently that's only used for path like structures.

Any help is welcome.

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

Reply via email to