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

-- 
Jesse Glick   <mailto:[EMAIL PROTECTED]>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR

Reply via email to