ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Lecho <Stefan.Le...@iconmedialab.be>
Subject Property and refid
Date Thu, 10 May 2001 08:50:36 GMT
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


Mime
View raw message