See https://bugs.eclipse.org/bugs/show_bug.cgi?id=45717
HTH
Darins
"Chris" <shef31@yahoo.com>
Sent by: news <news@sea.gmane.org>
07/05/2005 12:21 PM
Please respond to
"Ant Users List"
To
user@ant.apache.org
cc
Subject
Re: Property value coming from unknown source
Nope, that doesn't appear to be it. I went through all the configurations
and there isn't any reference to 2.4.1.
<Jan.Materne@rzf.fin-nrw.de> wrote in message
news:3CD9A35A043C094EA8773DBB698E801B01865D62@z011134.bk.fin.local...
The highest order for property evaluation in Ant is giving the value
via command line
-Dname=value
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)
Jan
>-----Ursprüngliche Nachricht-----
>Von: news [mailto:news@sea.gmane.org] Im Auftrag von Chris
>Gesendet: Dienstag, 5. Juli 2005 03:36
>An: user@ant.apache.org
>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:
>
>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@ant.apache.org For
>additional commands, e-mail: user-help@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org