Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325441

Summary: Error creating a plugin from existing jar (eclipse 3.5)
Product: [Eclipse Project] PDE Reporter: Ed Pichler <duduzerah>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: darin.eclipse
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: stalebug

Description Ed Pichler CLA 2010-09-16 07:45:49 EDT
Build Identifier: 201003230009

If I create an OSGi bundle from a existing jar, it works on felix, equinox, and other OSGi containers, but, if I put this jar in a osgi target environment, to use in eclipse, the IDE doesn't find the classes i'm trying to use containing in the bundle I've created.

Reproducible: Always

Steps to Reproduce:
1. Create a plugin from a existing jar. And select to don't unzip the contents of the jar. The new project will create a manifest.inf file with the parameter bundle-classpath pointing to the jar I'm trying to use.
2. Create a custom OSGi target envionment, and copy the plugin to the new folder of this new target.
3. Create another plugin project that uses the bundle pasted in the target environment. The IDE will not find the classes.

Note that if you open both projects on the workspace the IDE can see the classes  of the required bundle, but if you remove from workspace, The IDE should look up on the folder you configurated as target environment.
Comment 1 Ed Pichler CLA 2010-09-16 07:48:14 EDT
The correct version of eclipse I'm using is 3.5.
The same occur with Helios version.
Comment 2 Ed Pichler CLA 2010-09-16 07:53:15 EDT
To get a ready eclipse project the error is occuring please:

hg clone https://pichler@bitbucket.org/pichler/osgi-springroo-annotations

And to get the resulting osgi bundle:

http://bitbucket.org/pichler/osgi-springroo-annotations/downloads/Spring_Roo_Annotations_1.0.2.RELEASE.jar
Comment 3 Darin Wright CLA 2010-09-16 10:31:51 EDT
Sounds like a dup of bug 111238
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:07:29 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 5 Julian Honnen CLA 2019-09-09 02:32:14 EDT
Please remove the stalebug flag, if this issue is still relevant and can be reproduced on the latest release.