Issue accesing a JAR file inside a plugin [message #661283] |
Wed, 23 March 2011 17:29 |
Yigal Spinner Messages: 101 Registered: July 2009 |
Senior Member |
|
|
I wanted to create a plugin for a logging manager based on the example from IBM (http://www.ibm.com/developerworks/library/os-eclog/)
I created my base plugin in Eclipse 3.5.2 added the log4j-1.2.15.jar to the plugin and exported all the packages.
In the manifest I added:
Eclipse-BuddyPolicy: registered
Bundle-ClassPath: lib/log4j-1.2.15.jar
In the same workspace I create a test plugin and it works fine with no issues (ie the test plugin can reference the log4j Logger that is exported by the base plugin).
Next step, I exported the base plugin as "Deployable Plug-ins" and put it in the Eclipse plugin directory.
The test plugin can see the new base JAR file but fails to see log4j Logger that was exported from the base project.
Why does it work in the same work space and not as a JAR file?
What am I missing?
|
|
|
Powered by
FUDForum. Page generated in 0.02405 seconds