eclipse-equinox / p2

Eclipse Public License 2.0
14 stars 40 forks source link

Getting error "Problems downloading artifact: osgi.bundle,com.sun.jna,5.13.0.v20230812-1000. The signature is invalid for current content", when exporting product for simple target for Eclipse 4.30 #457

Open pramakan-tibco opened 7 months ago

pramakan-tibco commented 7 months ago

We are migrating our product to Eclipse 4.30, For a simple target file as below target is resolved but when we exporting the product we are getting below error.[p2.director] An error occurred while collecting items to be installed [p2.director] session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). [p2.director] Problems downloading artifact: osgi.bundle,com.sun.jna,5.13.0.v20230812-1000. [p2.director] The signature is invalid for current content [p2.director] An error occurred while collecting items to be installed [p2.director] session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). [p2.director] Problems downloading artifact: osgi.bundle,com.sun.jna,5.13.0.v20230812-1000. A problem occured while invoking the director.

Below are content of target file.

laeubi commented 7 months ago

but when we exporting the product

How is the product exported? Looks like you are using the ant task, please note that these are raley tested/update as Tycho is usually a more powerful solution.

pramakan-tibco commented 7 months ago

Thanks @laeubi , Yes we are using ANT task to export product, We are moving to tycho build from ant build. I will try same thing using tycho build.