ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <>
Subject Re: [PATCH] Easily invoking ant via Java APIs
Date Mon, 30 Apr 2001 13:56:33 GMT
Stefan Bodewig wrote:
> [snip]
> 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.
> [snip]

Not in the case of the NetBeans integration. There weren't many hoops to jump
through, it was pretty straightforward really. There were difficulties
integrating Ant, but not anything that would have been helped by code in Main.

The most annoying thing I came across was that Project.fireBuildStarted and
related methods were protected. In fact they are called as package-private
methods by Main. Someone wishing to duplicate the functionality of Main in a
different package cannot access these methods (without subclassing Project
which seems silly). In my case I made the only BuildListener anyway so I just
fired the events directly on it.


Jesse Glick   <>
NetBeans, Open APIs  <>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR

View raw message