Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 94424 invoked from network); 5 Nov 2004 17:11:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Nov 2004 17:11:27 -0000 Received: (qmail 65680 invoked by uid 500); 5 Nov 2004 17:11:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 65644 invoked by uid 500); 5 Nov 2004 17:11:15 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 65629 invoked by uid 99); 5 Nov 2004 17:11:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [65.243.38.8] (HELO dal0701.realpulse.com) (65.243.38.8) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 05 Nov 2004 09:11:12 -0800 Received: by dal0701.realpulse.com with Internet Mail Service (5.5.2653.19) id ; Fri, 5 Nov 2004 11:11:10 -0600 Message-ID: <5BD5BB7987274A4F94EC7168A6E75DB313DC47@dal0701.realpulse.com> From: Casey Daniell To: 'Ant Users List' Subject: RE: passing Ant property values to new build Date: Fri, 5 Nov 2004 11:11:00 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jan,=20 =20 Yep, its set in the calling ant file,=20 [echo] ${tools.home}=3DC:\LATEST_CODE\tenant/../tools and not properly set in the ant script that is called. [echo] ${tools.home}=3D${tools.home} However, I found a solution, doing the following fixed=20 my problems.=20 for some reason if I pass in a value that is the same as the=20 property name I am trying to use it doesn't evaluate the var=20 properly. A bug perhaps? I am using ANT 1.6.2 Thanks for the help Casey -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] Sent: Friday, November 05, 2004 10:47 AM To: user@ant.apache.org Subject: AW: passing Ant property values to new build Is the property set? Do a=20 $${tools.home}=3D${tools.home} directly before the . Jan > -----Urspr=FCngliche Nachricht----- > Von: Casey Daniell [mailto:CDaniell@realm.com] > Gesendet am: Freitag, 5. November 2004 17:45 > An: 'user@ant.apache.org' > Betreff: passing Ant property values to new build >=20 > All, >=20 > I am a long time ant user but for some reason I am stumped on=20 > this, maybe=20 > its too early in the morning. >=20 > Here is the problem. I am have one ant script calling another=20 > via the ant=20 > task. I want the value of a property to be transmitted to the=20 > new build not > the string literal itself. > =20 > Ex. > basedir =3D=3D /foo (not in any syntax) >=20 > > >=20 > ...... >=20 > inheritAll=3D"false" > > > > >=20 >=20 > This code snippet sends ${tools.home} to the ant script that=20 > is called not > the=20 > wanted /foo/../tools >=20 > How do I do this? > =20 > Much thanks, > Casey >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org