Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 51861 invoked from network); 24 Feb 2011 10:12:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Feb 2011 10:12:04 -0000 Received: (qmail 65655 invoked by uid 500); 24 Feb 2011 10:12:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 65348 invoked by uid 500); 24 Feb 2011 10:12:01 -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 65337 invoked by uid 99); 24 Feb 2011 10:12:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 10:12:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of terataki@gmail.com designates 209.85.215.173 as permitted sender) Received: from [209.85.215.173] (HELO mail-ey0-f173.google.com) (209.85.215.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 10:11:52 +0000 Received: by eyb6 with SMTP id 6so125117eyb.4 for ; Thu, 24 Feb 2011 02:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=A2YVWML17PSx6k9rBP6G6yYrlk6H59XGVyHv6GO2tKQ=; b=lx5uLp+SqkVVIjgpgkp90/BYNfiFOYfj//P9637hrkJF2Co44LpYqcBtIwbPlDyonq X/++mGP0wXDvOjd0ay0DNxTDVweWJ7I70k3D7hef4ynSfYALZSPuIZKP5evinYobfWjB xUWF1MBqlXvmvscfOjhhVp0bdUU+I4tXP/Iq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:content-type:content-transfer-encoding:subject:date :message-id:to:mime-version:x-mailer; b=rM/z/NOHuJ1mBy/M/wwkoojqDuRjUowEPtXllNbufDP+MP6YmzWECjoYX8c7fUaxfK GjLFUFeHJ/5nLcw0Gqlxj2utiFdjyNDudRT3Yya2p0TBP7n4uz2L62W/q7oirWfRBhCI oEK4AuZyRW+8wCkjDdjVVkuQ9QGDZ+JbRir7E= Received: by 10.14.48.73 with SMTP id u49mr510817eeb.1.1298542291371; Thu, 24 Feb 2011 02:11:31 -0800 (PST) Received: from [192.168.101.36] (limnos.chem.demokritos.gr [143.233.243.70]) by mx.google.com with ESMTPS id q52sm8039295eei.21.2011.02.24.02.11.30 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Feb 2011 02:11:30 -0800 (PST) Sender: Panayotis From: Panayotis Katsaloulis Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: How to get the stack of targets, from inside a task? Date: Thu, 24 Feb 2011 12:11:29 +0200 Message-Id: To: user@ant.apache.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Hello people! I am trying to develop a custom ant task, which ideally would like to = get hold of the stack of all parent targets. For example in this configuration: if the command "ant one" was executed from the command line, I'd like to = get a list like this (in the task customtask): one, three, four In the documentation I found only the method getOwningTarget() which = would only return the current target, "four". Is there any way to do this?= --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org