Community
Participate
Working Groups
Created attachment 198842 [details] projects that demonstrate the problem Steps: - import the attached projects into a workspace - notice that there are no compile errors - export the folder.feature to /temp/exploded. This will also export the folder.bundle as well. - close folder.feature and folder.bundle projects - notice there is a compile error in folder.test - open the test.target file in folder.test. Modify the lone software site entry to include the newly exported folder.feature. You may be able to just press Update. - Set test.target as the current target - notice that the compile errors still exist. This should work but does not. If you look in the <workspace>/.metadata/plugins/org.eclipse.pde.core/bundlepool area you will see that folder.bundle is there as a folder and has all the right content. The folder.test manifest does not show any errors (so the folder.bundle) appears to have been found and is satisfying the require bundle dependency. inspection of all the relevant metadata and artifact info shows everything to be in good order. (at least by my eye) Now work around this problem by - delete the folder.bundle dir in the bundle pool and the export destination folder (just to be sure) - reopen the folder.bundle and folder.feature projects - edit the folder.bundle manifest to have Bundle-Classpath: . (that is, '.' on the bundle's classpath) - re-export and redo the target as above - notice now that folder.test has NO compile errors. if you have a p2 repo that contains dir shaped bundles
Could be related to bug 350073
Yes, that seems like a similar problem.
I'll try to find time to investigate this. Hopefully the solution will fix both this and bug 350722.
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. -- The automated Eclipse Genie.