ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ylan Segal" <y...@digiworks.tv>
Subject RE: Unset property Value!
Date Mon, 05 Nov 2001 22:31:10 GMT
That is correct.. once a property is set you can't change it.

> -----Original Message-----
> From: Sekar Varatharajan [mailto:svarath@rnm.ca]
> Sent: Monday, November 05, 2001 4:31 PM
> To: ant-user@jakarta.apache.org
> Subject: Unset property Value!
>
>
> 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>
>
>


--
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