ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Problems when initiating Ant
Date Fri, 17 Feb 2006 05:29:53 GMT
On Fri, 17 Feb 2006, KoloSSo <deyner.lopez@facinf.uho.edu.cu> wrote:

> When I tried to initiate Ant, he does not recognize the build.xml
> file who is located in %ANT_HOME%\bin directory. Instead, I receive
> the following output when i tried to initiate Ant:
> 
> C:\ant\bin>ant
> Usage: java [-options] class [args...]
[SNIP]

What does your CLASSPATH environment variable look like?  I vaguely
recall that a CLASSPATH with a trailing backslash can corrupt the
command line created in ant.bat.  Same for CLASSPATH values containing
quotes.

Stefan

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


Mime
View raw message