On Feb 15, 2011, at 12:57 , Mitul Adhia wrote:

> Hi Hugues,
> 
> I am confuse with the statements which you gave :(
> 
> If you want to use the HttpOsgi service provided by equinox I am
> afraid that you can't use jetty-7.   
> 
> --> Here you are pointing out as i cannot make use of Jetty 7 for httpservice.
> 
> 
> If you want to use jetty-7 for the HttpService then you can use jetty-osgi.
> It comes with such support. It uses equinox servlet bridge.
> 
> --> Here now you are saying it is possible ...correct me if my understanding 
> went wrong here .
> From my understanding so far is usage of equinox servlet bridge should be 
> used only when you already have web container and wanted to run equinox based 
> / osgi based bundles on top of it ... as this is mentioned in below link ...
> 
> http://angelozerr.wordpress.com/category/java/osgi/equinox/equinox-servletbridge/
> 
> Also i tried to search bundle jetty-osgi but could not locate :(.

The jetty-osgi bundles seem not to be built for 7.2.x, but they are easy enough 
to build yourself. You need maven to build it, but that's about it.

$ svn co 
http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/tags/jetty-7.2.2.v20101205
[... output ...]
$ cd jetty-7.2.2.v20101205
$ mvn package
[... output ...]

The OSGI bundles end up under jetty-osgi/jetty-osgi-boot/target and 
jetty-osgi/jetty-osgi-httpservice/target

It should look a bit like this:

$ find jetty-osgi/jetty-osgi-* -iname '*.jar'
jetty-osgi/jetty-osgi-boot/target/jetty-osgi-boot-7.2.2.v20101205-sources.jar
jetty-osgi/jetty-osgi-boot/target/jetty-osgi-boot-7.2.2.v20101205-tests.jar
jetty-osgi/jetty-osgi-boot/target/jetty-osgi-boot-7.2.2.v20101205.jar
jetty-osgi/jetty-osgi-boot-jsp/target/jetty-osgi-boot-jsp-7.2.2.v20101205-sources.jar
jetty-osgi/jetty-osgi-boot-jsp/target/jetty-osgi-boot-jsp-7.2.2.v20101205-tests.jar
jetty-osgi/jetty-osgi-boot-jsp/target/jetty-osgi-boot-jsp-7.2.2.v20101205.jar
jetty-osgi/jetty-osgi-boot-logback/target/jetty-osgi-boot-logback-7.2.2.v20101205-sources.jar
jetty-osgi/jetty-osgi-boot-logback/target/jetty-osgi-boot-logback-7.2.2.v20101205-tests.jar
jetty-osgi/jetty-osgi-boot-logback/target/jetty-osgi-boot-logback-7.2.2.v20101205.jar
jetty-osgi/jetty-osgi-boot-warurl/target/jetty-osgi-boot-warurl-7.2.2.v20101205-sources.jar
jetty-osgi/jetty-osgi-boot-warurl/target/jetty-osgi-boot-warurl-7.2.2.v20101205-tests.jar
jetty-osgi/jetty-osgi-boot-warurl/target/jetty-osgi-boot-warurl-7.2.2.v20101205.jar
jetty-osgi/jetty-osgi-httpservice/target/jetty-httpservice-7.2.2.v20101205-sources.jar
jetty-osgi/jetty-osgi-httpservice/target/jetty-httpservice-7.2.2.v20101205-tests.jar
jetty-osgi/jetty-osgi-httpservice/target/jetty-httpservice-7.2.2.v20101205.jar

// Henrik
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to