Commit Graph

12386 Commits

Author SHA1 Message Date
Mark Harrah ec7074a340 More plugin tests 2009-08-18 10:25:43 -04:00
Mark Harrah 165d1df52c Setup interface project for testing 2009-08-18 00:51:08 -04:00
Mark Harrah 67e13ad887 Setup interface project for testing 2009-08-18 00:51:08 -04:00
Mark Harrah 1864c12f74 Setting up compiler support and several related additions to util/io
* Added the top-level interface project for communicating across scala versions within a jvm.
 * Added plugin project containing analysis compiler plugin
 * Added component compiler to build xsbt components against required version of Scala on the fly
 * Added interface to compiler that runs in the same version of Scala
 * Added frontend that compiles against a given version of Scala with or without analysis.
2009-08-17 10:51:43 -04:00
Mark Harrah 5644b936fe Setting up compiler support and several related additions to util/io
* Added the top-level interface project for communicating across scala versions within a jvm.
 * Added plugin project containing analysis compiler plugin
 * Added component compiler to build xsbt components against required version of Scala on the fly
 * Added interface to compiler that runs in the same version of Scala
 * Added frontend that compiles against a given version of Scala with or without analysis.
2009-08-17 10:51:43 -04:00
Mark Harrah 3c9cc8a944 Change TaskRunner to throw an exception instead of using Either 2009-08-16 20:33:46 -04:00
Mark Harrah 56b047035a Change TaskRunner to throw an exception instead of using Either 2009-08-16 20:33:46 -04:00
Mark Harrah f83d59b8cc Initial xsbt commit 2009-08-16 14:29:08 -04:00
Mark Harrah 65fc0e0453 Initial xsbt commit 2009-08-16 14:29:08 -04:00
dmharrah 97f252aaaf Tiny speedup to boot when update required
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@953 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-13 03:33:21 +00:00
dmharrah fb2aabadd7 * Improved Ivy-related code to not load unnecessary default settings
* Moved repository order to be local, user repositories, Maven Central, and then Scala Tools



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@951 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-13 02:50:00 +00:00
dmharrah b79de8d788 Build against 2.8.0 static snapshot
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@950 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-13 01:47:09 +00:00
dmharrah 749934f64a * Moved topologicalSort in Dag trait to companion object
* Subprojects can be excluded from dependencies so that their actions aren't executed when a parent's actions are



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@944 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-09 02:03:24 +00:00
dmharrah d798cb88b8 * Updates for 2.8 nightly from Aug. 6
* javap, sh, exec actions
 * Test summary



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@941 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-08 22:16:25 +00:00
dmharrah a3f1c671a6 JSP test
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@940 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-08 22:13:10 +00:00
dmharrah 84e98aae1a Fixed broken test case
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@937 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 02:05:32 +00:00
dmharrah cd8c8ea007 * Many logging related changes and fixes. Added FilterLogger and cleaned up interaction between Logger,
scripted testing, and the builder projects.  This included removing the recordingDepth hack from Logger.  
Logger buffering is now enabled/disabled per thread.
 * Fix compileOptions being fixed after the first compile
 * Minor fixes to output directory checking
 * Added defaultLoggingLevel method for setting the initial level of a project's Logger
 * Cleaned up internal approach to adding extra default configurations like 'plugin'
 * Added syncPathsTask for synchronizing paths to a target directory
 * Allow multiple instances of Jetty (new jettyRunTasks can be defined with different ports)
 * jettyRunTask accepts configuration in a single configuration wrapper object instead of many parameters
 * Fix web application class loading (#35) by using jettyClasspath=testClasspath---jettyRunClasspath for 
loading Jetty.  A better way would be to have a 'jetty' configuration and have 
jettyClasspath=managedClasspath('jetty'), but this maintains compatibility.
 * Copy resources to target/resources and target/test-resources using copyResources and copyTestResources 
tasks.  Properly include all resources in web applications and classpaths (#36).  mainResources and 
testResources are now the definitive methods for getting resources.



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@936 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 01:26:18 +00:00
dmharrah 22f2d5b993 Add check against uninitialized vals to reflective discovery
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@935 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 01:12:24 +00:00
dmharrah e3517c7a6f Add syncPaths method to FileUtilities for arbitrary sources (not just a directory)
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@934 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 01:09:16 +00:00
dmharrah 28061254b0 Fix for using automatic discovery of compiler plugins in projects that define plugins
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@933 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 01:08:25 +00:00
dmharrah fb64501c9b yet another 2.8 compatibility hack
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@932 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 01:07:09 +00:00
dmharrah 91d05d74c8 Compatibility with 2.8 reporter/position changes
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@931 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 01:06:11 +00:00
dmharrah e798bffc9c Part II of repository changes
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@930 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 01:04:34 +00:00
dmharrah 4afeeb1c8b Change order of repositories: local,shared,Maven central,user defined, and finally, scala-tools
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@929 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 01:03:45 +00:00
dmharrah 8d507ea50e More 2.8 compatibility changes
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@928 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 01:01:55 +00:00
dmharrah 1ee23e827e Changes for compatibility with 2.8
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@927 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 00:59:54 +00:00
dmharrah 9344dcb63e First part of fix to scripted test logging. Second part is in main sbt.
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@926 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 00:58:17 +00:00
dmharrah e7522e5691 Reenable building against 2.8.0-SNAPSHOT
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@925 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 00:55:46 +00:00
dmharrah 9a816b20d0 Small comment in a test
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@924 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 00:54:12 +00:00
dmharrah 86361ad33d Add maven central to repositories searched by launcher to find scala-library.jar and scala-compiler.jar
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@923 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-02 00:53:38 +00:00
dmharrah d58d29c7d9 Run method properly fails when executed code throws an exception in the main thread
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@919 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-30 00:15:44 +00:00
dmharrah fa29b38b38 Fixed problem with overriding testDefinitionClasses too specifically (Nil)
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@918 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-30 00:11:42 +00:00
dmharrah cc2b68a4dd Bump versions for the last time.
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@911 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 19:39:37 +00:00
dmharrah d44f771125 Make code in sbt.classfile private[sbt]
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@908 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 19:38:09 +00:00
dmharrah 1c3b2a1de2 Revert versions for third try at 0.5.2
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@905 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 19:20:06 +00:00
dmharrah e502847dfb * Add test for publish-local for multi-projects.
* Make `managedStyle` inherit from parent when unspecified
 * Define method containing package actions to run before deliver,deliver-local


git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@904 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 19:14:57 +00:00
dmharrah 26c26a2da0 Small fix to make scripted action actually runnable
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@903 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 16:19:31 +00:00
dmharrah bd833bd348 Bump versions again
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@902 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 15:53:31 +00:00
dmharrah 2c7276cc42 Reverted version of test framework
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@898 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 15:37:11 +00:00
dmharrah 355d8ca35b Reverted sbt.version used to build
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@897 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 15:34:12 +00:00
dmharrah c94decd6cd Fixed compiler-project test
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@896 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-07-27 15:33:34 +00:00
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