You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Thomas Saxtoft <TS...@sondagsavisen.dk> on 2002/11/20 10:13:45 UTC

Problems installing ant

Hi

I have installed Ant on several computers without any problem. Now I
have ran into a little problem and I have been looking in all my
settings and can't find anything wrong. 
I've got a JAVA_HOME, an ANT_HOME and classpath and path set. But when I
write Ant in the command line it seems like it tries to run java.exe
instead of Ant. I get the below message: 
C:\>ant
Usage: java [-options] class [args...]
           (to execute a class)
   or  java -jar [-options] jarfile [args...]
           (to execute a jar file)

where options include:
    -client       to select the "client" VM
    etc., etc.

If I remove the java installation, I get this message instead:
 Warning: JAVA_HOME environment variable is not set.
   If build fails because sun.* classes could not be found
   you will need to set the JAVA_HOME environment variable
   to the installation directory of java.

So it seems like it finds my ANT_HOME.

Could somebody please give me a clue to leed me back on the right
(class)path.

Thank you in advance.

Thomas Saxtoft

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: task

Posted by sunyj <su...@adtec.com.cn>.
Hi DD,
Thanks for your help.
I has get LocalSynchronize.java from the location(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12632). The task
is very good. 
I tried to get buildmagic.jar from source forge, but project 
buildmagic have not released officially.
Our company want to use this task and release a product at 11/26, but
we have not found any license information in LocalSynchronize.java.
Is the java class covered by GPL?
We want get an explicit proclamation from you urgently(before 11/25).
Thanks.

Best Regards,

-------------------------------------------------
Sun Yongjing
International Software Cooperation Department
Advanced Digital Technology CO.,Ltd
Tel: (+86) 10-6870-0009 ext. 1037
Fax: (+86) 10-6870-0510
e-mail: sunyj@adtec.com.cn
--------------------------------------------------
----- Original Message ----- 
From: "Dominique Devienne" <DD...@lgc.com>
To: <an...@jakarta.apache.org>
Sent: Friday, November 15, 2002 9:59 PM
Subject: <lsync> task


> Just posted the latest version of the task. Provided AS-IS, use at your own
> risk. A caveat I fell into myself is using two <lsync> with the same
> destination directory, which basically annihilate each other... --DD
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12632 
> 
> -----Original Message-----
> From: sunyj [mailto:sunyong_j@sina.com] 
> Sent: Friday, November 15, 2002 1:59 AM
> To: DDevienne@lgc.com
> Cc: Ant Users List
> Subject: Re: Comparing files in subdirectories
> 
> Hi DD,
>     I need <lsync> task, but i can not find any document about <lsync>.
>     How to get <lsync> jar document or java source?
> 
> Thanks in advance.
> Best Regards
> 
> Sun Yongjing
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>