Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problems with secondary plug-in for jar files
Problems with secondary plug-in for jar files [message #282886] Tue, 22 March 2005 23:23 Go to next message
Eclipse UserFriend
I decided to move all of my plug-in's third party jar files into another
plug-in that will act only as a library. Once I created this plug-in in
my workspace, i removed the jar files from the original plug-in and
removed the jar files from the runtime section of the plugin.xml. I then
added the library plugin as a dependency. When I tried to have the PDE
Tools update my classpath, it won't pickup the jar files in the new
plug-in, even though they are exported. I don't understand why I am
having such a hard time with this. Any help I could could would be great.
Re: Problems with secondary plug-in for jar files [message #282892 is a reply to message #282886] Wed, 23 March 2005 03:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ""t.s.maedert.s.maeder\"..hispeedhispeed.chch"

B Jones wrote:
> I decided to move all of my plug-in's third party jar files into another
> plug-in that will act only as a library. Once I created this plug-in in
> my workspace, i removed the jar files from the original plug-in and
> removed the jar files from the runtime section of the plugin.xml. I
> then added the library plugin as a dependency. When I tried to have the
> PDE Tools update my classpath, it won't pickup the jar files in the new
> plug-in, even though they are exported. I don't understand why I am
> having such a hard time with this. Any help I could could would be great.
>
What do you mean by "it won't pickup the jar files"? Does the code that
uses the jar files not compile, do the jar files not show up somewhere
(where?) or do you get runtime errors?


Thomas
Re: Problems with secondary plug-in for jar files [message #282914 is a reply to message #282892] Wed, 23 March 2005 11:46 Go to previous messageGo to next message
Eclipse UserFriend
Suppose plug-in B is the library plug-in and plug-in A is the plug-in that
needs the jar files from plug-in B. Plug-in A has plug-in B as a
dependency but when PDE Tools updates the classpath on plug-in A, the jar
files that are needed from plug-in B are not including on the project
build path. If I manually add the jar files from plug-in B, the project
compiles but then a class not found exception is thrown when the plug-ins
are tested.
Re: Problems with secondary plug-in for jar files [message #282915 is a reply to message #282914] Wed, 23 March 2005 10:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ""t.s.maedert.s.maeder\"..hispeedhispeed.chch"

B Jones wrote:
> Suppose plug-in B is the library plug-in and plug-in A is the plug-in
> that needs the jar files from plug-in B. Plug-in A has plug-in B as a
> dependency but when PDE Tools updates the classpath on plug-in A, the
> jar files that are needed from plug-in B are not including on the
> project build path. If I manually add the jar files from plug-in B, the
> project compiles but then a class not found exception is thrown when the
> plug-ins are tested.
>
Can you add the jars in the "Runtime" section of plugin B's plugin.xml
and check the "export the entire library" button?
It is normal that the jars would not show up on the classpath of plugin
A. The plugin project B should show up there (as a required project).

Thomas
Re: Problems with secondary plug-in for jar files [message #282919 is a reply to message #282915] Wed, 23 March 2005 12:14 Go to previous message
Eclipse UserFriend
Thomas Mäder wrote:

> B Jones wrote:
>> Suppose plug-in B is the library plug-in and plug-in A is the plug-in
>> that needs the jar files from plug-in B. Plug-in A has plug-in B as a
>> dependency but when PDE Tools updates the classpath on plug-in A, the
>> jar files that are needed from plug-in B are not including on the
>> project build path. If I manually add the jar files from plug-in B, the
>> project compiles but then a class not found exception is thrown when the
>> plug-ins are tested.
>>
> Can you add the jars in the "Runtime" section of plugin B's plugin.xml
> and check the "export the entire library" button?
> It is normal that the jars would not show up on the classpath of plugin
> A. The plugin project B should show up there (as a required project).

> Thomas

All the jar files in plug-in B have been added to the runtime section and
exported. It is impossible to add plug-in B as a required project on the
build because it doesn't show up on the list of projects available.
Previous Topic:Pre-define platform-wide external tools?
Next Topic:ActiveX Control License File
Goto Forum:
  


Current Time: Sat Sep 13 17:01:34 EDT 2025

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

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

Back to the top