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:anonymous@dev.eclipse.org:/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.  

osgihttphelper1


  • 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,配置如图所示
eclipse CVS设置

找到该包

Server:
:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse

Module:
equinox-incubator/org.eclipse.equinox.http.helper
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值