Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 2686 invoked from network); 15 Sep 2000 13:47:02 -0000 Received: from web2004.mail.yahoo.com (128.11.68.204) by locus.apache.org with SMTP; 15 Sep 2000 13:47:02 -0000 Received: (qmail 8457 invoked by uid 60001); 15 Sep 2000 13:47:02 -0000 Message-ID: <20000915134702.8456.qmail@web2004.mail.yahoo.com> Received: from [212.22.159.95] by web2004.mail.yahoo.com; Fri, 15 Sep 2000 06:47:02 PDT Date: Fri, 15 Sep 2000 06:47:02 -0700 (PDT) From: Davide Mora Subject: embedded ant To: ant-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, i'm writing a code generator, and i want to use ANT as an "embedded builder", and i had to change the following rows in Main.java: from: private void runBuild() throws BuildException to: protected void runBuild() throws BuildException and i inherited my class from Main: class MyAnt extends org.apache.tools.ant.Main { public MyAnt( String args[] ) { super(args); runBuild(); } } My question is: is possible get this behaviour in the next releases? Or maybe something better? Thank you, Davide __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/