Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 35414 invoked from network); 16 Jun 2006 10:32:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jun 2006 10:32:15 -0000 Received: (qmail 75536 invoked by uid 500); 16 Jun 2006 10:32:09 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 75503 invoked by uid 500); 16 Jun 2006 10:32:09 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 75490 invoked by uid 99); 16 Jun 2006 10:32:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2006 03:32:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of deepali.sb@gmail.com designates 64.233.162.199 as permitted sender) Received: from [64.233.162.199] (HELO nz-out-0102.google.com) (64.233.162.199) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2006 03:32:08 -0700 Received: by nz-out-0102.google.com with SMTP id z31so580149nzd for ; Fri, 16 Jun 2006 03:31:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=KjkthVrP6S9HMvzx405tQtmt2ACA4Pc0SeExCJLMOOoLtZ7etZAvn11JBI480tp+DqP0oCrPkbvjAyNlfiLL0ruxisGNbabAhERFcSc2FIuwSBJgTjrBHhJcOrSwDo3Ol/1Gnl0AAphKlM20jRYFUxwAwZ6ZAIPPXBLU8PPHuIk= Received: by 10.64.47.19 with SMTP id u19mr2613752qbu; Fri, 16 Jun 2006 03:31:47 -0700 (PDT) Received: by 10.65.153.19 with HTTP; Fri, 16 Jun 2006 03:31:47 -0700 (PDT) Message-ID: <8538ccbc0606160331n57ba6193p21c44abcd244345@mail.gmail.com> Date: Fri, 16 Jun 2006 16:01:47 +0530 From: "deepali sharma" To: "Ant Users List" Subject: Re: Command line parameter In-Reply-To: <8538ccbc0606160324p4cc9e053vd97d664fcd67e139@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_130974_14262953.1150453907839" References: <8538ccbc0606160324p4cc9e053vd97d664fcd67e139@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_130974_14262953.1150453907839 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline sorry i think it was silly question. i can have a default task when user does not enter anything it is working fine now. great help JAN and others also cheers deepali On 6/16/06, deepali sharma wrote: > > i think the last answer is pretty close. > suposse i gave ant task1 it will execute all tasks inside target task1. > similarly for task2. > > > > > > > > Inside task1 Clean > > > > > > What about the default parameter??? > > > > > On 6/16/06, Jan.Materne@rzf.fin-nrw.de > wrote: > > > > - bundle your tasks in a HelloWorld > > - give that target a name > > - call that target from the commandline > > ant foo > > > > > > Jan > > > > >-----Urspr=FCngliche Nachricht----- > > >Von: deepali sharma [mailto: deepali.sb@gmail.com] > > >Gesendet: Freitag, 16. Juni 2006 11:49 > > >An: user@ant.apache.org > > >Betreff: Command line parameter > > > > > >Hi > > >We have requirement like this. > > >I want to give a command line argument and based on this > > >argument I want run some task. > > >Can this is possible. > > >If possible how we can achieve this??? > > > > > >-- > > >cheers.... > > >deepali > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > > > > -- > cheers.... > deepali > --=20 cheers.... deepali ------=_Part_130974_14262953.1150453907839--