Perhaps you have defined .build.properties or build.properties somewhere?
Look for one or both of these files. After the command line these 2 files
also supercede your internal peroperties.
Steven
----Original Message Follows----
From: "Chris" <[EMAIL PROTECTED]>
Reply-To: "Chris" <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: Property value coming from unknown source
Date: Tue, 5 Jul 2005 14:21:18 -0500
Received: from mail.apache.org ([209.237.227.199]) by mc5-f32.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Tue, 5 Jul 2005 12:49:39 -0700
Received: (qmail 23025 invoked by uid 500); 5 Jul 2005 19:48:17 -0000
Received: (qmail 22974 invoked by uid 99); 5 Jul 2005 19:48:16 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by
apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2005 12:48:16 -0700
Received: pass (asf.osuosl.org: domain of [EMAIL PROTECTED]
designates 80.91.229.2 as permitted sender)
Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by
apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2005 12:48:14 -0700
Received: from list by ciao.gmane.org with local (Exim 4.43)id
1DptGr-0004AL-HUfor [email protected]; Tue, 05 Jul 2005 21:39:53 +0200
Received: from 216-43-220-97.dsl.mcleodusa.net ([216.43.220.97]) by
main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00
for <[email protected]>; Tue, 05 Jul 2005 21:39:53 +0200
Received: from shef31 by 216-43-220-97.dsl.mcleodusa.net with local (Gmexim
0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>;
Tue, 05 Jul 2005 21:39:53 +0200
X-Message-Info: JGTYoYF78jFMxhdCNOVYp/7snyTXplYm26YmdstkDd8=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[email protected]>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list [email protected]
X-ASF-Spam-Status: No, hits=3.9
required=10.0tests=FORGED_YAHOO_RCVD,FROM_ENDS_IN_NUMS,PRIORITY_NO_NAME
X-Spam-Check-By: apache.org
X-Injected-Via-Gmane: http://gmane.org/
Lines: 63
References: <[EMAIL PROTECTED]>
X-Complaints-To: [EMAIL PROTECTED]
X-Gmane-NNTP-Posting-Host: 216-43-220-97.dsl.mcleodusa.net
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 05 Jul 2005 19:49:39.0046 (UTC)
FILETIME=[ADC85060:01C5819A]
Nope, that doesn't appear to be it. I went through all the configurations
and there isn't any reference to 2.4.1.
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
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:[EMAIL PROTECTED] Im Auftrag von Chris
>Gesendet: Dienstag, 5. Juli 2005 03:36
>An: [email protected]
>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: [EMAIL PROTECTED] For
>additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]