ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Mora <d_m...@yahoo.com>
Subject embedded ant
Date Fri, 15 Sep 2000 13:47:02 GMT

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/

Mime
View raw message