Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 98577 invoked from network); 21 Sep 2006 09:58:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 09:58:23 -0000 Received: (qmail 94394 invoked by uid 500); 21 Sep 2006 09:58:16 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 94366 invoked by uid 500); 21 Sep 2006 09:58:16 -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 94355 invoked by uid 99); 21 Sep 2006 09:58:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [212.86.215.132] (HELO smtp.futuna.de) (212.86.215.132) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2006 02:58:16 -0700 Received: from samoa ([172.16.10.2] helo=samoa.sitewaerts) by smtp.futuna.de with esmtp (Exim 4.50) id 1GQLJa-000797-Sf for user@ant.apache.org; Thu, 21 Sep 2006 11:57:54 +0200 Received: from phoenix (phoenix.sitewaerts [172.16.10.89]) by samoa.sitewaerts with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id R1X8SPVB; Thu, 21 Sep 2006 12:00:19 +0200 From: Felix Seeger To: user@ant.apache.org Subject: Re: AW: Getting the called target or ant cmd parameters Date: Thu, 21 Sep 2006 11:57:54 +0200 User-Agent: KMail/1.9.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200609211157.54154.seeger@sitewaerts.de> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks, already using wrappers in other project. Looks like I have to use a= =20 init target... =46elix Am Thursday, 21. September 2006 11:53 schrieb Jan.Materne@rzf.fin-nrw.de: > no, it is not. > You could write a wrapper script, which stores the target in an ant > property. http://marc.theaimsgroup.com/?l=3Dant-user&m=3D114123101810971&= w=3D2 > > Jan > > >-----Urspr=FCngliche Nachricht----- > >Von: Felix Seeger [mailto:seeger@sitewaerts.de] > >Gesendet: Donnerstag, 21. September 2006 11:40 > >An: Ant Users List > >Betreff: Getting the called target or ant cmd parameters > > > >Hi all, > > > >is it possible to find out the initially called target, e.g > >ant clean the target I like to get is "clean" ? > > > >My problem is that I call an antfile from the project itself. > >I like to skip this for one target name. Sure I could add > >dependencies... but I don't like to do this here. > > > > > >Thanks > >Felix > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For > >additional commands, e-mail: user-help@ant.apache.org =20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org