简体   繁体   中英

integrating 3rd party jars into eclipse RCP


There are some third party jars that my RCP needs. I wanted to use the .exe that the product export wizard creates.

My 3rd party jars location not fixed and also frequently getting updated.So i can not create plug-in for dependent jars since we have to create plug-in for 3rd party jars each time when any jar get updated.

I have added below relative path in MANIFEST.MF

Bundle-ClassPath: .,
deliverables/DependencyJars/xercesImpl.jar,
deliverables/DependencyJars/xml-apis-1.3.03.jar,
deliverables/DependencyJars/XmlSchema-1.3.2.jar,
deliverables/DependencyJars/xmlsec-1.4.0.jar,

Any idea how I can specify the classpath for the exe so that exe could pick up above relative path?

Is there any way so that we can integrate the 3rd party jars from changing location?

您应该创建仅将这些jar封装一次的插件,然后在更新它们时替换其中的jar。

You have to make sure that the JARs are included in the binary builds. Open your MANIFEST.MF or plugin.xml and go to the Build tab. Make sure that the JARs are selected in the Binary Build section.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM