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

bundle jre with windows #289

Merged
merged 7 commits into from
Nov 12, 2019
Merged

Conversation

jcharlet
Copy link
Contributor

Provide now 2 packages:

  • one for windows with jre 1.8 embedded
  • one for unix (osx / linux) without (like it used to be)

Reasoning:

  • use Java 8: there is still a small graphical bug when compiled with Java 11 mentioned in another issue that needs fixing, so I'll stick to Java 8 right now.
  • started preparing bundles for osx/linux/windows. but It requires to download 3 JREs, create 3 packages, all significantly larger. We agreed with David that users would probably not have any issue having/installing Java if they are on linux/osx, while users on Windows are more likely to have restricted rights.

What do you think @adamretter ? Are you happy with that solution? I can otherwise do a few more commits to include a linux and an osx packages. Will need some help testing the mac version too :).
I did win64 btw, do we need win32? A bit concerned about creating loads of packages.

@adamretter
Copy link
Contributor

@jcharlet Sounds reasonable to me.

The thing will be making sure that when you have produced runs with the Bundled JRE and not a JRE which is already installed on the system, getting that right can be a bit tricky sometimes ;-)

@jcharlet
Copy link
Contributor Author

@jcharlet Sounds reasonable to me.

The thing will be making sure that when you have produced runs with the Bundled JRE and not a JRE which is already installed on the system, getting that right can be a bit tricky sometimes ;-)

I download the jre from adoptopenjdk with ant maven plugin, then include it with the assembly plugin, no risk using the local jre!

Ok then, solution agreed, I'll work on fixing the travis build.

@jcharlet
Copy link
Contributor Author

I don't understand why travis job can't download the jdk, and the logs do not say anything helpful, I want to ssh into it and try running things manually to see why it's stuck.

@adamretter do we have debug mode available on travis job, is it something you could grant me access? https://docs.travis-ci.com/user/running-build-in-debug-mode/

Otherwise can I send a request to travis support team to enable it for our repository?

@adamretter
Copy link
Contributor

adamretter commented Oct 18, 2019

@jcharlet I would suggest not using the Maven Ant plugin for the download, but rather to use maven-download-plugin - it should give you clearer error messages. It will also allow you to cache the downloads to speed up repetitive builds.

@jcharlet
Copy link
Contributor Author

that worked, thanks @adamretter !

@jcharlet jcharlet added this to the 6.5 milestone Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants