Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » integrate the 3rd party jars into eclipse RCP product(Integrating 3rd party jars using classpath without creating plug-in for external jars)
integrate the 3rd party jars into eclipse RCP product [message #893726] Thu, 05 July 2012 07:10 Go to next message
Eclipse UserFriend
Hi,
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?
Re: integrate the 3rd party jars into eclipse RCP product [message #893861 is a reply to message #893726] Thu, 05 July 2012 13:47 Go to previous message
Eclipse UserFriend
You can use the external keyword in Bundle-ClassPath in your own bundle that exports the packages of your 3rd party jars to pick up jars installed elsewhere on your system. See http://www.eclipse.org/forums/index.php/m/538887/

That would make them available to your RCP app, no?

PW
Previous Topic:Eclipse 3.8 and Apache Batik
Next Topic:org.eclipse.ui issue
Goto Forum:
  


Current Time: Sun Jul 06 09:58:41 EDT 2025

Powered by FUDForum. Page generated in 0.05003 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top