Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #353484 +++ Cloned to backport to 3.8.2. Steps to reproduce: 1. Create a new OSGi Bundle/Plug-in project with Bundle Root that is different from the Project Root. For example, create a new Web Application Bundle (WAB) project: http://wiki.eclipse.org/Libra/Getting_Started#Create_new_Web_Application_Bundle. In this case the Bundle Root is the /WebContent folder. 2. Create an OSGI-INF folder under the Bundle Root folder. In the case of WAB example /WebContent/OSGI-INF. 3. Call the New Component Definition wizard and create a new component.xml under the OSGI-INF folder. The component.xml is correctly created, but the MANIFEST.MF is incorrectly modified. The Service-Component header points to the component.xml, but the path is relative the Project Root instead of to the Bundle Root. In the WAB example, it looks like: Service-Component: WebContent/OSGI-INF/component.xml while it should look like: Service-Component: OSGI-INF/component.xml
That should read, cloned to backport to 3.7.2
Curtis, I'd like to check if this change went in the 3.7 stream? It looks like a small change in the master branch, so just a simple cherry-pick to 3.7 maintenance should be sufficient, doesn't it?
(In reply to comment #2) > Curtis, I'd like to check if this change went in the 3.7 stream? > It looks like a small change in the master branch, so just a simple cherry-pick > to 3.7 maintenance should be sufficient, doesn't it? The fix hasn't been backported yet. When I do this I will close this bug as fixed.
+1 for 3.7.2 as component lead Cherry picked the commit into R3_7_maintenance http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?h=R3_7_maintenance&id=9b39bf73f90e16fcc55fdcb4d184414bb6285838