Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 7514 invoked by uid 500); 23 Jun 2003 08:12:28 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 7502 invoked from network); 23 Jun 2003 08:12:28 -0000 Received: from k100-138.bas1.dbn.dublin.eircom.net (HELO corvil.com) (159.134.100.138) by daedalus.apache.org with SMTP; 23 Jun 2003 08:12:28 -0000 Received: from preilly.local.corvil.com (preilly.local.corvil.com [172.18.1.173]) by corvil.com (8.12.9/8.12.5) with ESMTP id h5N8CbAG029707 for ; Mon, 23 Jun 2003 09:12:37 +0100 (IST) (envelope-from peter.reilly@corvil.com) Subject: Re: Q: Getting name of current target From: peter reilly To: Ant Users List In-Reply-To: <8B4A710A4FF0E8449E1066277C45C58E9296@Fenris> References: <8B4A710A4FF0E8449E1066277C45C58E9296@Fenris> Content-Type: text/plain Organization: Message-Id: <1056356232.1056.523.camel@preilly.local.corvil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 23 Jun 2003 09:17:12 +0100 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Task#getOwingTarget() should do the trick. Peter On Sun, 2003-06-22 at 15:51, Morten Mortensen wrote: > Is it possible to read the name of the current target? > > This has relevans when "linking" projects and having targets delegating the > call through the "ant" task; I would like to avoid having the same name > repeated within targets. > > The API will do for me. It must be simple to do with the API? > > Med venlig hilsen > Morten Sabroe Mortensen > mailto:Morten.Mortensen@tietoenator.com > http://www.tietoenator.com > > > --------------------------------------------------------------------- > 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