[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buitld.xml.




maybe it is the way i call ant.
e.g.
java org.apache.tools.ant.Main

dopey:stupid>java org.apache.tools.ant.Main
Buildfile: build.xml
Project base dir set to: /home/stupid/tmp/ozone
Executing Target: init
Executing Target: prepare
Executing Target: org.odmg
Executing Target: org.ozoneDB.DxLib
Executing Target: org.ozoneDB.util
Executing Target: org.ozoneDB.tools
BUILD FATAL ERROR: Property 'ant.home' not found

so i call ant like this.
java org.apache.tools.ant.Main -Dant.home=.

maybe you don't have to do this because
antRun is already in your PATH

greets keesj.


On Tue, 23 May 2000, Lars Martin wrote:

> Hi Kees,
> 
> Tue, 23 May 2000 Kees Jongenburger wrote:
> >since you are shipping the ant.jar (and the antRun) with ozone
> >maybe you could add the ant.home prop to the build.xml
> ><property name="ant.home"  value="." />
> 
> Would this make sense? If ant is reading build.xml then it already
> knows its home. Or did I miss something?
> 
> Regards,
> Lars
> --
> ________________________________________________________________
> Lars Martin                         mailto:lars@softwarebuero.de
> softwarebuero m&b (SMB)              http://www.softwarebuero.de
>