ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
Subject Re: javadoc: invalid flag: -Dant.home=C;\jakarta-ant-1.4.1
Date Thu, 31 Jan 2002 11:27:59 GMT
Hunt, Bryan wrote:

> if I try that ant just refuses to work alltogether 
> C:\ichara\build>set ant
> ANT_HOME=c:\jakarta-ant-1.4.1\
> C:\ichara\build>set ant_home=c:\jakarta-ant-1.4.1
> C:\ichara\build>ant
> Usage: java [-options] class [args...]
>            (to execute a class)
>    or  java -jar [-options] jarfile [args...]
>            (to execute a jar file)

OK, you definitely should not have the trailing slash.

So, the problem we need to fix is the problem above.

Please change the ant.bat script to turn echo on - look at the first 
line, the change should be obvious. Now run ant again with ANT_HOME with 
the slash. Send us the output to see what is going wrong.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message