Commit Graph

437 Commits

Author SHA1 Message Date
Eugene Yokota 58cf5f95ca Remove Java requirements for Debian/Ubuntu package
Ref sbt/sbt#2931
Ref sbt/sbt#3105

Requiring `"openjdk-8-jdk"` prevents sbt 0.13.15 update on Ubuntu 14.04 LTS "Trusty Tahr."
Since there seems to be no reasonable way to depend on JDK 6, 7, or 8 without breaking some distro or use case, I'm going to remove the requirement here.
2017-04-26 19:25:16 -04:00
Eugene Yokota c86f64b451 support for packaging sbt 1 2017-04-18 13:28:12 -04:00
Eugene Yokota 70c725fc3b workaround sbt-native-packager issue 2017-04-12 23:41:28 -04:00
eugene yokota d5f8aff4c2 Merge pull request #156 from sbt/wip/150
Workaround for brew test sbt
2017-04-12 20:20:57 -04:00
eugene yokota 7800a73c82 Merge pull request #155 from sbt/wip/149
Replace realpath with something Mac compat
2017-04-12 20:20:43 -04:00
eugene yokota b5c7aa799e Merge pull request #153 from sbt/wip/rpm
Remove RPM requirements
2017-04-12 20:20:20 -04:00
Eugene Yokota 36e8246825 Workaround for brew test sbt
brew test sbt doesn't detect java version correctly. This change makes the script a bit more safer.

Fixes #150
2017-04-12 07:57:27 -04:00
Eugene Yokota 226c34a7bf Replace realpath with something Mac compat
Mac by default doesn't have realpath(1).
This replaces it with an equivalent bash script, so we can reduce script replacements on Homebrew.

Fixes #149
2017-04-12 07:53:43 -04:00
Eugene Yokota b2b84cc052 Remove RPM requirements
Fixes #151
Ref #144, #62

We are removing RPM requirements for JDK because it's not possible to reliably specify JDK 1.8 across different distros.
2017-04-12 05:20:00 -04:00
eugene yokota 4043810dda Fix installer name 2017-04-09 07:37:42 -07:00
eugene yokota bd18a0c2c6 Fix Windows script 2017-04-08 23:35:20 -07:00
eugene yokota 70ad35ebb6 Minor Windows fixes 2017-04-07 22:13:12 -07:00
Eugene Yokota 0f8b3b0ffb Fix bash script 2017-04-07 04:13:13 -04:00
Dale Wijnand 7ac685831c Merge pull request #148 from sbt/wip/mkdir2
Make full installer optional
2017-04-07 07:44:54 +01:00
Eugene Yokota 04bc5a9dd2 Publish full installers to lightbend organization
Offline installation exceeds 50MB file limit for OSS organization.
2017-04-07 01:40:05 -04:00
Eugene Yokota 2fad446e67 Make offline installer optional 2017-04-07 00:56:55 -04:00
Eugene Yokota d3ca77a95d mkdir before rsync
Fixes sbt/sbt#3005
2017-04-07 00:32:16 -04:00
Dale Wijnand f760ef41fb Merge pull request #147 from sbt/wip/mkdir
mkdir -p
2017-03-17 21:46:42 +00:00
Eugene Yokota 1ea1f5d52d mkdir -p
Fixes sbt/sbt#3005
2017-03-17 16:54:04 -04:00
eugene yokota 304dd726dc Merge pull request #146 from monktastic/patch-1
Preserve quotes in system properties
2017-03-16 17:53:12 -07:00
monktastic c7f3be3b58 Preserve quotes in system properties
Today you cannot have spaces in system properties:

$ sbt -Dfoo="bar baz" ...

It passes [-Dfoo=bar] and [baz] to java (see https://github.com/sbt/sbt/issues/2787).

This change allows you to do:

$ sbt "-Dfoo=bar baz"

which will pass ["-Dfoo=bar baz"]. And both of these two:

$ sbt "-Dfoo=bar"
$ sbt -Dfoo=bar

still work, passing [-Dfoo=bar].
2017-03-16 17:01:57 -07:00
Eugene Yokota 8f0d61ec0d Clean dist 2017-03-11 16:34:18 -05:00
Eugene Yokota e4dae9a120 Fix Java 9 support 2017-03-11 16:34:10 -05:00
Eugene Yokota a867202ea5 Add ivy-releases to resolver 2017-03-11 14:29:58 -05:00
Dale Wijnand c6c8470f98 Merge pull request #145 from sbt/wip/offline
add offline installation
2017-03-10 22:19:02 +00:00
Eugene Yokota cea5d178d8 add offline installtion
To utilize local preloaded repo, this will create lib/ directory with all artifacts required for sbt. This can be rsynced to the preloaded repo.
2017-03-10 16:56:00 -05:00
eugene yokota 479a28ac40 Merge pull request #139 from sbt/wip/linux
Update the build and fix Linux installers
2017-03-09 23:33:14 -05:00
eugene yokota 21b7fdbd0f Merge branch 'master' into wip/linux 2017-03-09 23:32:47 -05:00
eugene yokota 37e970cdcd Merge pull request #143 from sbt/wip/jdk9
add JDK 9 support
2017-03-09 23:30:38 -05:00
Eugene Yokota 39d8504045 --rt-ext-dir returns a dir specific to JDK 9 ver 2017-03-09 20:10:59 -05:00
eugene yokota 22dffe43b5 Merge pull request #144 from cunei/wip-java-devel-fix
Fix java-devel dependency on rpm-based systems
2017-02-24 00:19:58 +09:00
Antonio Cunei 84624d8ce5 Fix java-devel dependency on rpm-based systems
The dependency as specified won't work on Fedora 25.

The situation concerning requiring the selection of Java versions
is tricky, and is detailed at:
https://github.com/elastic/logstash/issues/6275
The conclusion of that thread is that "it is not possible to
provide a package that correctly works for users of all supported
Java packages.", meaning a dependency on either one of OpenJDK or
Oracle JDK.

Assuming the dependency is on OpenJDK, the list of metapackages
provided is listed at:
https://github.com/elastic/logstash/issues/6275#issuecomment-261356980

The dependency "java-1.8.0-devel" will be satisfied by any
revision of OpenJDK 1.8, so that is the one that is proposed
in this pull request.
2017-02-22 11:56:57 +01:00
Eugene Yokota 605a17d949 move JDK9 logic within copyRt 2017-02-19 09:16:40 +01:00
Eugene Yokota dfc3312c7d oraclejdk8 2017-02-15 12:21:08 -05:00
Eugene Yokota 1b9f618efa Implement JDK 9 support for Windows 2017-02-15 12:18:51 -05:00
Eugene Yokota e8670ba78f Change to Windows lineending 2017-02-15 12:17:23 -05:00
Eugene Yokota f77c15496b add JDK 9 support 2017-02-15 04:57:47 -05:00
Eugene Yokota 8cc3cdfc29 java-devel >= 1.8, java-devel < 1.9 2017-01-21 07:19:57 -05:00
Eugene Yokota b6d6f243d8 Hardcode to OpenJDK 8
Fixes sbt/sbt#2931

java6-runtime-headless is a virtual package. On some distribution it actually installs JDK 9.
2017-01-21 06:57:48 -05:00
Eugene Yokota 965b96acc6 Update the build 2017-01-21 06:36:33 -05:00
Eugene Yokota 3235fd1bf1 Update copyright and license 2017-01-21 05:56:55 -05:00
Dale Wijnand 5252119d64 Merge pull request #138 from sbt/wip/java_version2
Fix checkJava function
2017-01-16 08:50:38 +00:00
Eugene Yokota acd610be67 Fix checkJava function 2017-01-16 03:09:29 -05:00
eugene yokota 86afaaebb4 Merge pull request #134 from Atry/patch-2
Don't set MaxMetaspaceSize on Java 8 by default
2017-01-11 10:29:38 -05:00
Dale Wijnand 1ca44177f5 Merge pull request #136 from sbt/wip/java_version
Fix Java version detection
2017-01-11 15:27:00 +00:00
Eugene Yokota f14b165523 Fix java version detection
Previously awk was used to grab the full Java version such as 1.8.0_91.
While this is more accurate, 1.8.0_91 is not a number that can be compared by bash, and thus JDK8 detection logics were failing.
Fixes #135
2017-01-11 00:20:38 -05:00
杨博 (Yang Bo) e1d64533f3 Don't set MaxMetaspaceSize on Java 8 by default 2017-01-11 12:00:34 +08:00
eugene yokota 697e1239cb Merge pull request #122 from ahihi/master
Fix handling of arguments with asterisks on Windows
2016-12-31 02:09:58 -05:00
eugene yokota f9f389ec5e Merge pull request #131 from wsargent/patch-1
Add MSYS as a "cygwin" like
2016-11-28 01:08:46 -05:00
Will Sargent 04dfd94ff5 Add MSYS as a "cygwin" like 2016-11-27 20:30:58 -08:00