Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Property value coming from unknown source

Property value coming from unknown source

2005-07-04       - By chris
Reply:     1     2     3     4     5  

This is probably something stupid, but... I just upgraded to Eclipse 3.1
with Ant 1.65. I moved some projects around, and now one of my Ant scripts
is mysteriously resetting a property value at run time.

<property name="version" value="3.5.1" />
...
<target name="versiontest">
<echo>${version}</echo>
</target>

If I run the "versiontest" target, I get:

versiontest:
       [echo] 2.4.1

2.4.1 is an older version of the app. But this version number does not
appear anywhere in the build.xml, any of the project's source files or
project files. It doesn't appear to be in the environment anywhere. I can't
figure out where Ant is getting it from. What am I missing?




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.