ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Property value coming from unknown source
Date Tue, 05 Jul 2005 06:16:09 GMT
The highest order for property evaluation in Ant is giving the value
via command line

In Eclipse you start buildfiles like any other java program - as a configuration.
In that configuration you can specify several things - classpath, ... and additional
"command line" properties - so maybe you have specified something there.

"Run | External Tools | External Tools... | <buildfile>"
- on the "Properties" register you can specify the name-value pairs

(Eclipse 3.0 + 3.1)


>-----Urspr√ľngliche Nachricht-----
>Von: news [] Im Auftrag von Chris
>Gesendet: Dienstag, 5. Juli 2005 03:36
>Betreff: Property value coming from unknown source
>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:
>        [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: For 
>additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message