Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:10 Go to next message
Sharad Missing name is currently offline Sharad Missing name
Messages: 1
Registered: July 2012
Junior Member
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 17:47 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 Oct 26 08:49:39 GMT 2014

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

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