ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sekar Varatharajan" <svar...@rnm.ca>
Subject Unset property Value!
Date Mon, 05 Nov 2001 22:30:49 GMT
Hello,

im using a main build file say "Build.xml" and setting an property
"siteBuild" based on available condition.

Build.xml

	<available file="${buildDest}/${projectName}/ant/orion/siteBuild.xml"
property="siteBuild.present">..

		<target name="siteBuild" if ="siteBuild.present">
		<ant antfile="siteBuild.xml" dir="${buildDest}/${projectName}" />
		</target>

		<target name="appBuild" unless ="siteBuild.present">
		<ant antfile="Build.xml" dir="${buildDest}/${projectName}" />
		</target>


siteBuild.xml

In siteBuild.xml im trying to execute the parent Build.xml but this time i
want the "siteBuild.present" property value to be
unset so it goes to executes target "appBuild" .. But it seems once i set a
property value i can never reset it???
ANY HELP PLEASE!!

Thanks in advance

Sekar Varatharajan
Application Developer


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


Mime
View raw message