Skip to content
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

Plugin export not Working (Can't download artifact osgi.bundle,com.sun.jna) #2131

Closed
2 tasks done
MarcelHaldimann opened this issue Jul 26, 2024 · 1 comment
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@MarcelHaldimann
Copy link

MarcelHaldimann commented Jul 26, 2024

Let's make sure issue is not already fixed in latest builds first.

Issue

EDIT: Oops, I think this is the wrong repo to report this.

Do you have any idea what we are doing wrong? Or can you point us in the right direction?

We assume that the dependency com.sun.jna 5.14.0 is simply no longer found in the p2 repo. In the Maven repo it has been moved to net.java.dev.jna.

Screenshot 2024-07-26 at 08 28 33

We currently have a problem exporting a product from Eclipse. We have an application which we update to the new version approximately every year. We wanted to do this this week. We are currently on 2023-03 and everything is still working as usual.

When exporting the product, we receive the following error message:

Screenshot 2024-07-26 at 08 01 44

We have tested it with 2024-06, 2024-03, also under Windows, MacOS, AppleSilicon or x86 with Rosetta2. No difference.

After a few hours we decided to try it with the generated demo project from Eclipse. The same problem here too.

Steps to reproduce

  1. Open Eclipse
  2. Create new Plug-in Project
  3. Settings like the following
    Screenshot 2024-07-26 at 08 10 51

Screenshot 2024-07-26 at 08 10 59

Screenshot 2024-07-26 at 08 11 13

(I can start it from Eclipse without any problems)
Screenshot 2024-07-26 at 08 14 00

eclipse-rcp-jna-problem.zip

  1. Try to export the product (plugin based)

Screenshot 2024-07-26 at 08 24 49

Screenshot 2024-07-26 at 08 16 29

Here is some relevant log output

!ENTRY org.eclipse.equinox.p2.director 0 0
!MESSAGE Overall install request is satisfiable
!SUBENTRY org.eclipse.equinox.p2.director 0 0
!MESSAGE Add request for ch.ionesoft.ui.test 1.0.0.202407251518 (test 1.0.0.202407251518) is satisfiable
!ENTRY org.eclipse.equinox.p2.engine 4 4
!MESSAGE An error occurred while collecting items to be installed
!SUBENTRY org.eclipse.equinox.p2.engine 4 0
!MESSAGE session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
!SUBENTRY org.eclipse.equinox.p2.artifact.repository 4 0
!MESSAGE Problems downloading artifact: osgi.bundle,com.sun.jna,5.14.0.v20231211-1200.

or

!MESSAGE Can't download artifact osgi.bundle,com.sun.jna,5.14.0.v20231211-1200 required by 

Tested under this environment:

MacOS x86 -> 2024-06
Windows x86 -> 2024-06
MacOS aarch64 -> 2024-03

Community

  • I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.
@MarcelHaldimann MarcelHaldimann added the bug Something isn't working label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants