Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 14356 invoked from network); 15 Sep 2002 10:27:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Sep 2002 10:27:16 -0000 Received: (qmail 21152 invoked by uid 97); 15 Sep 2002 10:27:58 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 21125 invoked by uid 97); 15 Sep 2002 10:27:57 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 21113 invoked by uid 98); 15 Sep 2002 10:27:57 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-Id: <5.1.0.14.0.20020915123454.00abb5f0@pop.free.fr> X-Sender: oschmitt@pop.free.fr X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 15 Sep 2002 12:35:49 +0200 To: ant-user@jakarta.apache.org From: Olivier SCHMITT Subject: Task missing method ? Write an ant project to disk ? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi, i'm currently building a Java IDE with ant support. 1) Is it a way to create an ant project object and write it to disk in XML format ? 2) I have choosen a JTree to represent an ant project structure. there are project node, target node, task node and finally property node. I select set methods for each task and display the value of the task field for the corresponding set method. I use java.lang.reflect package to get all task methods and select some. this a simple way to display all parameters for a given task and set or get them For example : task : org.apache.tools.ant.task.Mkdir the mkdir class has this method : public void setDir(File aDir) so i display the property Dir and make an attempt to get the value with getDir() but Mkdir has no getDir() method ! the dir field in it is private !!! So i can't create a daughter class ! I must create a new task class, copy the code of Mkdir and add getDir() method.What do you think ? -- To unsubscribe, e-mail: For additional commands, e-mail: