ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: AntExplorer Problems
Date Mon, 21 Nov 2005 10:15:20 GMT
>-----Urspr√ľngliche Nachricht-----
>Von: Rebhan, Gilbert [] 
>"Cannot execute due to :
>Ant not found on classpath"
>i also tried  CLASSPATH=C:\ant_1_6_5 and CLASSPATH=C:\ant_1_6_5\lib

Ant uses a launcher class which evaluates the classpath
- all JARs in ANT_HOME/lib
- all JARs in USER_HOME/.ant/lib
- specified directories using -lib flag
So when trying to set the system classpath you have to this too.

Or easier: start Ant from the commandline, the buildfile prints the
Copy that and set it on a new command box. 

>Opening a cmd shell and C:\> ant
>gives me
>Buildfile:Build.xml does not exist!
>Build failed

Usual behaviour ... or do you have a c:\build.xml ?
Ant searches for the buildfile in the current directory - if not specified otherwise.


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

View raw message