ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ismail <ijalias-tr...@yahoo.com>
Subject Re: Build Failed on Vista: File Not Found Error
Date Tue, 15 Sep 2009 05:22:40 GMT
--- On Tue, 9/15/09, Stefan Bodewig <bodewig@apache.org> wrote:

From: Stefan Bodewig <bodewig@apache.org>
Subject: Re: Build Failed on Vista: File Not Found Error
To: user@ant.apache.org
Date: Tuesday, September 15, 2009, 6:18 AM

On 2009-09-14, Ismail Jibrin <imjibrin@yahoo.com> wrote:

> I am trying to build Tolven projects on Eclipse but got the following
> error.

> BUILD FAILEDc:\tolvendev\tolven\build.xml:173: Basedir c:\tolvendev\tolven\${tolven.home}\tolvenClient
does not exist

> I know the file c:\tolvendev\tolven\${tolven.home}\tolvenClient exists
> and there is no free space in the name.
>IMJ

>You mean the directory is literally named
>c:\tolvendev\tolven\${tolven.home}\tolvenClient including the $ and the
>{ and } characters?  Or do you mean the directory exists if you mentally
>replace ${tolven.home} with some other value?

>For some reason Ant wants to use a basedir containing a property with a
>value it doesn't know and thus cannot expand.  Please note that
><project>'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.

>Stefan

Stefan,Thanks for the response.Please find below a longer version of my dialogue with Ant:
C:\>ant -buildfile=c:/tolvendev/tolven/build.xml createPropertiesFiles Buildfile: c:\tolvendev\tolven\build.xml createPropertiesFiles: BUILD
SUCCESSFUL Total time: 0 seconds
C:\>ant -buildfile=c:/tolvendev/tolven/build.xml clean-build-run-installer Buildfile: c:\tolvendev\tolven\build.xml clean: [echo]
tolven: c:\tolvendev\tolven\build.xml selectComponents: clean-all: [echo] tolven: c:\tolvendev\tolven\build.xml clean: [echo]
tolvenInstaller: c:\tolvendev\tolven\installer\build.xml tolvenWS-clean: BUILD FAILED c:\tolvendev\tolven\build.xml:173:
Basedir c:\tolvendev\tolven\${tolven.home}\tolvenClient does not exist Total time: 0 seconds C:\>---------------------The
tolven.home is C:\TolvenDev\TolvenTolvenClient is at C:\TolvenDev\Tolven\TolvenClient. Are
you suggesting I should replace the basedir attribute in the property file to literal path?
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.Thanks,IMJ
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message