ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: AW: build.xml in rhino1_6R1pre.zip
Date Tue, 12 Oct 2004 09:23:46 GMT
Jan is right,
The rhino build system is a bit silly.
It has a build.xml in src as well as the root.
The build.xml in src assumes that it is called
from the root build.xml (thus ignoring normal
ant conventions and common sense).

You need to cd to the root and run ant from there.

Peter

Jan.Materne@rzf.fin-nrw.de wrote:

>Usually you dont work from the 'src' folder, because there are the sources
>and you want to have a directory structure like
>
>projectroot            (build.xml)
>  +-- build            (app.jar)
>  |     +-- classes    (**/*.class)
>  +-- src              (**/*.java)
>
>Maybe there it´s different, I dont know. Change to the directory where the 
>build.xml is. 
>
>Jan
>
>
>  
>
>>-----Ursprüngliche Nachricht-----
>>Von: George Hester [mailto:hesterloli@hotmail.com]
>>Gesendet am: Montag, 11. Oktober 2004 17:46
>>An: user@ant.apache.org
>>Betreff: build.xml in rhino1_6R1pre.zip
>>
>>ftp://ftp.mozilla.org/pub/mozilla.org/js/
>>
>>I unzip this.  I then went to the src subfolder in the 
>>command prompt.  I then entered ant.
>>
>>The result was:
>>
>>C:\downloads\rhino\rhino1_6R1pre\src>ant
>>Buildfile: build.xml
>>
>>compile:
>>
>>BUILD FAILED
>>C:\downloads\rhino\rhino1_6R1pre\src\build.xml:18: 
>>destination directory "C:\dow
>>nloads\rhino\rhino1_6R1pre\build\classes" does not exist or 
>>is not a directory
>>
>>Total time: 4 seconds
>>C:\downloads\rhino\rhino1_6R1pre\src>
>>
>>What did I do wrong?  Thanks.
>>
>>-- 
>>George Hester
>>__________________________________
>>
>>
>>---------------------------------------------------------------------
>>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