[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Why is the director needed during install?

On 09/24/2009 03:45 PM, Daniel Jacobowitz wrote:
On Thu, Sep 24, 2009 at 03:29:36PM +0200, Thomas Hallgren wrote:
Looking closer, I can't really see that the class 'c' is ever used.
So why the calls to Class.forName()?
At a guess, to start services by activating the containing bundle?

(This is much easier with Declarative Services, but there may be a
good reason p2 doesn't use DS.)

That might be an explanation. But if so, why start the publisher? Is it really needed? It increases the size of the headless director a fair amount. Depends on org.apache.ant etc. Seems a bit unnecessary if all I want is to install.

- thomas