From org.openjdk at io7m.com Sun Mar 4 16:00:33 2018 From: org.openjdk at io7m.com (Mark Raynsford) Date: Sun, 4 Mar 2018 16:00:33 +0000 Subject: Stable links to "current" releases Message-ID: <20180304160033.631a0ac5@copperhead.int.arc7.info> Hello. I'm considering putting together a Maven plugin that's capable of producing jlinked distributions for a selectable range of platforms. That is, you can specify that you want to produce a distribution for macOS, Linux, and Windows, and you'll get one for each of those platforms in a single plugin execution. Actually achieving this would involve fetching a binary distribution of the JDK for each specified platform at build time (and caching it locally, as it's rather a large download). Is there any chance we could get "current" links for the OpenJDK builds? For example, the plugin could simply hit: https://download.java.net/java/GA/jdk9/current/binaries/openjdk-current_windows-x64_bin.tar.gz https://download.java.net/java/GA/jdk9/current/binaries/openjdk-current_windows-x64_bin.tar.gz.sha256 ... and would automatically get whatever is the latest version of JDK 9 released. The plugin could, of course, specify version numbers manually, but I'd then be playing a constant game of catch-up for new versions and I'm not sure what (if any) guarantees download.java.net gives for old versions of binaries. If there's a better way to achieve the above, I'm open to suggestions. -- Mark Raynsford | http://www.io7m.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 228 bytes Desc: OpenPGP digital signature URL: From mark.reinhold at oracle.com Mon Mar 5 16:38:15 2018 From: mark.reinhold at oracle.com (mark.reinhold at oracle.com) Date: Mon, 05 Mar 2018 08:38:15 -0800 Subject: Stable links to "current" releases In-Reply-To: <20180304160033.631a0ac5@copperhead.int.arc7.info> References: <20180304160033.631a0ac5@copperhead.int.arc7.info> Message-ID: <20180305083815.147222294@eggemoggin.niobe.net> 2018/3/4 8:00:33 -0800, Mark Raynsford : > I'm considering putting together a Maven plugin that's capable of > producing jlinked distributions for a selectable range of platforms. > That is, you can specify that you want to produce a distribution for > macOS, Linux, and Windows, and you'll get one for each of those > platforms in a single plugin execution. > > Actually achieving this would involve fetching a binary distribution of > the JDK for each specified platform at build time (and caching it > locally, as it's rather a large download). > > Is there any chance we could get "current" links for the OpenJDK builds? > For example, the plugin could simply hit: > > https://download.java.net/java/GA/jdk9/current/binaries/openjdk-current_windows-x64_bin.tar.gz > https://download.java.net/java/GA/jdk9/current/binaries/openjdk-current_windows-x64_bin.tar.gz.sha256 > > ... and would automatically get whatever is the latest version of JDK 9 > released. > > The plugin could, of course, specify version numbers manually, but I'd > then be playing a constant game of catch-up for new versions and I'm not > sure what (if any) guarantees download.java.net gives for old versions > of binaries. Interesting idea -- I think we could work something out here. I assume you're primarily interested in the GPL'd OpenJDK builds? How about URLs such as the following: jdk.java.net/10/{linux,macos,windows}-x64 jdk.java.net/10.0.1/{linux,macos,windows}-x64 jdk.java.net/10.0.2/{linux,macos,windows}-x64 jdk.java.net/10/latest -> 10.0.2 jdk.java.net/latest -> 10/latest Each of these would, in turn, redirect to an actual .tgz file over on download.java.net. - Mark From org.openjdk at io7m.com Tue Mar 6 09:25:17 2018 From: org.openjdk at io7m.com (Mark Raynsford) Date: Tue, 6 Mar 2018 09:25:17 +0000 Subject: Stable links to "current" releases In-Reply-To: <20180305083815.147222294@eggemoggin.niobe.net> References: <20180304160033.631a0ac5@copperhead.int.arc7.info> <20180305083815.147222294@eggemoggin.niobe.net> Message-ID: <20180306092517.091ef2ec@copperhead.int.arc7.info> On 2018-03-05T08:38:15 -0800 mark.reinhold at oracle.com wrote: > > Interesting idea -- I think we could work something out here. > > I assume you're primarily interested in the GPL'd OpenJDK builds? > > How about URLs such as the following: > > jdk.java.net/10/{linux,macos,windows}-x64 > jdk.java.net/10.0.1/{linux,macos,windows}-x64 > jdk.java.net/10.0.2/{linux,macos,windows}-x64 > jdk.java.net/10/latest -> 10.0.2 > jdk.java.net/latest -> 10/latest > > Each of these would, in turn, redirect to an actual .tgz file over on > download.java.net. Hello! This looks good to me. I'm interested in anything and everything that can be downloaded without requiring the user to manually agree to a EULA. Would the same scheme apply to SHA256 checksum files? I'm also intending to add builds from the AdoptOpenJDK project. The more the merrier. -- Mark Raynsford | http://www.io7m.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 228 bytes Desc: OpenPGP digital signature URL: