[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: JDT Core bundle

Craig,
I wonder what exactly do you need of JDT Core. If only compiler, like for JSP support, then
there is already a slim Eclipse java compiler - distributed as ecj.jar, which is OSGI bundle and doesn't have any requirements.
You can get it from here:
http://download.eclipse.org/eclipse/downloads/drops/R-3.3-200706251500/index.php


Craig L. Ching wrote:
Is there a more appropriate place to ask this question?

Cheers,
Craig

Craig L. Ching wrote:
Hi there,

Jetty 6.1.5 ships the JDT Core bundle in its distribution for JSP support which is all great and fine :-D There is a problem, though. If you want to use jetty in another OSGi framework implementation, because of the Bundle-Requirement in the bundle's manifest, you end up needing to pull in a lot of equinox into the other framework implementation.

The claim from the jetty folks is that they don't have these dependencies at runtime outside of OSGi, which makes sense, they apparently don't use any classes that have real OSGi or other eclipse dependencies.

So I was wondering if JDT has ever considered the possibility that their bundle could be used in other OSGi frameworks? For instance, this is just a suggestion without understanding any JDT details, would it be possible to bundle a different, slimmer (as few eclipse depdencies as possible) bundle that could be used by jetty's JSP implementation in other framework implementations?

Thoughts?

Cheers,
Craig