Re: AW: How to use ANT as a command shell

2005-12-09 Thread Ninju Bohra
at they have -D in front it before call ant Thanx to Jan for the contribution, Ninju - Original Message From: Michael Giroux <[EMAIL PROTECTED]> To: Ant Users List Sent: Friday, December 09, 2005 12:44:37 PM Subject: Re: AW: How to use ANT as a command shell Thanks for

Re: AW: How to use ANT as a command shell

2005-12-09 Thread Frank W. Zammetti
I have to admit I did not catch this thread until now, so if this is gibberish than do please ignore it :) But, just reading this particular message, I have to ask, are you using Windows? If so, you would make sure ant IS NOT in your path, then you could create a batch file to kind of "bootst

Re: AW: How to use ANT as a command shell

2005-12-09 Thread Michael Giroux
Thanks for all the comments. After reading the entire thread, it seems that the short answer is "no", at least not at the moment. My specific requirement could be handled if a target had visibility to the list of remaining targets: ant dosomething arg1 arg2 ... Given this command line, ant will

Re: AW: How to use ANT as a command shell

2005-12-08 Thread Matt Benson
I haven't seen it mentioned on this thread yet, but are we all aware of commons-exec in the sandbox, which was ported from a 1.6.x version of Ant's code? We had this discussion before... one idea was that if Ant switched over we would probably depend on commons-exec, but that our build process wou

Re: AW: How to use ANT as a command shell

2005-12-08 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Mmh, so we tune the ant-launcher.jar and that´s all. Other could just reuse that jar with a different configuration? no,. nothing to do with ant-launcher. its the stuff behind Exec and Java that people want. Ant has the most debugged process execution logic out the

AW: How to use ANT as a command shell

2005-12-08 Thread Jan.Materne
>>>While I agree with everything in this doc, it shows the >pent-up demand >>>for a decent command-line app launcher from Java, above and >beyond the >>>classic "java -jar somejar args" technique. >>> >>>If/when we refactor Ant's / logic into a jakarta-commons >>>project (the maven people, amo

Re: How to use ANT as a command shell

2005-12-08 Thread Steve Loughran
Antoine Levy-Lambert wrote: Steve Loughran wrote: While I agree with everything in this doc, it shows the pent-up demand for a decent command-line app launcher from Java, above and beyond the classic "java -jar somejar args" technique. If/when we refactor Ant's / logic into a jakarta-commons

Re: How to use ANT as a command shell

2005-12-07 Thread Antoine Levy-Lambert
Steve Loughran wrote: > While I agree with everything in this doc, it shows the pent-up demand > for a decent command-line app launcher from Java, above and beyond the > classic "java -jar somejar args" technique. > > If/when we refactor Ant's / logic into a jakarta-commons > project (the maven pe

Re: How to use ANT as a command shell

2005-12-07 Thread Steve Loughran
Jeffrey E Care wrote: Ant is not intended to be used in this way. The fact that you can kind of hack it together to work should not be taken as encouragement to do so. You might want to read "Ant in Anger" (http://ant.apache.org/ant_in_anger.html) before setting yourself on this course. JEC

Re: AW: How to use ANT as a command shell

2005-12-06 Thread soumya sutar
Hi , I want to know how to use ant font manager. Plz help [EMAIL PROTECTED] wrote: >> Is there any way to cause ANT to >> 1) always invoke the default target You could specify a _default_ target since early versions of Ant (in former time you has to specify the default attribute of project

AW: How to use ANT as a command shell

2005-12-06 Thread Jan.Materne
>> Is there any way to cause ANT to >> 1) always invoke the default target You could specify a _default_ target since early versions of Ant (in former time you has to specify the default attribute of project). This target is performed, if you dont specify an alternative while invocation. If you w

RE: How to use ANT as a command shell

2005-12-06 Thread Brown, Carlton
> -Original Message- > From: Michael Giroux [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 06, 2005 10:18 AM > To: Ant Users List > Subject: How to use ANT as a command shell > > I'm attempting to develop platform neutral launch scripts using ANT. The >

Re: How to use ANT as a command shell

2005-12-06 Thread Jeffrey E Care
Ant is not intended to be used in this way. The fact that you can kind of hack it together to work should not be taken as encouragement to do so. You might want to read "Ant in Anger" (http://ant.apache.org/ant_in_anger.html) before setting yourself on this course. JEC -- Jeffrey E. Care ([EM

Re: How to use ANT as a command shell

2005-12-06 Thread Scot P. Floess
Michael: If you are using ant 1.6.0 or later, your default target can be defined as: .xml What exactly are you attempting to do? -Original Message- From: Michael Giroux <[EMAIL PROTECTED]> Sent: Dec 6, 2005 10:17 AM To: Ant Users List Subject: How to use ANT as a command shel

How to use ANT as a command shell

2005-12-06 Thread Michael Giroux
I'm attempting to develop platform neutral launch scripts using ANT. The product currently has bin/nt and bin/unix folders with shell scripts specific to each platform. I would like to replace this with a single bin folder containing ant scripts. The main issue is that ANT treats command line ar