Commit Graph

61 Commits

Author SHA1 Message Date
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 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
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
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
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
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 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
杨博 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 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 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 b8173fc41b Removed autodownload from the scripts. 2012-05-09 09:40:10 -04:00
Josh Suereth 70d0b31904 Bumped version numbers for 0.11.3 2012-05-07 08:19:44 -04:00
Josh Suereth ff05caba8b updated to latest native packager, added universal 'zip' generation to the build. 2012-03-15 14:22:10 -04:00
Josh Suereth 0271bf92e2 Improvements to sbt.bat suggested by @retronym 2012-02-02 15:35:38 -05:00
Josh Suereth cea72e8ca7 Adding a library for launcher scripts.
* Moved sbt into src/linux (for now, to disambiguate from windows)
* Created sbt-launch-lib.bash to help scripts which want to use the SBT Launcher
  but are not SBT, e.g. g8 or cs.
2012-02-02 12:11:23 -05:00
Josh Suereth 084480c57b Merge pull request #2 from szeiger/windows-shell-script
Windows shell script
2012-01-18 09:00:37 -08:00
Stefan Zeiger 7e5b93fbf8 Make sbt/jline work properly in Cygwin's MinTTY terminal 2012-01-18 17:32:39 +01:00
Stefan Zeiger bc12a127ee Add sbt launcher script for Cygwin and MSYS to Windows installer 2012-01-18 16:58:30 +01:00
Stefan Zeiger f889a92c34 Reflow License.rtf to make it more readable in the Windows installer 2012-01-18 16:57:48 +01:00
Stefan Zeiger cf14e6ba7b Add Jansi license file (because it is not contained in jansi.jar) 2012-01-18 16:50:17 +01:00
Josh Suereth 7e27da416e Merge branch 'full-packaging' of github.com:sbt/sbt-launcher-package into full-packaging 2012-01-18 09:49:15 -05:00
Josh Suereth 4d490ccfd1 Added no-global option.
Added -no-global option to point -sbt-dir at local location.  Helps deal with bad global plugins.
2012-01-18 09:49:00 -05:00
Stefan Zeiger 2f19508ae5 Package Jansi plus a bootstrap launcher in the MSI installer 2012-01-17 18:03:26 +01:00
Josh Suereth 31780795bc Removing plugins and focusing on launcher script. 2012-01-16 15:24:19 -05:00
Josh Suereth b429b0a246 Removed echo on bat file 2012-01-11 13:07:12 -05:00
Josh Suereth 1a2435f746 Added UI to windows MSI.
* Can now select installation directory of SBT.
* Can optionally add SBT to the path, instead of required.
* Displays a license agreement to the user.
2012-01-11 11:50:57 -05:00
Josh Suereth dea48caddd Modified WIX xml so it *WORKS* and adds sbt to path appropriately. Requires restart for some strange reason. No help on interwebs but a few others noticed the issue. 2011-12-28 09:45:58 -05:00
Josh Suereth eba16354ea First attempt at a windows MSI.
* Windows WIX configuration
* Windows package configuration
* Default lame-o bat file for SBT, until I get external contribs.
2011-12-24 00:46:15 -05:00
Josh Suereth b299acd858 Merge etc branch into SBT script, so we operate more like a linux package. 2011-12-21 14:20:16 -05:00
Josh Suereth 1776f10a5c Test migration to a dedicated packaging plugin. 2011-12-19 21:15:10 -05:00
Josh Suereth 57dd8bc0ac Added a default config file.
Added an /etc/sbt/sbtopts file that contains defaults.
Added a hook to the sbt script to pull in from /etc.
Allowed comments in sbtopts configuration.
2011-12-06 22:37:02 -05:00
Josh Suereth 34fed66022 First cut at debian packaging.
This adds a Debian build section that will create
a new .deb file for the sbt script.  This includes
a new src/debian and src/debian-gzipped directories
for placing files that will be included in the
distribution on debian.

Initial cut at making debian packages
2011-12-06 20:32:24 -05:00
Josh Suereth 521cc31ab9 Fixed task definition with 1 dependency 2011-10-28 11:40:40 -04:00
Josh Suereth 4883983afa Adding new DSL for defining settings such they you can't use tasks in a setting definition 2011-10-28 11:22:28 -04:00
Josh Suereth d72d8808cb Simple task DSL for those of us who are lazy 2011-09-14 14:16:02 -04:00
Josh Suereth 8836f37c9c Modified paulp's template project to be an SBT plugin 2011-09-14 13:01:48 -04:00
Paul Phillips 01c75c8477 Phoned in some tests. Updated the docs again. 2011-08-25 16:01:53 -07:00
Paul Phillips 01b1daf0b9 Main. 2011-08-14 10:17:16 -07:00