ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mitchell <thomasmitch...@cs.com>
Subject Re: ANT ignoring command line argument
Date Mon, 10 May 2004 16:18:53 GMT
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?



gudnabrsam@yahoo.com 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 <thomasmitchell@cs.com> 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.
>>
>>
>>NETAB@Amdocs.com 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
>>>
>>>*netab@amdocs.com
>>>
>>>
>>>-----Original Message-----
>>>From: thomasmitchell@cs.com
>>>      
>>>
>>[mailto:thomasmitchell@cs.com]
>>    
>>
>>>Sent: Monday: May 10: 2004 4:11 PM
>>>To: user@ant.apache.org
>>>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:
>>>      
>>>
>>user-unsubscribe@ant.apache.org
>>    
>>
>>>For additional commands, e-mail:
>>>      
>>>
>>user-help@ant.apache.org
>>    
>>
>>>
>>>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,
>>>      
>>>
>>please notify us immediately
>>    
>>
>>>by replying to the message and deleting it from
>>>      
>>>
>>your computer.
>>    
>>
>>>Thank you.
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>    
>>
>>>To unsubscribe, e-mail:
>>>      
>>>
>>user-unsubscribe@ant.apache.org
>>    
>>
>>>For additional commands, e-mail:
>>>      
>>>
>>user-help@ant.apache.org
>>    
>>
>>> 
>>>
>>>      
>>>
>>-- 
>>Thomas Mitchell
>>thomasmitchell@cs.com
>>(614) 538-3215
>>
>>
>>
>>
>>
>>
>>    
>>
>---------------------------------------------------------------------
>  
>
>>To unsubscribe, e-mail:
>>user-unsubscribe@ant.apache.org
>>For additional commands, e-mail:
>>user-help@ant.apache.org
>>
>>    
>>
>
>
>
>    
>        
>__________________________________
>Do you Yahoo!?
>Win a $20,000 Career Makeover at Yahoo! HotJobs  
>http://hotjobs.sweepstakes.yahoo.com/careermakeover 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>  
>

-- 
Thomas Mitchell
thomasmitchell@cs.com
(614) 538-3215




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message