ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hunt, Bryan" <B.H...@emuse.ie>
Subject RE: javadoc: invalid flag: -Dant.home=C;\jakarta-ant-1.4.1
Date Thu, 31 Jan 2002 10:51:59 GMT
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)

where options include:
    -hotspot      to select the "hotspot" VM
    -server       to select the "server" VM
    -classic      to select the "classic" VM
                  If present, the option to select the VM must be first.
                  The default VM is -hotspot.

    -cp -classpath <directories and zip/jar files separated by ;>
                  set search path for application classes and resources
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -showversion  print product version and continue
    -? -help      print this help message
    -X            print help on non-standard options



-----Original Message-----
From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
Sent: 31 January 2002 10:53
To: Ant Users List
Subject: Re: javadoc: invalid flag: -Dant.home=C;\jakarta-ant-1.4.1


Hunt, Bryan wrote:

> Yes the ANT_HOME env var is set 
> 
> cut=
> ANT_HOME=C:\jakarta-ant-1.4.1\ 
> =cut
> 

Try
     ANT_HOME=C:\jakarta-ant-1.4.1


i.e. remove trailing slash.

Conor



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message