You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Mitchell <dm...@oproma.com> on 2003/05/14 19:51:17 UTC
New to Ant
Hi Eveyone,
I'm new to Ant and actually had it working without a hitch a few days
ago.
Now when I go back to build the same project that I had it working with
previously I get some strange behaviour.
When I go to the dir where my Java source and build file is on the
command line and enter the command "Ant", instead of the source building
like it was previously, I instead a list of commands that are available
to the Java compilier, as if I was trying to run javac. Same thing if I
run Ant with various commamd switches such as Ant -v.
Am I problem missing something fundamental due to my lack of knowledge
of Ant. Any suggestions would be most appreciated.
Dave
RE: New to Ant
Posted by "W. Sean Hennessy" <sh...@goldenhourdata.com>.
Try using the full path to ant to ensure use of correct application and see
if results vary.
-----Original Message-----
From: David Mitchell [mailto:dmitchell@oproma.com]
Sent: Wednesday, May 14, 2003 11:55 AM
To: 'Ant Users List'
Subject: RE: New to Ant
Hi Sean,
Thanks for your input. Something must be seriously wrong with my
enviroment, because even this does not work. I still get the javac
compiler options when I run Ant.
I've reset all of my environment variables for Ant thinking this was the
problem... Still no luck.
>>Recommend you get more info on the problem.
>>turn on debug and capture the output to logfile
>>with "-debug -logfile dmitchell.log" added to your ant command line.
>>Examine the dmitchell.log in text editor.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: New to Ant
Posted by David Mitchell <dm...@oproma.com>.
Hi Sean,
Thanks for your input. Something must be seriously wrong with my
enviroment, because even this does not work. I still get the javac
compiler options when I run Ant.
I've reset all of my environment variables for Ant thinking this was the
problem... Still no luck.
>>Recommend you get more info on the problem.
>>turn on debug and capture the output to logfile
>>with "-debug -logfile dmitchell.log" added to your ant command line.
>>Examine the dmitchell.log in text editor.
RE: New to Ant
Posted by "W. Sean Hennessy" <sh...@goldenhourdata.com>.
Hi David,
Recommend you get more info on the problem.
turn on debug and capture the output to logfile
with "-debug -logfile dmitchell.log" added to your ant command line.
examine the dmitchell.log in text editor.
Regards,
Sean
-----Original Message-----
From: David Mitchell [mailto:dmitchell@oproma.com]
Sent: Wednesday, May 14, 2003 10:51 AM
To: 'Ant Users List'
Subject: New to Ant
Hi Eveyone,
I'm new to Ant and actually had it working without a hitch a few days
ago.
Now when I go back to build the same project that I had it working with
previously I get some strange behaviour.
When I go to the dir where my Java source and build file is on the
command line and enter the command "Ant", instead of the source building
like it was previously, I instead a list of commands that are available
to the Java compilier, as if I was trying to run javac. Same thing if I
run Ant with various commamd switches such as Ant -v.
Am I problem missing something fundamental due to my lack of knowledge
of Ant. Any suggestions would be most appreciated.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org