开发者

eclipse rcp : how to manage third party library?

开发者 https://www.devze.com 2023-03-17 19:59 出处:网络
different plug-ins may depend on different third party libraries. for example : plug-in A needs lo开发者_C百科g4j, plug-in B needs dom4j, plug-in C needs log4j and dom4j.what is the best practice to m

different plug-ins may depend on different third party libraries. for example : plug-in A needs lo开发者_C百科g4j, plug-in B needs dom4j, plug-in C needs log4j and dom4j. what is the best practice to manage these dependencies ? If we let plug-in provider manage dependencies themself, then how can we avoid duplicated dependency ?


I recommend using the Eclipse Orbit project. It provides most of the common 3rd party libraries that plugin developers want to use as OSGi bundles that can be easily installed into your target platform to develop against. And then when you are publishing your updatesite you can add these bundles there as well.

Here is the detailed list of 3rd party libraries that are available in the orbit repository.

0

精彩评论

暂无评论...
验证码 换一张
取 消