Commit Graph

9995 Commits

Author SHA1 Message Date
dmharrah c8f0a72da9 Added test for tracking anonymous classes from Java sources
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@895 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 15:17:43 +00:00
dmharrah 3cd6f75b4a More fixes for tracking Java sources.
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@894 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 15:13:55 +00:00
dmharrah dd32ac75da Fix class file resolution issue
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@893 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 13:52:38 +00:00
dmharrah b6da7c4e5c Properly track anonymous classes generated from Java sources.
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@892 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 12:51:29 +00:00
dmharrah 443984daf9 Bump versions
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@889 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 02:34:38 +00:00
dmharrah e150a75fbc Update notice and add license for JDepend-based classfile parser
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@887 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-26 23:17:24 +00:00
dmharrah ab7bdaedab Update notice and add license for JDepend-based classfile parser
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@887 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-26 23:17:24 +00:00
dmharrah 11339e3518 Track dependencies for Java sources using classfile parsing (with the usual limitations of this approach)
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@886 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-26 23:15:02 +00:00
dmharrah ff97bbec4b * Cleanup
* Exposed ClasspathUtilities.toLoader(PathFinder) methods
 * Implemented adding project dependencies for Ivy files



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@885 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-26 19:25:54 +00:00
dmharrah 6cbe27ed95 Fixed scripted test framework to test version of sbt being built. Trying out cross-classloader logger.
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@884 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-25 21:43:25 +00:00
dmharrah d0a9e63140 Fixed dynamic task checking
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@880 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-22 12:05:50 +00:00
dmharrah e58cd74987 Support for classifiers to the extent that Ivy supports them:
- can publish artifacts with classifiers
 - can retrieve artifacts with classifiers, but classifier does not appear in generated pom



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@879 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-22 02:56:57 +00:00
dmharrah 8420606a8c * fixed tab completion for method tasks for multi-project builds
* check that tasks in compoundTask do not reference static tasks
 * make toString of Paths in subprojects relative to root project directory
 * crossScalaVersions is now inherited from parent
 * Added scala-library.jar to the javac classpath
 * Added Process.cat that will send contents of URLs and Files to standard output



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@877 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-21 23:44:29 +00:00
dmharrah f2fe9bcfe3 Fixed tab completion for multi-project builds
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@872 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-16 20:03:20 +00:00
dmharrah 066e5588c7 Added basic binary plugin test
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@870 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-16 16:11:30 +00:00
dmharrah 8067eb42d5 Added test-failed test
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@869 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-16 15:40:12 +00:00
dmharrah f8489a77c5 Revert change that exited on exception in main thread (that behavior is a Scala runner bug)
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@867 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-16 13:51:19 +00:00
dmharrah da85255f8e Properly emulate main thread exceptions terminating application even if other threads are running
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@866 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-16 13:31:46 +00:00
dmharrah b6a693be44 * Fixed 'run' swallowing exceptions.
* sbt test framework extensions can now be defined in a project (to bundle with a test framework, for example)



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@865 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-16 13:00:55 +00:00
dmharrah d746a13232 Added tests for latest partial recompilation fixes.
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@860 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-11 18:49:26 +00:00
dmharrah 6b2c36d0ef * Fixed problem where a dependency on only static members of a Java class was not recorded
* Fixed problem where new dependencies on sources not included in the compilation were not added



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@859 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-11 18:48:35 +00:00
dmharrah 39573225d1 Fix Logger to work when jline is not available
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@858 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-08 22:23:00 +00:00
dmharrah 4dfdf5d356 Fix connecting process input to System.in
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@856 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-08 02:52:20 +00:00
dmharrah 339628826d Restoring change of working directory in installer plugin
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@855 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-08 00:47:45 +00:00
dmharrah 5eb4bf2a22 Update installer to connect standard input to forked sbt
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@854 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-08 00:06:43 +00:00
dmharrah c350ab6b3c * Worked around Java issue converting URL to File
* Processes can now redirect standard input (see run with Boolean argument or !< operator on 
ProcessBuilder), off by default
 * Terminal echo reenabled when JLine is not reading in a line
 * Properly detect unsupported terminals using JLine's Terminal.isANSISupported method



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@853 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-07 23:54:12 +00:00
dmharrah 8090c63519 Added publishTo scala-tools
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@852 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-07 03:18:14 +00:00
dmharrah 40bf046677 * Disable parallel execution until scripted tests support it
* Remove scripted tests, since it was moved into a plugin
 * ignore test currently fails (scripted test plugin problem)



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@850 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-07 01:16:18 +00:00
dmharrah 7008061c64 Updated installer build for 0.5.1
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@849 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-07 01:14:08 +00:00
dmharrah d189dbf386 Move scripted tests
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@848 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-07 01:12:20 +00:00
dmharrah 0fee43295e Make multiTask run all subtasks when none are specified.
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@847 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-07 01:11:46 +00:00
dmharrah 7c6f420b21 Split out scripted test framework into its own project as an sbt plugin.
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@846 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-07 01:09:56 +00:00
dmharrah 6f816b8fe5 Fix the provided fix by only including managed dependencies on the provided and optional fullClasspaths
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@845 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-06 22:42:01 +00:00
dmharrah ad0cbc177b Fixed problem where dependencies of `sbt` plugins were not on the plugin compile classpath
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@841 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-05 23:29:28 +00:00
dmharrah 947271dc47 * Added constant processes 'true' and 'false'
* Added simple processes that do no I/O and return an exit value
 * Fixed support for defining a process in scala.xml.Elem



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@840 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-05 18:57:25 +00:00
dmharrah f3c776dab3 * Added execTask that runs a ProcessBuilder
* Added implicit from scala.xml.Elem to ProcessBuilder that uses the element's text as the command.  For example:
    <x> {command.absolutePath} -x {a.absolutePath} </x>
 * Added methods to PathFinder to get the results as Strings or Files



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@839 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-04 17:32:14 +00:00
dmharrah 8147101b3a Bump version for trunk
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@837 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-01 13:42:01 +00:00
dmharrah 4886d95efa new `jetty` action that waits for a key press before terminating (intended to be used from batch-style)
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@828 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-01 04:57:20 +00:00
dmharrah aa4b084ecc * Fixed manual `reboot` not changing the version of Scala when it is manually `set`
* Split out functionality to filter sub tasks
 * Added convenience methods for constructing a CompoundTask
 * fixed tab completion for cross-building
 * added empty scheduler



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@825 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-01 04:04:36 +00:00
dmharrah 545a138c11 Bump versions
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@824 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-01 04:00:21 +00:00
dmharrah ce90bece62 Fixed class loading for web applications
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@823 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-06-29 00:50:39 +00:00
dmharrah f4d350af2e Fixes to install plugin build
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@815 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-06-26 02:20:57 +00:00
dmharrah 2f4ba50850 * Fix installer build
* Revert managedStyle back to Auto



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@814 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-06-26 02:09:31 +00:00
dmharrah 4e0e02ef37 * Removed build scripts and manual dependencies
* useDefaultConfigurations supersedes useMavenConfigurations and is now true by default
 * Moved installer-plugin to its own independent project as an sbt plugin
 * bumped version for 0.5 release
 * Updated project excludes for plugins
 * Specifying the explicit URL for dependency now infers the extension and type from the URL
 * Can load credentials from a properties file instead of adding them inline
 * Added help for '+'
 * Added method configurationPath to get the path to the directory containing dependencies downloaded for a Configuration
 * managedStyle = ManagedStyle.Maven by default now



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@813 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-06-26 01:26:06 +00:00
dmharrah 7f92cc5f4c * Removed build scripts and manual dependencies
* useDefaultConfigurations supersedes useMavenConfigurations and is now true by default
 * Moved installer-plugin to its own independent project as an sbt plugin
 * bumped version for 0.5 release
 * Updated project excludes for plugins
 * Specifying the explicit URL for dependency now infers the extension and type from the URL
 * Can load credentials from a properties file instead of adding them inline
 * Added help for '+'
 * Added method configurationPath to get the path to the directory containing dependencies downloaded for a Configuration
 * managedStyle = ManagedStyle.Maven by default now



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@813 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-06-26 01:26:06 +00:00