Closed marschall closed 3 months ago
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.
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 unpack
in feature.xml
and instead relies on Eclipse-BundleShape
see #1035
@marschall can you please provide an example at best as an integration-test to demonstrate the issue?
You also wrote that
We recently switched our target platform from 4.28 / 2023-06 to 4.30 / 2023-12 and suddenly most bundles are unpacked.
so I assume Tycho version stays constant, can you try out the current 4.0.5-SNAPSHOT build if the problem persist?
@marschall can you please provide an example at best as an integration-test to demonstrate the issue?
I'll see what I can do. I may take some time.
so I assume Tycho version stays constant
Actually we updated from 3.0.4 to 4.0.4 but it also happens with 3.0.4.
can you try out the current 4.0.5-SNAPSHOT build if the problem persist?
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. What I can say is that it seems not Tycho dependent, meaning that the error occurred in both 3.0.5 (original one) and 4.0.6. I also gave it a try packaging the old product based on 4.29 using Tycho 4.0.6. No problem verified.
This is most likely caused by https://github.com/eclipse-equinox/p2/commit/89f12f7eaa884a627dcf9d30d48b878933ea5466
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:
`
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. So @Fitzcarraldo75 did you use this trick to produce the correct output like it was before (in 4.29) ?
@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. So far so good. We did that on a feature branch. But we also have a pipeline for building and uploading a p2 repository tailored to our application. However that pipeline runs on our "mainline" still using an old Tycho version - namely 3.0.4. That led to "zipped = true" touchpoint entries in the content.jar of the p2 repo. That was our issue. Sorry for the confusion!
Summary: we built a p2 repo out of the 4.31 platform using an old tycho version. That caused the "unpack issue".
@maxrabbi Maybe you did something similar?
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