----- Original Message -----
From: "Dave Murvin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 23, 2002 6:29 PM
Subject: Can not get build.xml to work


> I have downloaded and installed the jakarta-ant-1.4.1 and set my
> environment variables for ANT_HOME and JAVA_HOME and added the ant bin
> directory to the path.  I am on win 2k.  When I enter "build" on a command
> line (build is a .bat file that contains "ant compile"), I get another
> command line with "ant compile" then I get the help for java command
> (Usage:  java[-options] class [args...]...) and the program ends.  The
> classes directory is not created and it is not deleted if I create it
> manually.  If I run the java command from the command line, the single
java
> file I have in the directory compiles correctly.  If I take the @echo off
> out of the ant.bat file in the bin directory, the .bat file seems to run
> correctly until it gets to "org.apache.tools.ant.Main compile" and then I
> get the java help text.  The build.xml file I have is a cut and paste of
> one that is supposed to work correctly.  I tried the FAQ and the archives,
> but didn't see anything that applied directly to my problem.
>
> I can not figure out where the problem lies.  Thanks in advance for any
> help that you can provide.
>

there is probably an error in one of the env variables which is breaking the
java call; it has nothing to do with the build file.

turning off the echo is a good step; look at the java call to see if you can
spot the problem



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to