Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Problem with adding comm.jar as a library inside my bundle
Problem with adding comm.jar as a library inside my bundle [message #500848] Sun, 29 November 2009 16:59 Go to next message
Ali Naddaf is currently offline Ali Naddaf
Messages: 85
Registered: July 2009
Member
Hello all.

I have an (Equinox) OSGi framework and am trying to add comm.jar
(javax.comm implementation) inside a bundle by putting it inside a
directory in my bundle (called lib) and adding the following to my
manifest.mf (no other bundle uses this comm.jar library so I prefer
keeping it just inside my bundle instead of making it a separate bundle):

Bundle-ClassPath: ., lib/comm.jar

However, the classes inside the javax.comm package are not
available/accessible inside my bundle. Are there any other steps that I
need to take to make that library added to my bundle's classpath?

Many thanks
Ali
Re: Problem with adding comm.jar as a library inside my bundle [message #501704 is a reply to message #500848] Thu, 03 December 2009 14:43 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If you manually added the jar (and it is in <yourproject>/lib) you should right-click on your project and use PDE Tools>Update classpath to make your project classpath match what is in your bundle.

PW


Previous Topic:Persistent link to latest Equinox Nightly Build
Next Topic:Bundle version range parser
Goto Forum:
  


Current Time: Sat Oct 25 14:40:55 GMT 2014

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

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