-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workspace Product Export does not respect 'Eclipse-BundleShape: dir' Manifest-Header anymore #995
Comments
Is there any progress with this bug, or is it paused until #862 is resolved ? |
If this is crucial to your business and likes to speed up the development you can contact me to enter a contract about this specific issue or if you need dedicated enterprise support. Of course a PR to fix the problem would also be welcome as it seems you have developers at hand that are familiar with Eclipse RCP, see the contribution guides here and if Eclipse is an important Technology for you you maybe even want to join the Eclipse IDE Workingroup that also regularly funds development in critical areas or consider a sponsoring to improve Eclipse IDE in general. |
Unfortunately we are a rather small company and I'm the only Java-Developer, so our resources are very limited. |
hello, This bug breaks an important feature of Eclipse IDE: exporting plugins/applications. |
Because there is no "Eclipse Team" that can fix issues for other companies (either large or small), see #995 (comment) Still you can stay on older releases / toolchains if it works there for you but there is no grantee.
Just because it is important for you don't mean its important for the wider audience, e.g. most companies simply have a CI pipeline that produce the artifacts, because exporting from the IDE is risky and error prone so that defiantly not something important for them. I also wanted to mention that of course it is sensible for a group of affected users to work together or fund a campaign to pay someone to work on that (again feel free to contact me) I already did this in the past with success, the spirit of Open Source Software does not end when you download the next release ... |
For wrapped OSGi States obtained from pde.core/ui the Manifest 'Eclipse-BundleShape' entries, besides others, were not copied into the bundle's user-object Properties. This had the consequence that in ShapeAdvisor.getUnpackClause() the value of that entry never has been considered. The method only used to return the expected boolean value because of corresponding unpack-attributes in 'plugin' entries of feature.xml files. But since the removal of that otherwise unused attribute in [1] this makeshift was gone and ShapeAdvisor.getUnpackClause() always return false leading to all bundles in an exported product being in jar-shape, even if the 'Eclipse-BundleShape' entry in the MANIFEST.MF told something different. Fixes eclipse-pde#995 [1] - eclipse-pde#770
For wrapped OSGi States obtained from pde.core/ui the Manifest 'Eclipse-BundleShape' entries, besides others, were not copied into the bundle's user-object Properties. This had the consequence that in ShapeAdvisor.getUnpackClause() the value of that entry could never be considered. The method only used to return the expected boolean value because of corresponding unpack-attributes in 'plugin' entries of feature.xml files. But since the removal of that otherwise unused attribute in [1] this makeshift was gone and ShapeAdvisor.getUnpackClause() always return false leading to all bundles in an exported product being in jar-shape, even if the 'Eclipse-BundleShape' entry in the MANIFEST.MF told something different. Fixes eclipse-pde#995 [1] - eclipse-pde#770
For wrapped OSGi States obtained from pde.core/ui the Manifest 'Eclipse-BundleShape' entries, besides others, were not copied into the bundle's user-object Properties. This had the consequence that in ShapeAdvisor.getUnpackClause() the value of that entry could never be considered. The method only used to return the expected boolean value because of corresponding unpack-attributes in 'plugin' entries of feature.xml files. But since the removal of that otherwise unused attribute in [1] this makeshift was gone and ShapeAdvisor.getUnpackClause() always return false leading to all bundles in an exported product being in jar-shape, even if the 'Eclipse-BundleShape' entry in the MANIFEST.MF told something different. Fixes #995 [1] - #770
This should now be fixed with #1271. @Rainer7000 and @fpapai please verify with tonight's I-build that this is really fixed. The link will probably be
Out of curiosity and assuming you work for the company you named in your GH bio, I wonder why a tech company from the silicon-valley with over 2000 employers (according to Wikipedia) has only one Java developer? I fixed that out of conscientiousness, but in that sense: Quality contributions are more welcome and the most reliable way to ensure that your needs are met. Besides that you can also learn a lot about Eclipse, which can be beneficial for your own products based on Eclipse. |
I checked the I-Build, but unfortunately the issue is only 'half-fixed'. |
For wrapped OSGi States obtained from pde.core/ui the Manifest 'Eclipse-BundleShape' entries, besides others, were not copied into the bundle's user-object Properties. This had the consequence that in ShapeAdvisor.getUnpackClause() the value of that entry could never be considered. The method only used to return the expected boolean value because of corresponding unpack-attributes in 'plugin' entries of feature.xml files. But since the removal of that otherwise unused attribute in [1] this makeshift was gone and ShapeAdvisor.getUnpackClause() always return false leading to all bundles in an exported product being in jar-shape, even if the 'Eclipse-BundleShape' entry in the MANIFEST.MF told something different. Fixes eclipse-pde#995 [1] - eclipse-pde#770
When exporting a product from the workspace using PDE's product export the
Eclipse-BundleShape: dir
Manifest headers are not considered and plug-ins containing it are therefore not extracted.To replicate just import the following simple product definition and export the
my.product
:my.example.product.zip
This has the consequence that the exported product cannot even be launched since for example
org.eclipse.equinox.launcher.*
is not extracted and the launcher cannot find its companion shared library.Thus this is a sever regression for those that use the product export (like us), probably from
or its follow-up
I can take core of this later (probably at the weekend).
The text was updated successfully, but these errors were encountered: