Jesse Glick <[EMAIL PROTECTED]> 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

Reply via email to