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

Manual export of a product picks the wrong version of a JAR from the target platform #1167

Open
AWanner23 opened this issue Feb 23, 2024 · 6 comments

Comments

@AWanner23
Copy link

We use a frozen version of the Eclipse as a target platform. There are two versions of guava jars there, the newer one is used by our plugins.
The manual export from the product file takes the wrong one, but the launcher generated from the product file uses the right one.
It seems to be not always the case, just in our linux IDE Eclipse Version: 2023-12 (4.30.0)
Build id: 20231201-2043.

@merks
Copy link
Contributor

merks commented Feb 23, 2024

Manual exports really are not well supported nor well tested. Investing effort into a Maven/Tycho build is significant work, but it is best for the long term...

@laeubi
Copy link
Contributor

laeubi commented Feb 23, 2024

@laeubi
Copy link
Contributor

laeubi commented Feb 23, 2024

Investing effort into a Maven/Tycho build is significant work, but it is best for the long term...

Actually it is quite easy:
https://tycho.eclipseprojects.io/doc/latest/StructuredBuild.html

@AWanner23
Copy link
Author

Ah, I understand. Thank you for the information about the structured build. It seems like a little-effort-approach if it works for us.

@gireeshpunathil
Copy link
Contributor

for the export function - whether manual or via tycho - I would expect to either run the same capability under the cover, or at least produce the same result. looks like that is not the case here.

looks like a way forward is to see which route is working fine (tycho?) and make the other one (manual export of PDE) at par with that?

@laeubi
Copy link
Contributor

laeubi commented May 6, 2024

As mentioned here it internally uses ant + pde build, as even Eclipse itself is produced using Tycho/p2 these days I see little value in enhancing PDE build and that's also a reason it is abandoned.

If this is crucial to someones business and likes to speed up the development one can contact me to enter a contract about this specific issue or if there is need for dedicated enterprise support.

Of course a PR to fix the problem would also be welcome as plugin developers should be familiar with Eclipse PDE, see the contribution guides here and if Eclipse is an important Technology one maybe even want to join the Eclipse IDE Workingroup that also regularly funds development in critical areas or consider a funding to improve Eclipse IDE in general. Maybe @jonahgraham can even bring up the topic there, but from the last WG minutes I got the expression that individual funding of issues is no longer a priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants