Commit Graph

549 Commits

Author SHA1 Message Date
Josh Suereth 595501304e Refixes #50. Apparently a stealth cd was causing issues here. 2013-07-30 19:27:39 -04:00
Josh Suereth 0d06cb0872 Merge branch 'full-packaging' of github.com:sbt/sbt-launcher-package into full-packaging 2013-07-14 15:36:28 -04:00
Josh Suereth 2b462315e5 Reduce necessary memory 2013-07-14 15:36:07 -04:00
U-jsuereth-win\jsuereth d50c597318 Initial fixes for cygwin issues #50 2013-07-14 15:27:26 -04:00
Josh Suereth a381c60485 Merge pull request #48 from ahjohannessen/dry-improvement
Removed duplicated code with regards to projectID generation.
2013-07-14 06:35:45 -07:00
Alex Henning Johannessen 08fb68c324 Removed duplicated code with regards to projectID generation. 2013-07-13 13:47:26 +01:00
Josh Suereth e5972108a3 Merge pull request #47 from sbt/wip/windows-jansi-fixes
Wip/windows jansi fixes
2013-06-29 07:29:25 -07:00
Josh Suereth 2af99ce0ca Merge remote-tracking branch 'origin/full-packaging' into wip/windows-jansi-fixes 2013-06-29 10:25:40 -04:00
Josh Suereth 2d833ef36e Merge pull request #46 from benevans/shell-expansion
Perform shell expansion when loading sbtopts files.
2013-06-29 07:24:40 -07:00
Josh Suereth 18352254e0 Fix config file loading to do shell expansion first.
from @benevans.
2013-06-29 10:23:49 -04:00
Josh Suereth d16ab1abd1 Migrate universal windows scripts into universal directory.
ALso, added back the commented sbtopts settings.
2013-06-29 10:21:58 -04:00
Josh Suereth 53f9de2735 Migrating to new native packaging plugin abstractions.
* Use new native packaging abstractions for windows mappings.
* Update universal sbt script to be cygwin friendly
* Modify sbt.bat for universal layout
* Fix some stty icanon (no)echo bugs in launcher script.
2013-06-29 10:09:42 -04:00
Josh Suereth b531a824f1 Fixed up MSI generation for new layout. MinGW tests to follow. 2013-06-27 19:56:21 -04:00
Josh Suereth a99f6fffbf Upgrade to in-progress sbt-native-packager plugin, including new support for universal->debian/rpm packages. 2013-06-27 16:43:31 -04:00
Josh Suereth 360428a2eb Modify script for new 0.13 behavior. 2013-06-27 10:28:01 -04:00
Josh Suereth 3b9519b793 Fixes to scripts for working in both cygwin and cmd.exe.
THis basically moves from jline.UnixTerminal to just unix.
2013-06-17 12:56:18 -04:00
Josh Suereth bec43f0a55 Cleanup of launcher package to remove special casing of
JANSI.  This, hopefully, will lead to better compatibility
between the many console-enrichment projects, like:
JLINE-scala, JLINE-1.0, JLINE-2.0 and Jansi itself.

Testing to ensue shortly between 0.12.x + 0.13.x
2013-06-17 12:16:10 -04:00
Ben Evans b57a743369 Perform shell expansion when loading sbtopts files.
This is so that tilde and variable expansion gets performed before
the sbt command line is built, otherwise options like "-ivy ~/.ivy2"
don't work, because the tilde is never expanded.
2013-06-17 10:51:58 +12:00
Josh Suereth f8e4ef438b Merge pull request #43 from cdow/die
Replaced last usage of missing 'die' function.
2013-04-29 10:05:46 -07:00
Josh Suereth 5c6c257bec Merge pull request #42 from cdow/doc
Updated Linux Documentation
2013-04-29 10:05:16 -07:00
Christopher Dow 206a1af38b Replaced last usage of missing 'die' function. 2013-04-23 07:00:12 -07:00
Christopher Dow b84d1d5b52 Removed unused options from the Linux man page 2013-04-22 18:41:27 -07:00
Christopher Dow e21e271053 Added missing arguments to the Linux man page 2013-04-22 18:41:26 -07:00
Christopher Dow 831455f602 Documentation typos 2013-04-22 18:41:26 -07:00
Josh Suereth 3d19938968 Merge branch 'full-packaging' of github.com:sbt/sbt-launcher-package into full-packaging 2012-11-29 04:21:24 -05:00
Josh Suereth b84dac7a1d Merge pull request #27 from bartschuller/realpath
Use realpath to locate relative files, add python impl
2012-11-05 12:39:46 -08:00
Bart Schuller 40f2105070 Use realpath to locate relative files, add sh impl
because Mac OSX doesn't have a realpath binary.

This solves the issue where if you symlink to sbt, it
won't be able to locate the bash library and launcher anymore.

You'd want to do that so you can symlink just sbt to /usr/local/bin
without having to put a bash library file there as well.
In particular, this is what we'd like for Mac homebrew.
2012-11-05 21:24:42 +01:00
Josh Suereth 6fa1b52b94 Merge pull request #37 from szeiger/feature/sbtconfig-for-sbt-sh-launcher
Load sbtconfig.txt in sbt shell script
2012-10-26 07:04:51 -07:00
Stefan Zeiger feb0ffca08 Load sbtconfig.txt in sbt shell script 2012-10-26 15:39:37 +02:00
Josh Suereth f5a22c9576 Merge pull request #35 from sbt/feature/windows-sbt-config
Feature/windows sbt config
2012-10-26 06:07:54 -07:00
Josh Suereth a934680c8d Merge pull request #24 from Atry/full-packaging
Check $JAVA_HOME, and quote arguments and $JAVA_CMD
2012-10-25 09:30:33 -07:00
Josh Suereth a073892de5 Merge pull request #26 from Atry/patch-1
Enable space in arguments.
2012-10-25 09:19:13 -07:00
Josh Suereth db3413e9c1 Fixed issue where TMP environment variable lead to death. 2012-10-25 12:12:28 -04:00
Josh Suereth 37f9d6bf21 Windows config now works. Still an issue with sbt.bat not setting up paths/temp files correctly.... 2012-09-22 10:12:03 -04:00
Josh Suereth 42fbfabc6a Merge branch 'full-packaging' into feature/windows-sbt-config 2012-09-22 08:20:53 -04:00
Josh Suereth 0ac0a4767d Bumped to new sbt launcher that supports publishing universal packages. 2012-09-07 14:08:46 -04:00
Josh Suereth 5407a21803 Use environment variable thanks to lame sbt jenkins plugin 2012-09-07 13:52:05 -04:00
Josh Suereth 872d88ea23 Updated build so you can specify SBT version on the command line. 2012-09-07 12:58:02 -04:00
杨博 7820d3deea Update src/scripts/sbt
Enable space in arguments.
Like: sbt 'run-main com.myhostname.myproject.Main'
2012-09-02 14:31:59 +08:00
杨博 edecd0f1bd Quote arguments and $JAVA_CMD 2012-08-10 12:15:45 +08:00
杨博 1f600d049b Check JAVA_HOME 2012-08-10 12:14:56 +08:00
Josh Suereth 75aedbc3d2 Fixes for build to work with SBT 0.12.0 2012-08-01 12:16:13 -04:00
Josh Suereth df31ed1fcb Fixed issue with sbt versioning for RC releases in windows. 2012-07-19 11:13:03 -04:00
Josh Suereth 41c21b9ed7 Modified SBT launcher bat file so it can load a config file with default settings. 2012-07-19 11:12:15 -04:00
Josh Suereth be912e904b Fixed RPM versioning issue for RC releases. 2012-07-18 10:47:49 -04:00
Josh Suereth 7b69501c8b Fixes for 0.12.0-RC4 release of launcher package. 2012-07-18 10:40:29 -04:00
Josh Suereth 55e0dfdc65 Removed bad practices from sbt bash script.
* No set XYZ arguments allowed.  BAAD sbt practice.
* No longer swaps launcher.  New SBT launchers can handle old SBT.
* SBT script now uses sbt-launch-lib.bash.
2012-07-17 16:37:19 -04:00
Josh Suereth 440ad4bb0b First cut at using metapackages to allow multiple versions of SBT in the same debian repository. 2012-05-29 08:49:02 -04:00
Josh Suereth c91159b363 fixes debian architecture bug. 2012-05-14 12:35:27 -04:00
Josh Suereth 02f6369f17 Closes #14 - Generate INstalled-Size on debian 2012-05-09 15:53:10 -04:00