-
Notifications
You must be signed in to change notification settings - Fork 194
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
A lot of bundles suddenly unpacked in product #3346
Comments
Seems relate to https://eclipse.dev/eclipse/news/4.30/pde.php#unnecessary-attributes-removal but I can't understand why no one else complained yet. |
Possible but my understanding is Tycho ignores |
@marschall can you please provide an example at best as an integration-test to demonstrate the issue? You also wrote that
so I assume Tycho version stays constant, can you try out the current 4.0.5-SNAPSHOT build if the problem persist? |
I'll see what I can do. I may take some time.
Actually we updated from 3.0.4 to 4.0.4 but it also happens with 3.0.4.
Same problem. |
@marschall I can confirm I verified the same problem. I was trying to move our product platform to the latest Eclipse 4.30 (from 4.29). But I stumbled upon this. |
This is most likely caused by eclipse-equinox/p2@89f12f7 |
Unfortunately that does not solve the unpack problem for us. We still face that issue with 4.31 and 4.32.M1. When comparing the content.xml created by tycho-p2-repository:4.0.7:assemble-repository using 4.32.M1 with the file created when using 4.29 we see that difference in the touchpoint data:
vs
If we remove the
from content.xml before tycho-p2-director:4.0.7:materialize-products runs it works as desired for the equinox.launcher. No unpack. |
Hi, I thought I already reported some weeks ago that the situation did not change for me either when I tried to work with the latest 4.31. |
@Fitzcarraldo75 @maxrabbi can you provide an integration-test to demonstrate the issue? |
Hi there I finally had time to look into our issue closely. It turned out that it was an issue in our infrastructure. To be more precise we upgraded to the target platform 4.31 which obviously required in our case as well a Tycho upgrade. We did that too and upgraded to Tycho 4.0.7. Summary: we built a p2 repo out of the 4.31 platform using an old tycho version. That caused the "unpack issue". @maxrabbi |
I consider this fixed now. |
Tycho Version: 4.0.4
We use Tycho to build an Eclipse product with
materialize-products
. We recently switched our target platform from 4.28 / 2023-06 to 4.30 / 2023-12 and suddenly most bundles are unpacked. Most notably the launcher.jar is suddenly unpacked and therefore the launcher no longer works.Bundles now unpacked
Bundles still packaged
The text was updated successfully, but these errors were encountered: