ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Load property value from build.xml to build.properties
Date Fri, 04 Nov 2011 10:14:42 GMT
On 2011-11-03, Vinodh Kumar wrote:

> I trying to load the property release.dir set in build.xml into
> build.properties during runtime. But the value is not loaded into
> build.properties file. Any hint or can anyone let me know how to get this
> done?

> *build.xml*
> /<target name="record">
> 	<tstamp>
> 		<format property="build.start" pattern="ddMMyyyy_HHmm"/>
> 	</tstamp>
> 	<property name="release.dir" value="${build.start}_TIBCO"/>
> </target>/

> *build.properties*
> /src.home=${release.dir}/

I don't see where you load build.properties.  Make sure it happens after
the "record" target has executed.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message