Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 69738 invoked from network); 24 May 2003 09:39:34 -0000 Received: from unknown (HELO cad.nic.in) (164.100.10.21) by daedalus.apache.org with SMTP; 24 May 2003 09:39:34 -0000 Received: from cimws34 (cad34.cad.nic.in [164.100.20.34]) by cad.nic.in (8.12.9/8.12.1) with SMTP id h4O9Zx2T011400 for ; Sat, 24 May 2003 15:06:00 +0530 Message-ID: <03a401c321d9$0ecf1ca0$221464a4@cimws34> From: "D Bamud" To: "Ant Users List" References: <067F1176-8DCA-11D7-8463-000393A564E6@ehatchersolutions.com> Subject: Re: ant trgjava 12 Date: Sat, 24 May 2003 15:14:21 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Idea was to provide the simplest way to the developers to test their forms. We have many forms each having an ID. So if I say "ant test 12" then it starts the testing of form that has id 12. But now it seems that I need to settle at least with using it like "ant test -Did=12". Right! The whole idea was to convert "ant test -Did=12" to "ant test 12". Thanks for your comments. ----- Original Message ----- From: "Erik Hatcher" To: "Ant Users List" Sent: Saturday, May 24, 2003 2:58 PM Subject: Re: ant trgjava 12 | Let me get this straight.... you want to pass an _argument_ to your | Java program, but you don't want to use __? | | May I ask why that constraint? | | To pass a parameter from the command-line of ant: | | ant trgjava -Darg=12 | | Then use: | | | | nested within . | | What's wrong with that? | | Erik | | On Saturday, May 24, 2003, at 05:00 AM, D Bamud wrote: | > I want to give argument values to java task in one of my target. In | > nutshell I want to fire "ant | > trgjava 12" at DOS prompt. 12 will go as the first argument to my | > program executed by the java task | > in trgjava target. How to do this. (Note I do not want to use | > attribute). | > | > | > --------------------------------------------------------------------- | > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org | > For additional commands, e-mail: user-help@ant.apache.org | > | | | --------------------------------------------------------------------- | To unsubscribe, e-mail: user-unsubscribe@ant.apache.org | For additional commands, e-mail: user-help@ant.apache.org