ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Lochart" <>
Subject Re: ant ignoring flags
Date Wed, 24 Mar 2004 20:08:12 GMT
I have seen this behavior before but it was a while ago (1.5) and I cannot
remember exactly what the problem was.  However I believe that my fix for it
was to not only do a reinstall but to make sure that any old versions are
removed or at least out of site from the path.  Making sure that your
ANT_HOME and JAVA_HOME environment variables are set properly is also a
must.  As Matt said ... do not have a CLASSPATH env variable set when you
run ant.  It is unnecessary.  If you have add on tasks or 3rd party
extensions just place the .jar file in $ANT_HOME/lib.

FYI, my problem was on a Windows 2000 machine what is your environment?


Now I've gained some understanding
Of the only world that we see.
Things that I once dreamed of
Have become reality.

These walls that still surround me
Still contain the same old me,
Just one more who's searching for
A world that ought to be.
----- Original Message ----- 
From: "Brian Shields" <>
To: <>
Sent: Wednesday, March 24, 2004 10:55 AM
Subject: ant ignoring flags

> Hi all,
> I am new to ant....1 day old in fact. I was running ant fine yesterday.
> Today, however, i was running a simple clean target and the compiler
> crashed due a corrupted jar file in my classpath. I have since removed
> it.
> However now ant is acting ignores all flags etc typed
> after ant. For example if i run "ant -version" in a folder that does not
> contain a build.xml file i get a "build process failed error" since ant
> cant find the build file. If there is a build file present then it runs
> the default on this file. I have removed ant and downloaded it again
> but this has not solved the problem.
> Any ideas?
> Brian.
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.

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

View raw message