Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 72732 invoked from network); 1 Jun 2004 09:35:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Jun 2004 09:35:12 -0000 Received: (qmail 86366 invoked by uid 500); 1 Jun 2004 09:35:10 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 86296 invoked by uid 500); 1 Jun 2004 09:35:09 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 86260 invoked by uid 99); 1 Jun 2004 09:35:09 -0000 Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 01 Jun 2004 02:35:09 -0700 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id i519YmZY031375 for ; Tue, 1 Jun 2004 11:34:48 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2657.72) id ; Tue, 1 Jun 2004 11:33:21 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B560E23F1C4@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: dev@ant.apache.org Subject: RE: Using Ant API to retrieve task/target information Date: Tue, 1 Jun 2004 11:34:41 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C447BB.AA3EB7F0" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C447BB.AA3EB7F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I think these getters arent there because we havent needed it :-) Only the target class itself uses these information so why putting them = in? But if there is a need for having getters outside I don=B4t see an = obstacle while adding them ... the information are not unofficial ... Do you need more? Jan > -----Original Message----- > From: Christophe Labouisse [mailto:ant-ml@ggtools.net] > Sent: Tuesday, June 01, 2004 10:59 AM > To: dev@ant.apache.org > Subject: Using Ant API to retrieve task/target information >=20 >=20 > Hi, >=20 > I'm the writer of the Grand tool=20 > (http://www.ggtools.net/grand) and since > I came upon some issues with the Ant API I'd like to have some more = or > less "official" advice about the way I use it. >=20 > I started Grand shortly after Ant 1.6.0 was released since the > visualization tools I used where all broken. I find out that=20 > the Ant API > was providing all I need to do a basic dependency graph and=20 > will allow me > not to duplicate "things" already done by ant such as XML parsing, > importing targets, etc. Beside using the API allow to display=20 > dynamically > created targets. Soon I needed to handle calls such as the=20 > one created by > ant or antcall. This was a little bit more complicated and I=20 > have to use > the RuntimeConfigurable to get enough information. >=20 > Currently I'd like to display in the graph some information on > conditionnal targets (with a if or unless attribute). The=20 > information is > here since the target class has ifCondition and=20 > unlessCondition attributes > but I cannot get it since the are no getter for them. >=20 > So I'm wondering if using the Ant API as I do to peek into a=20 > project is > something which is ok albeit the API is currently lacking a=20 > few things or > the API should not be used the way I do? >=20 > Cheers >=20 > Christophe >=20 > --=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org >=20 ------_=_NextPart_001_01C447BB.AA3EB7F0--