org.eclipse.equinox.http.helper 的获得

想做个OSGi支持SERVLET的例子,却发现org.eclipse.equinox.http.helper 包找不到,终于在一篇文章中找到了如何获得该包,该包还没有正式发布,只能从eclipse的CVS里获取

 

文章来源:http://imamraza.wordpress.com/2009/02/06/making-orgeclipseequinoxhttphelperjar-plugin-from-the-eclipse-repository-source-code/

 

Posted in OSGI at 5:03 am by imamraza

Follow below  steps to make org.eclipse.equinox.http.helper.jar

  • You need to checked out source code of this bundle from the eclipse repository ( Server: :pserver:[email protected]:/cvsroot/eclipse Module: /equinox-incubator/org.eclipse.equinox.http.helper ). Its size is very small around 50.2kb
  • Make an empty project of plugin type in eclipse and then put above org.eclipse.equinox.http.helper/src contents into its src folder of the project. Similarly put org.eclipse.equinox.http.helper/META-INF/manifest.mf file into the project Meta-INF folder.
  • Right click on the project and click “export”. Then click Deployable plug-ins and fragments as shown below and then click next.  


  • In the next screen, check the box against the plugin “org.eclipse.equinox.http.helper” and provide the location for plugin jar file, as shown below and then click finish.


  • This will create org.eclipse.equinox.http.helper_1.0.0.200901151028.jar in the plugin folder of the specified location e.g in the above case in c:/plugin/org.eclipse.equinox.http.helper_1.0.0.200901151028.jar
以下是我的配置,供参考:
使用eclipse的import功能-->CVS,配置如图所示

org.eclipse.equinox.http.helper 的获得_第1张图片

Server:
:pserver:[email protected]:/cvsroot/eclipse

Module:
equinox-incubator/org.eclipse.equinox.http.helper

你可能感兴趣的:(eclipse,server,servlet,File,Module,osgi)