ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] Easily invoking ant via Java APIs
Date Mon, 30 Apr 2001 12:14:25 GMT
Jesse Glick <Jesse.Glick@netbeans.com> wrote:

> but I can't think of any reason why Main should be considered an
> API.

Agreed.

> It is a helpful wrapper for commandline use, but Project is the
> API.

Well, we all agree that Main is still taking too many responsibilities
itself when it comes to creating a Project and starting the build -
this is one of the things where we hope to get a lot better with Ant2.

I haven't looked at the NetBeans integration stuff, but I guess you
may have to jump through some hoops or copy code/functionality from
Main.

I don't think exposing the not-so-clean API by making Main's methods
public would be the right way, either.

Stefan

Mime
View raw message