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

Eclipse 2021-06 and Java16 #252

Closed
eselmeister opened this issue Jul 4, 2021 · 5 comments
Closed

Eclipse 2021-06 and Java16 #252

eselmeister opened this issue Jul 4, 2021 · 5 comments

Comments

@eselmeister
Copy link
Contributor

Create a test to run Eclipse SWTChart on the basis of the latest Eclipse IDE 2021-06 and the latest Java 16.

eselmeister added a commit that referenced this issue Jul 4, 2021
@eselmeister
Copy link
Contributor Author

The latest Eclipse IDE and Java16 works fine. Some minor issues needs to be solved.
Findings:

  • The bundle org.eclipse.swtchart.export.extended has been removed as Batik dependencies are needed. As org.eclipse.swtchart.export offers meanwhile a simple way to export to SVG, let's keep the overhead of the library small.
  • Tycho 2.4.0-SNAPSHOT is needed (Java 16)
  • GTK3 - Image export creates a black box #166 seems to be fixed (tested on Ubuntu 18.04)
  • Currently, the feature and update site can't be build, see error log in the attachment
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.eclipse.swtchart.feature.feature.group 0.14.0.qualifier
[ERROR]   Missing requirement: org.eclipse.swtchart 0.14.0.qualifier requires 'osgi.ee; (&(osgi.ee=JavaSE)(version=16))' but it could not be found
[ERROR]   Cannot satisfy dependency: org.eclipse.swtchart.feature.feature.group 0.14.0.qualifier depends on: org.eclipse.equinox.p2.iu; org.eclipse.swtchart 0.0.0
[ERROR] 
[ERROR] See https://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: org.eclipse.swtchart:org.eclipse.swtchart.feature:0.14.0-SNAPSHOT @ /home/pwenig/www.lablicate.com/2021-06/ws/swtchart/org.eclipse.swtchart.feature/pom.xml: See log for details -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

@Mailaender
Copy link
Contributor

It seems this error occurred with the update to Java 8 previously https://bugs.eclipse.org/bugs/show_bug.cgi?id=530093 and had to be fixed in the Eclipse platform.

@Mailaender
Copy link
Contributor

I vote against Java 16 as that will EOL in September. https://www.oracle.com/java/technologies/java-se-support-roadmap.html At least one release should be on the current LTS, then further upgrade steps can be undertaken.

@eselmeister
Copy link
Contributor Author

I agree, we should first migrate to Java 11. If full Java 17 support is available next year, we could give the next LTS (Java 17) a try in 2022.

@Mailaender Mailaender mentioned this issue Aug 3, 2021
@eselmeister
Copy link
Contributor Author

We use Tycho 2.7.0 now and Java 11. SWTChart works fine with GTK3 on Ubuntu 2021.10 with X11 and Wayland. For compatibility reasons with others projects, let's stay a while on Java 11.

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

2 participants