Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Code doesn't compile if bundle referencing jars is in the target platform(In Eclipse 3.6.2)
Code doesn't compile if bundle referencing jars is in the target platform [message #673430] Mon, 23 May 2011 11:51 Go to next message
Eclipse UserFriend
I have the org.tmatesoft.svnkit_1.3.5 plugin in my local target platform.
I have a plugin com.example.svn.implementation in my workspace that uses this plugin's ClientException class.

The problem I have is that ClientException is not found and I have a compilation error saying "ClientException cannot be resolved to a type".

I have no idea what could be wrong. Can anyone point me in the right direction to solving this compilation issue?

Note that if I import the org.tmatesoft.svnkit into the workspace as binary project, then the compilation error magically disappears.

PS: This is not the only plugin with which I had problems, in another case I was able to solve this by removing all the sources from the bundle that was containing jars.
Re: Code doesn't compile if bundle referencing jars is in the target platform [message #673795 is a reply to message #673430] Tue, 24 May 2011 15:09 Go to previous message
Eclipse UserFriend
Is the ClientException class inside of a nested jar (i.e. is inside a jar that is inside the com.example.svn.implementation plug-in)?

If so, this is a limitation of Eclipse/PDE that was fixed in late 3.7. JDT does not have the ability to add nested jars to its classpath. If you try a recent build, PDE will extract the jar to a temporary location and add it to the classpath for you. You may still experience issues with exporting as the change was only in PDE UI (pde build, equinox, JDT still have limitations with nested jars).
Previous Topic:Export custom Preferences
Next Topic:Re: Eclipse API comparison tool
Goto Forum:
  


Current Time: Mon Jul 07 11:05:46 EDT 2025

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

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

Back to the top