Commit Graph

321 Commits

Author SHA1 Message Date
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
eugene yokota f9ecf07c77 Merge pull request #129 from cunei/fix_windows_missing_quotes
Missing quotes may cause incorrect PATH expansion
2016-11-16 12:14:09 -05:00
Antonio Cunei 345890880e Missing quotes may cause incorrect PATH expansion, fixed
If PATH contains ampersands etc, PATH may be
incorrectly expanded.
2016-11-16 14:26:39 +01:00
eugene yokota d302cf7d45 Merge pull request #127 from muuki88/fix/packageName
Fix/package name
2016-10-31 16:38:50 -04:00
Nepomuk Seiler 95db5dcb01
Fix package name 2016-10-31 21:30:39 +01:00
Nepomuk Seiler 1148f6f350
Upgrade native-packager 2016-10-31 21:30:31 +01:00
Dale Wijnand d8bf3825c3 Fixup debian changelog (#124) 2016-10-28 15:37:35 +01:00
Dale Wijnand 7b08fadd4a
My arch-enemy, the trailing comma 2016-10-28 14:58:48 +01:00
Dale Wijnand ad3b90bed8 Add the debian changelog, for 0.13.13 release (#123) 2016-10-28 14:54:41 +01:00
Miranda Kastemaa c4aa9052b5 Use more reliable shift loop for processing args 2016-10-17 15:51:53 +03:00
eugene yokota a1dfe86698 Merge pull request #112 from fommil/lunix
add support for .jvmopts to the bash launcher
2016-08-25 16:46:47 -04:00
Sam Halliday d9da67979a -java-home should set PATH for javac usage 2016-08-25 20:16:35 +01:00
Sam Halliday 45badebcee add support for .jvmopts to the bash launcher 2016-08-25 20:16:35 +01:00
eugene yokota a6e8d62c19 Merge pull request #111 from fommil/windows
add support for .jvmopts and .java-version to Windows launcher
2016-08-24 16:10:41 -04:00
Sam Halliday daed09b8cd add support for .jvmopts and .java-version to Windows launcher 2016-08-24 20:55:02 +01:00
eugene yokota 18e2fa2f28 Merge pull request #110 from sbt/fix-win-path
Upgrade to sbt-native-packager 1.1.1. Fixes #76.
2016-08-22 11:57:32 -04:00
Dale Wijnand a1e1a570e0 Add sbt.build.version from CONTRIBUTING to Travis config 2016-08-22 12:22:29 +01:00