Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] Using the built-in Jetty plug-in of Eclipse

Thanks, this helped! I knew the fact that Eclipse uses Jetty for its help, but merely adding the org.mortbay.jetty dependency did not help. I missed the other dependencies.

On 10/22/07, Simon Kaegi <Simon_Kaegi@xxxxxxxxxx> wrote:
Hi Gautham,

In the Eclipse SDK Help/User Assistance is using Jetty, so you might want
to take at what extensions they're using in their plugin.xml.

What's provided is an implementation of the OSGi Http Service. You can find
a bit more information on the Equinox site here.
http://www.eclipse.org/equinox/server

If you want to use the "servlets" and "resources" extensions registering
your web resources is very similar to doing so with a "web.xml".

The base requirements for just the Jetty Http Service are:
org.eclipse.osgi
org.eclipse.osgi.services
org.eclipse.equinox.http.jetty
org.eclipse.equinox.http.servlet
org.mortbay.jetty
org.apache.commons.logging
javax.servlet (2.4)

Assuming you're using the extensions your further dependencies would be as
follows:
org.eclipse.equinox.common
org.eclipse.equinox.registry
org.eclipse.equinox.http.registry

If you also need JSP support would be:
org.eclipse.equinox.jsp.jasper
org.eclipse.equinox.jsp.registry (If using the extensions in
org.eclipse.equinox.http.registry )
org.apache.jasper
org.apache.commons.el
javax.servlet.jsp (2.0)

Note: If you're building on top of the Eclipse SDK all of these bundles are
already included.

If you have usage questions about either the Http Service or the Http
Registry extension points you should ask in the Equinox news group (see
http://www.eclipse.org/equinox/resources.php)

HTH
-Simon



orbit-dev-bounces@xxxxxxxxxxx wrote on 10/22/2007 01:43:05 PM:

> Hi,
>
> I am the person behind the Eclifox project that is currently in IBM
> alphaWorks. Eclifox is an Eclipse plug-in that helps to perform
> remote interaction with the Eclipse IDE using the Firefox browser.
>
> http://alphaworks.ibm.com/tech/eclifox
>
> Eclifox makes use of a Jetty server to perform interactions with the
> browser. Right now we ask the users to add the Jetty jars manually.
>
> We intend to use the built-in Jetty plug-in of Eclipse to start off
> a server from within a plug-in. What plug-in dependencies do I need
> to add and what extension-point if any do I need to use?
>
> Is there some plug-in that has done this already?
>
> Regards,
> --
> Gautham Pai B,
> http://gauthampai.livejournal.com/
> "What is life without an impossible dream!"
> _______________________________________________
> orbit-dev mailing list
> orbit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/orbit-dev

_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev


--
Gautham Pai B,
http://gauthampai.livejournal.com/
"What is life without an impossible dream!"

Back to the top