ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S I" <xia...@hotmail.com>
Subject Re: Property value coming from unknown source
Date Tue, 05 Jul 2005 19:55:10 GMT
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" <shef31@yahoo.com>
Reply-To: "Chris" <shef31@yahoo.com>
To: user@ant.apache.org
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 jak-ant-user@m.gmane.org 
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 user@ant.apache.org; 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 <user@ant.apache.org>; 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 <user@ant.apache.org>; 
Tue, 05 Jul 2005 21:39:53 +0200
X-Message-Info: JGTYoYF78jFMxhdCNOVYp/7snyTXplYm26YmdstkDd8=
Mailing-List: contact user-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
List-Help: <mailto:user-help@ant.apache.org>
List-Post: <mailto:user@ant.apache.org>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@ant.apache.org
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:  <3CD9A35A043C094EA8773DBB698E801B01865D62@z011134.bk.fin.local>
X-Complaints-To: usenet@sea.gmane.org
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: user-return-50969-xiamak=hotmail.com@ant.apache.org
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.


<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



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message