| Use package from subclipse plugin [message #258490] | 
Fri, 13 June 2008 10:05   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: georg.speidel.flexis.de 
 
Hello @ all, 
 
I'd like to write a plugin helping to work with SVN. As the future users  
all have the subclipse-plugin already installed, I plan to use the package  
"org.tigris.subversion.svnclientadapter.commandline" used by this plugin  
to execute svn-commands. 
To write my plugin, I installed subclipse 1.2.4 and added  
"org.tigris.subversion.subclipse.core" to the Require-Bundle of the new  
plugin's manifest. 
 
Unfortunately, this not seems to be enough to use the commandline-package  
via "import" in my new classes. The manifest of the subclipse-plugin  
contains the path "/lib/svnClientAdapter.jar" in the "Bundle-ClassPath"  
entry and the respective jar containing the class-files I need. 
 
Has anybody a clue what more is required to use the commandline-package of  
subclipse? 
 
Thanks in advance!
 |  
 |  
  | 
 | 
 | 
 | 
| Re: Use package from subclipse plugin [message #258551 is a reply to message #258531] | 
Fri, 13 June 2008 14:00    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
It seems that another workaround is to import the Subclipse project into 
your workspace. 
 
I'm pretty much convinced that this is a bug in PDE, but different from 
63576. 
 
The symptoms seem to be that JARs contained within a plug-in in the 
Target Platform are not detected by the PDE. I've been able to replicate 
this problem with other bundles. 
 
I've opened bug 237127 [1] to address this. 
 
HTH, 
 
Wayne 
 
[1]https://bugs.eclipse.org/bugs/show_bug.cgi?id=237127 
 
On Fri, 2008-06-13 at 12:54 -0400, Wayne Beaton wrote: 
> I can repeat the problem on Eclipse 3.3.1.1. What version are you using? 
>  
> I think this might be a regression of bug 63576. I will investigate it a 
> little further. 
>  
> My working theory is that this is a problem with the PDE. It should work 
> fine in runtime. To trick the PDE, try extracting the 
> svnClientAdapter.jar from the plug-in and manually adding it to your 
> Java build path (as an external JAR). At runtime, Equinox should find 
> the JAR in the org.tigris.subversion.subclipse.core bundle. 
>  
> Wayne 
>  
> On Fri, 2008-06-13 at 16:26 +0000, Georg Speidel wrote: 
> > Wayne Beaton wrote: 
> >  
> > > Does the subclipse plug-in's manifest "export" the packages you need? 
> > > i.e. are there Export-package entries? 
> > Yes, the export-definitions are made 
> >  
>
 |  
 |  
  | 
 | 
 | 
 | 
Powered by 
FUDForum. Page generated in 0.30137 seconds