ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nagarajan Murugesan <NMURUGE...@Selectica.com>
Subject Scope of the ANT property!!!
Date Fri, 12 Dec 2003 13:59:04 GMT
Hi All,

What is the scope of the property value in a build file.
I want to change the property value in between the build process.

For Example:

project name="Installation" default="run">
	
	<target name="run">
	
  	<property name="count" value="I"/>
  	<echo>${count}</echo>
  	
  	<property name="count" value="II"/>
  	<echo>${count}</echo>
  	

	</target>
</project>

But in both the echo command it gives the same value. Is there a way to
change property value?

Thanks,
Nagarajan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message