From user-return-68903-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Sep 15 14:48:56 2009 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 9292 invoked from network); 15 Sep 2009 14:48:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Sep 2009 14:48:56 -0000 Received: (qmail 42993 invoked by uid 500); 15 Sep 2009 14:48:55 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 42927 invoked by uid 500); 15 Sep 2009 14:48:55 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 42917 invoked by uid 99); 15 Sep 2009 14:48:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 14:48:55 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [88.84.128.168] (HELO samaflost.de) (88.84.128.168) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 14:48:45 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id 2755728985E1 for ; Tue, 15 Sep 2009 16:47:55 +0200 (CEST) Received: from samaflost.de ([127.0.0.1]) by localhost (v35516.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aVXrk8KTg10r for ; Tue, 15 Sep 2009 16:47:47 +0200 (CEST) Received: by samaflost.de (Postfix, from userid 1000) id 6C26328985E3; Tue, 15 Sep 2009 16:47:47 +0200 (CEST) From: Stefan Bodewig To: user@ant.apache.org Subject: Re: Build Failed on Vista: File Not Found Error References: <223957.8265.qm@web52505.mail.re2.yahoo.com> X-Draft-From: ("nnfolder:mail.jakarta-ant-user" 66405) Date: Tue, 15 Sep 2009 16:47:46 +0200 In-Reply-To: <223957.8265.qm@web52505.mail.re2.yahoo.com> (Ismail's message of "Mon, 14 Sep 2009 22:22:40 -0700 (PDT)") Message-ID: <87iqfki7sd.fsf@v35516.1blu.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Ismail, please keep in mind that I have no idea what the tolven project is nor what its build file contains. On 2009-09-15, Ismail wrote: > --- On Tue, 9/15/09, Stefan Bodewig wrote: >> For some reason Ant wants to use a basedir containing a property with a >> value it doesn't know and thus cannot expand.=C2=A0 Please note that >> 's basedir attribute is expanded before any task is run, so you >> cannot refer to any properties except those defined on the command line >> via -D or -propertfile (or Eclipse's equivalent whatever that is) or >> system properties. > Please find below a longer version of my dialogue with Ant: > C:\>ant -buildfile=3Dc:/tolvendev/tolven/build.xml createPropertiesFiles > =C2=A0Buildfile:=C2=A0c:\tolvendev\tolven\build.xml > =C2=A0createPropertiesFiles: > =C2=A0BUILD SUCCESSFUL Total time: 0 seconds so it is not the basedir of c:/tolvendev/tolven/build.xml that is causing problems. > C:\>ant -buildfile=3Dc:/tolvendev/tolven/build.xml clean-build-run-instal= ler > =C2=A0Buildfile:=C2=A0c:\tolvendev\tolven\build.xml=C2=A0clean: > =C2=A0 [echo] tolven:=C2=A0c:\tolvendev\tolven\build.xml > =C2=A0selectComponents: > =C2=A0clean-all: > =C2=A0 [echo] tolven:=C2=A0c:\tolvendev\tolven\build.xml > =C2=A0clean: >=C2=A0 [echo] tolvenInstaller: c:\tolvendev\tolven\installer\build.xml >=C2=A0tolvenWS-clean: >=C2=A0BUILD FAILED=C2=A0c:\tolvendev\tolven\build.xml:173: Basedir c:\tolv= endev\tolven\${tolven.home}\tolvenClient does not exist > Total time: 0 seconds Here I can only guess. The [echo]s seem to indicate different build files and my best guess is line 173 of c:\tolvendev\tolven\build.xml contains a or task that is invoking another build file that references ${tolven.home}. Furthermore I can only guess that tolven's build system is expecting you to specify the tolven.home property somewhere somehow. My next guess is this is documented somewhere by the person who's written the build file, please go and read the documentation of said system. >=C2=A0The tolven.home is C:\TolvenDev\TolvenTolvenClient is at > C:\TolvenDev\Tolven\TolvenClient. I'd rather assume the correct value for tolven.home to be C:\TolvenDev, but that's guesswork. >=C2=A0Are you suggesting I should replace the basedir attribute in the > property file to literal path? Which property file? > I could try that and see but would prefer a better way as I would be > changing similar path for many projects in the property file against > advice by Tolven not to edit that file. So Tolven will know how and where to correctly set the property - please take a closer look at Tolven's documentation. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org