I reviewed the ant.bat file and traced the execution through completion. ANT is being launched through :runAntWithClasspath and immediately preceding that line the %ANT_CMD_LINE_ARGS% variable is properly defined. All that is good news since the argument is being read, but I'm still cluless as to what's causing the problem.

[EMAIL PROTECTED] wrote:

I would probably start adding debug messages to the
copy of ant.bat you -think- is being called (this
presumes you're not using cygwin or anything)... we
(I?) should probably think about adding the
--execdebug option (available in the *nix script) to
the batch file...

-Matt

--- Thomas Mitchell <[EMAIL PROTECTED]> wrote:


Yep, I agree its in the local setup. I'm running
Windows XP Professional. Do can I trace what's going on from
the point I type ANT?




[EMAIL PROTECTED] wrote:



What OS are you running? I'm sure you will agree


that


if your Ant installation was working before, but


isn't


now, that the problem is probably somewhere in your
local setup.  It will probably be easiest to trace
exactly what is going on, starting from your typing
"ant".

-Matt

--- Thomas Mitchell <[EMAIL PROTECTED]> wrote:




Yep I did that last week and it was working fine.
Adding the argument to the command line now, ANT ignores the argument. In
fact I just entered ant -version and the default target was hit. No
version info was supplied. The install directory lists 1.6.1 which


I


can only assume is what I'm running.

I basically created a menu with targets of 1


through


17 which were working. The way I call ANT is ANT 1.


[EMAIL PROTECTED] wrote:






Hi Thomas,
When operating the command line just add the


target






name that you wish




to run and it suppose to know.
I'm using ant for a long time and didn't face


such






a problem




Try to read more at:




http://ant.apache.org/manual/index.html under




running ant->command line


Neta Bar-Tal


* 972-9-7960521

[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED]




[mailto:[EMAIL PROTECTED]




Sent: Monday: May 10: 2004 4:11 PM
To: [EMAIL PROTECTED]
Subject: ANT ignoring command line argument

I've just recently started working with ANT.


About






a week after using




ANT, I'm finding that ANT is ignoring the command




line argument for the




target of the build.xml file. I have tried


calling






ANT specific




arguments using different build.xml files that


are






known to be good.



However, the default target in the project tag is




always used. The




argument was read by ANT the first week I was


using






it. The only way




I've found to call a specific target is to change




the default value in




the project tag. Anyone know that cause or




solution?




--
Thomas Mitchell











---------------------------------------------------------------------






To unsubscribe, e-mail:




[EMAIL PROTECTED]




For additional commands, e-mail:




[EMAIL PROTECTED]




The information contained in this message is




proprietary of Amdocs,




protected from disclosure, and may be privileged.
The information is intended to be conveyed only


to






the designated recipient(s)




of the message. If the reader of this message is




not the intended recipient,




you are hereby notified that any dissemination,




use, distribution or copying of




this communication is strictly prohibited and may




be unlawful.




If you have received this communication in error,




=== message truncated ===



__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover


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




-- Thomas Mitchell [EMAIL PROTECTED] (614) 538-3215





Reply via email to