ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Murdoch" <adammurdoch...@yahoo.com>
Subject RE: Do I have to set ANT_HOME as system variable?
Date Fri, 22 Mar 2002 00:16:10 GMT


> -----Original Message-----
> From: Ying Wang [mailto:yingwang@hawaii.edu]
> Sent: Friday, 22 March 2002 7:07 AM
> To: Ant Users List
> Subject: Do I have to set ANT_HOME as system variable?
>
>
> Hi all,
>   As the subject, I did not set the ANT_HOME as systtem variable and did
> not put lib to classpath.
>   I copied all the ant lib and bin to my
> working folder "C:\ying1\project\build",  so I can seperate my project
> with the system env. But I got error like that I did not use java commad
> correctly.
>
> C:\ying1\project\build>"c:\jdk1.3\bin\java" -classpath
> "c:\jdk1.3\lib\tools.jar;C:\ying1\project\build\lib\optional.jar;
> C:\ying1\project\build\lib\jaxp.jar;C:\ying1\project\build\lib\cri
> mson.jar;
> C:\ying1\project\build\lib\ant.jar;C:\jdk1.3\jre\lib;
> C:\Oracle\Ora81\orb\classes\yoj.jar;C:\Oracle\Ora81\orb\classes\share.zip"
> -Dant.home="C:\ying1\project\build\"  org.apache.tools.ant.Main build.xml
                                    ^^^

You'll want to get rid of the \ before the quote.


Adam


--
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