Commit Graph

242 Commits

Author SHA1 Message Date
Michael Allman c0b4764683 Print the launcher version and exit if it's passed exactly one argument named "--version" 2011-11-26 16:30:38 -08:00
Mark Harrah b16d4a36ad Remove local Maven repository from launcher's list of repositories
This is motivated by the high likelihood that it is causing the
 various problems some users have with the launcher not finding
 some dependencies. ref #217.
2011-11-09 18:30:35 -05:00
Mark Harrah 8e9e4b22cd checksums configurable in [ivy] section. fixes #235 2011-11-04 13:40:59 -04:00
Mark Harrah bb84e32291 fixes #226. allow launched applications to signal the launcher's job is complete by returning Continue 2011-10-14 19:53:01 -04:00
Mark Harrah 2c9e943daa require module descriptor in launcher 2011-10-14 07:52:10 -04:00
Mark Harrah dcfdbe94b4 launcher: retrieve artifacts with 'bundle' type 2011-10-14 07:52:10 -04:00
Aaron D. Valade 96e5a7957c added parsing of a credentials file to add Ivy Credentials to the keyring
If the user sets the _sbt.boot.credentials_ system property or the
_SBT_CREDENTIALS_ environment variable, then that file gets parsed for a
realm, hostname, username and password which is added to the
CredentialsStore static instance.
2011-09-21 15:57:42 +08:00
Mark Harrah 02f666ec0e miscellaneous fixes 2011-08-31 20:59:40 -04:00
Mark Harrah a2fe069fb0 default to shared boot directory 2011-08-31 08:25:11 -04:00
Mark Harrah 112f58db28 fix ScalaProviderTest 2011-08-14 10:53:37 -04:00
Mark Harrah 67db9cc743 expose launcher repositories 2011-07-19 21:29:05 -04:00
Mark Harrah 5f8a73cc21 extra component for supporting dynamic changes to sbt's classpath. fixes #83 2011-07-01 23:38:03 -04:00
Mark Harrah eb6a59bdd3 move locks test back to a normal unit test 2011-06-27 22:29:48 -04:00
Mark Harrah c7885ce1ff build work 2011-06-26 12:27:07 -04:00
Mark Harrah 9f4778a2a0 try to work around internal FileChannel NPE 2011-06-26 12:27:06 -04:00
Mark Harrah 1a4646b7f5 move locks test to scripted tests 2011-06-26 12:27:06 -04:00
Mark Harrah 9878d9b3ff allow specifying artifact/ivy patterns in [repositories] separately 2011-06-25 09:37:26 -04:00
Mark Harrah 4f2490d124 launcher: don't retrieve artifacts with classifiers 2011-06-11 20:09:15 -04:00
Mark Harrah fdbeb7742b exclude JUnit from Scala dependencies 2011-06-11 20:09:15 -04:00
Mark Harrah 13adcfb28c fix some tests 2011-06-10 08:08:51 -04:00
Mark Harrah 6cebff588b use class loader argument instead of loader of current class 2011-06-10 07:48:53 -04:00
e.e d3si9n 79de239ce8 fix path resolution on Windows 2011-06-05 22:31:50 -04:00
Mark Harrah b7c20a1149 bump versions 2011-06-03 00:43:40 -04:00
Mark Harrah f38f599157 0.10.0 2011-06-02 23:32:48 -04:00
Mark Harrah fa62e889da bump versions 2011-06-01 03:04:58 -04:00
Mark Harrah ed5bb1a2d4 0.9.10 2011-06-01 02:37:05 -04:00
Mark Harrah f786060883 Revert to using 2.8.1 2011-05-30 17:49:39 -04:00
Mark Harrah 349b510c93 bump versions 2011-05-29 19:17:31 -04:00
Mark Harrah 9002720933 move to 2.9.0-1, bump to 0.9.9 2011-05-29 00:22:08 -04:00
Mark Harrah 04a3f090f6 version bump 2011-05-23 22:39:20 -04:00
Mark Harrah 41162b2484 0.9.8 2011-05-23 22:38:53 -04:00
Mark Harrah 4509428af9 locking of boot directory can be disabled by with [boot].lock: true in boot.properties 2011-05-19 22:04:05 -04:00
Mark Harrah c534b8c289 bump version 2011-05-17 21:07:55 -04:00
Mark Harrah 63acaca0a6 0.9.7 2011-05-17 20:46:58 -04:00
Mark Harrah 3280eed015 properly escape substituted variables for use with Matcher 2011-05-17 12:19:08 -04:00
Mark Harrah c427c3e503 use shorter name for repository 2011-05-16 22:56:07 -04:00
Mark Harrah aa0824584c version bumps 2011-05-12 22:46:49 -04:00
Mark Harrah ffc3d9b496 0.9.6 2011-05-12 22:45:59 -04:00
Mark Harrah 3acac34b97 bump versions 2011-05-12 09:27:29 -04:00
Mark Harrah 081f296d55 0.9.5 2011-05-12 09:26:40 -04:00
Mark Harrah 5232d0db74 fix optional configuration for scala-library 2011-05-12 09:26:15 -04:00
Mark Harrah d35d76d204 version bumps 2011-04-23 19:29:58 -04:00
Mark Harrah 6db4650035 0.9.4 2011-04-23 19:29:50 -04:00
Mark Harrah 818f14a9a6 launcher applies initial -Dkey=val arguments as settings for convenience 2011-04-19 17:54:29 -04:00
Mark Harrah 6d36b3902f trying a command line configurable default boot.properties 2011-04-18 22:49:52 -04:00
Mark Harrah 14618dc21e system property substitution in launch configuration IDs 2011-04-18 22:49:35 -04:00
Mark Harrah 83f50f42c4 substitute system properties in paths in launcher 2011-04-18 22:17:55 -04:00
Mark Harrah 4328d7d1f1 Hack to avoid Ivy checking for sources/javadocs for every module 2011-04-15 18:31:16 -04:00
Mark Harrah 3e29126cbf support checksum generation and checking, enable by default 2011-04-15 18:25:54 -04:00
Mark Harrah fe75bade98 continuations test for compiler plugin support 2011-04-12 22:58:32 -04:00
Mark Harrah 18cfaa7414 finals 2011-04-12 20:28:30 -04:00
Mark Harrah 988c22c653 support reason for retrieving jars in launcher
specifically, identify when a Scala version is downloaded for
 running the application itself
2011-04-11 00:44:28 -04:00
Mark Harrah 14c6ee4b2a updating tests to use newer Scala versions 2011-04-08 19:34:23 -04:00
Mark Harrah 186895d27d bump versions 2011-04-06 22:00:00 -04:00
Mark Harrah 14d2adb4bc versions for 0.9.3 2011-04-06 21:57:21 -04:00
Mark Harrah 68dfe723e7 versions to 0.9.3-SNAPSHOT 2011-03-16 22:30:50 -04:00
Mark Harrah e212756828 versions for 0.9.2 2011-03-16 22:24:23 -04:00
Mark Harrah d371ff9314 more consistent configuration of the Ivy user directory 2011-03-12 10:28:53 -05:00
Mark Harrah 24e30f14c8 version bump 2011-03-06 15:32:26 -05:00
Mark Harrah 3ce0e5dd2d versions for 0.9.1 2011-03-06 15:32:26 -05:00
Mark Harrah ec8c5434af jline support for 2.9 2011-03-05 05:58:10 -05:00
Mark Harrah d4e641e115 delayed version bump 2011-03-04 06:17:56 -05:00
Mark Harrah 4cd6e60360 add 'full' option to 'reboot' that cleans project/boot before restarting 2011-03-01 09:44:45 -05:00
Mark Harrah 286e8865cf use 'latest-revision' conflict manager in launcher instead of 'strict' 2011-02-22 07:18:46 -05:00
Mark Harrah 8b63751c8a drop properties fill 2011-02-13 19:02:01 -05:00
Mark Harrah 171cbeb9ce bump to 2.8.1 2010-11-13 19:07:32 -05:00
Mark Harrah 7a36bb2498 use 2.8.1.RC4 2010-10-26 17:58:08 -04:00
Mark Harrah 5ed8f3c042 improving incremental compilation
support lazy arguments in data type generator
SafeLazy implementation that explicitly clears the reference to the thunk
in API representation, drop synthetic modifier and merge deferred into abstract
handle cyclic structures in API generation, display, comparison, persistence
gzip compile cache file
bump to 2.8.1.RC3, project definition cleanup
fix main method detection to check for the right name
properly view inherited definitions
exclude constructors of ancestors
2010-10-22 21:55:16 -04:00
Mark Harrah b6ff9d8661 2.8.1.RC2 2010-09-30 07:21:07 -04:00
Mark Harrah a630aed777 update to Scala 2.8.1.RC1, Ivy 2.2.0-rc1
use dependencies compiled against Scala 2.8.0
2010-09-21 22:09:08 -04:00
Mark Harrah 1a8f4a9874 fix launch test 2010-08-21 22:47:26 -04:00
Mark Harrah dff30c036e sbt and Scala classifiers can be configured in build.properties
The sbt.classifiers property sets the classifiers for sbt and
scala.classifiers sets it for Scala.  Note that when creating a
project, Scala and sbt are retrieved right after project setup.

Changes to *.classifiers will only apply if project/boot is
removed or a new version of Scala is retrieved.
2010-08-11 18:50:44 -04:00
Mark Harrah d7b66458f2 first shot at general command/definition model 2010-07-17 12:07:41 -04:00
Mark Harrah c1ca823214 extend Iterable instead of Traversable because of toStream looping 2010-06-21 21:24:25 -04:00
Mark Harrah b2077ce60c more 2.8 updates, launcher compiles and runs with 2.8 2010-06-15 20:38:18 -04:00
Mark Harrah 393580f1cf update comment 2010-06-07 10:51:22 -04:00
Mark Harrah 0fa71dc9af bump default sbt version used for new projects 2010-05-16 14:43:07 -04:00
Mark Harrah f70442c5c7 * new [ivy] section with 'cache-directory' label in launcher configuration to specify the cache directory used by the launcher for Scala and sbt
* new label 'classifiers' accepted under [app] section to retrieve other artifacts for the application
2010-05-13 18:38:55 -04:00
Mark Harrah cb2c01c866 versions, notes for 0.7.3 2010-04-06 19:30:03 -04:00
Mark Harrah 105ef1d1db Exclude maven local repository when Scala version is a snapshot. Should fix issues with new snapshots not being retrieved. 2010-04-03 13:35:27 -04:00
Mark Harrah 0bcc65f0c8 version bumps for 0.7.2 2010-03-23 20:38:04 -04:00
Mark Harrah 54bc694081 * cleaned up build
* made Launcher usable outside of official jar
2010-03-19 19:29:57 -04:00
Mark Harrah 0f3aa56295 Fix scala version used to load sbt to be 2.7.7 2010-03-03 22:04:04 -05:00
Mark Harrah 42cefd37be 0.7.1 2010-02-21 20:21:18 -05:00
Mark Harrah 9f524cbf83 convenience method on ScalaInstance to get both library and compiler jars 2010-02-14 20:23:56 -05:00
Mark Harrah 04198061bc Fix ClassLoader for launcher, which fixes web/jsp in sbt 2010-02-08 18:34:10 -05:00
Mark Harrah a33223a02c legal cleanup 2010-02-07 23:45:19 -05:00
Mark Harrah 9ed643cff5 Versions for 0.6.13 2010-02-07 14:13:09 -05:00
Mark Harrah f131fb3108 cleanup in launcher 2010-02-05 19:06:44 -05:00
Mark Harrah 8daaf9ea17 Cut down launcher jar size a bit 2010-02-04 18:56:07 -05:00
Mark Harrah d01be91844 fix GlobalLock behavior when lock file's directory does not exist 2010-01-29 20:29:23 -05:00
Mark Harrah 586650d7a9 0.6.12 part II 2010-01-28 22:15:56 -05:00
Mark Harrah a958fa6484 Use a machine-global lock on Ivy because caches are not safe for concurrent access 2010-01-28 19:31:04 -05:00
Mark Harrah 3e3519b3a7 cleanup 2010-01-27 20:39:07 -05:00
Mark Harrah 4a566eb581 fix project creation prompt and launcher cache 2010-01-27 18:22:42 -05:00
Mark Harrah 725beacd9a Ignore 'unknown resolver' errors, work with published version of SBinary, work towards fixing OOME:PermGen issues on reload 2010-01-26 18:41:03 -05:00
Mark Harrah 5f9f3729d1 work on source api parts 2010-01-22 20:17:49 -05:00
Mark Harrah 200581abc0 Add support for a deep reload where the configuration is reread 2010-01-12 18:52:14 -05:00
Mark Harrah 67f8fc5c06 compile fixes 2010-01-10 21:06:00 -05:00
Mark Harrah 377e0345c7 Exclude Scala jars when launcher retrieves application 2010-01-10 19:01:16 -05:00
Mark Harrah 2d9a7b12cc Add scala.classifiers property to specify classifiers for additional scala artifacts to retrieve. 2010-01-10 16:46:15 -05:00
Mark Harrah a890747165 fix def.scala.version to 2.7.7 2010-01-07 21:36:52 -05:00
Mark Harrah b63b955dca Add Java class file version to compiler interface ID so that it is recompiled when moving between Java versions. 2009-12-29 22:14:56 -05:00
Mark Harrah ffae8304d8 version bumps for local builds 2009-12-20 23:48:08 -05:00
Mark Harrah 3b28156f84 Can specify in launcher configuration extra paths to go on the application classpath:
[app]
 ...
 resources: conf, resources
2009-12-18 17:46:57 -05:00
Mark Harrah 239e9198c7 Bump to Ivy 2.1.0, don't print stack trace for retrieve exceptions 2009-12-18 09:46:04 -05:00
Mark Harrah 307d277428 0.6.7 for publishing 2009-12-12 08:38:15 -05:00
Mark Harrah f186d50daf Improving launcher error handling... 2009-12-10 21:04:51 -05:00
Mark Harrah 14db8c2079 Correct classpath for plugins 2009-12-07 19:02:30 -05:00
Mark Harrah 41563c59bb Better handling of invalid Scala versions 2009-12-06 22:58:05 -05:00
Mark Harrah c4d039a594 default to 0.6.3 in launcher 2009-11-11 21:35:40 -05:00
Mark Harrah 0f539ec321 Fixing tests, still need to fix launcher test 2009-11-11 18:41:39 -05:00
Mark Harrah 9516e54e0a Fix issue where compiler interface was poorly cached 2009-11-09 22:02:53 -05:00
Mark Harrah 1454b24e7e Allow URL to be specified for configuration location. No caching is done. 2009-11-05 08:28:09 -05:00
Mark Harrah 99c6891ae2 Version bumps 2009-11-04 21:54:46 -05:00
Mark Harrah e559ca113f Use Nathan's databinder.net repository to get sbt 2009-10-24 18:42:54 -04:00
Mark Harrah 4143aff1dc In launcher configuration parser, convert '/' in paths to platform separator 2009-10-24 13:27:07 -04:00
Mark Harrah 92fc01f185 Use lock file to control access to boot directory during update 2009-10-24 13:07:42 -04:00
Mark Harrah bb02f60e5e Set up Ivy cache for launcher to properly handle SNAPSHOTs. 2009-10-24 09:14:32 -04:00
Mark Harrah dc7da2dc98 Added test repository to publish to. 2009-10-23 22:04:15 -04:00
Mark Harrah 94a0fb5916 Allow version property names to be specified 2009-10-19 23:18:13 -04:00
Mark Harrah 02e2d6425d versions set to 0.6.0 2009-10-19 18:31:22 -04:00
Mark Harrah fa73205ac3 Extra logging, update default sbt.boot.properties
Tests for standard library substitutes
2009-10-18 22:25:50 -04:00
Mark Harrah 33434bc82b Cut size of final jar by 300k. 2009-10-17 22:40:02 -04:00
Mark Harrah f045123989 Launcher documentation 2009-10-17 09:48:39 -04:00
Mark Harrah 1c9cabc69f Update launch specification, fix launch initialization, general cleanup 2009-10-15 18:10:11 -04:00
Mark Harrah 51d8d242d7 some API documentation 2009-10-15 18:09:15 -04:00
Mark Harrah a2c0fc941b some API documentation 2009-10-15 18:06:01 -04:00
Mark Harrah f5b3aa47fc Project creation and property filling 2009-10-14 20:53:15 -04:00
Mark Harrah 8e08708792 Fix global lock implementation for ComponentManager 2009-10-14 18:05:53 -04:00
Mark Harrah 1d40e5e71d Synchronize caches 2009-10-10 22:01:03 -04:00
Mark Harrah e88214efbd Additions to help the sbt/xsbt combination 2009-10-09 19:12:14 -04:00
Mark Harrah ac645c4387 Fixes for the build 2009-10-05 20:26:51 -04:00
Mark Harrah 34fd967c66 General support for searching for the working directory to use for the launched application 2009-10-01 22:59:02 -04:00
Mark Harrah b2fdc07505 Turned sbt launcher into a general Scala application launcher as described in launch.specification 2009-09-27 14:39:26 -04:00
Mark Harrah 56e96c3f49 New generalized launcher 2009-09-26 02:18:04 -04:00
Mark Harrah 76e81409df Updates to Ivy component and getting launcher component working. 2009-09-08 23:13:30 -04:00
Mark Harrah 72ce84933d Fixed tests 2009-09-06 16:05:31 -04:00
Mark Harrah 8bfb2802fb Filling in logging and making cross-compile work. 2009-09-05 12:19:34 -04:00
Mark Harrah 50d350abd0 Compilation with analysis independent of Scala version of sbt.
Basic test for this.
2009-08-23 22:21:15 -04:00
Mark Harrah efb1604f0e Test and fixes for getting ClassLoader for Scala jars. 2009-08-21 08:55:11 -04:00
Mark Harrah b716d33ba3 Initial code for the loader. 2009-08-21 08:12:43 -04:00