Mark Harrah
0273e9d2b1
Removing remaining uses of structural types
2009-10-16 22:43:41 -04:00
Mark Harrah
0b4f24a301
ScalaCheck 1.6 support (workaround binary incompatibility in Pretty)
2009-10-14 18:03:24 -04:00
Mark Harrah
25952ce5be
Update Project to work with latest global lock interface in xsbt
2009-10-14 18:02:37 -04:00
Mark Harrah
28b24ed3f9
Only write 'info' tag if user has not provided one.
2009-10-11 15:24:50 -04:00
Mark Harrah
9bb813a2fc
Use xsbt for launch, compile, run, console, and doc.
...
Build Scala version can now be different from the version used by sbt and the project definition.
Remove sbt compiler plugin, which is now provided by xsbt
2009-10-09 19:34:43 -04:00
dmharrah
776efa9100
Clean up publish-local test
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1079 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-10-03 15:44:29 +00:00
dmharrah
4e15cdcc0b
Build against Scala 2.8 nightly from Sept 29, 2009.
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1066 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-29 23:00:29 +00:00
dmharrah
113a22b719
Add (-classifier) to retrieve pattern, add withSources, source, withJavadoc, javadoc method to ModuleID, and add test for the sources/javadoc support.
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1065 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-29 13:33:26 +00:00
dmharrah
9f7a9b33f6
Unify batch-style and interactive style commands
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1062 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-29 00:20:45 +00:00
dmharrah
1affe9fa90
Fix extra test
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1060 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-28 02:25:51 +00:00
dmharrah
701edaa2a4
Make cache directory affect resolution cache
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1059 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-28 00:48:10 +00:00
dmharrah
42b343ca9a
Fix issue where last path component of local repository was dropped if it did not exist.
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1057 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-27 23:00:27 +00:00
dmharrah
1cee3e8542
Fix 'dependency-management/configurations' test and properly implement defaultconfmapping
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1056 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-27 01:49:42 +00:00
dmharrah
32d293c794
Make Patterns construction simpler
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1055 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-27 00:04:22 +00:00
dmharrah
9666c641d6
No longer need "->default" in configurations (automatically mapped).
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1049 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-26 01:00:00 +00:00
dmharrah
feb7c0dc10
Test for inline Ivy module configurations
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1048 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-25 13:11:54 +00:00
dmharrah
958310a105
Inline Ivy module configurations
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1047 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-25 13:11:14 +00:00
dmharrah
f167888030
Fix classifier support and corresponding test
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1039 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-25 02:07:27 +00:00
dmharrah
391734b167
Restrict length of process chain in ProcessSpecification so that too many open files error don't occur
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1038 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-24 17:38:42 +00:00
dmharrah
eb7b585971
Automating release process.
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1010 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-12 16:55:04 +00:00
dmharrah
7cfcf44bf3
Fix triggered execution
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1009 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-12 14:30:49 +00:00
dmharrah
c51e8a2ff8
Checks to ensure that Ivy attributes begin with 'e:'
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1002 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-11 19:26:41 +00:00
dmharrah
2bba348717
Compatibility fixes for specs 1.6
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1001 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-11 19:22:30 +00:00
dmharrah
299cef4a57
Restore overloaded Fork.java methods
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1000 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-11 19:21:44 +00:00
dmharrah
26103f19d4
2.8 compatibility fix for graph generation
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@999 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-11 19:20:08 +00:00
dmharrah
a0becc9efb
Proper graph actions: graph-src and graph-pkg for source dependency graph and quasi-package dependency graph (based on source directories and source dependencies).
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@992 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-11 14:09:12 +00:00
dmharrah
4d80a7e8dd
Test case for issue #42
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@989 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-09 03:10:51 +00:00
dmharrah
cf6181690c
Fix issue 42 (projects should search parents for ivysettings.xml)
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@988 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-09 03:10:31 +00:00
dmharrah
3cea48116f
Fix issue with parent project defining non-existing jar artifact
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@987 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-08 23:07:02 +00:00
dmharrah
eaabe0b85f
Added support for extra attributes with Ivy. Use extra(key -> value) on ModuleIDs and Artifacts. To define for a project's ID:
...
override def projectID = super.projectID extra(key -> value)
To specify in a dependency:
val dep = normalID extra(key -> value)
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@986 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-08 14:01:41 +00:00
dmharrah
ed3dbe92d9
Tests for extra attributes with Ivy
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@985 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-08 13:52:40 +00:00
dmharrah
e68142427b
Break triggered execution if Project.terminateWatch is true for pressed keys. Default is to terminate on enter only now.
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@979 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-09-01 14:10:09 +00:00
dmharrah
cec0079304
Implicit conversion from Seq[File] and Seq[URL] to Seq[SourcePartialBuilder]
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@978 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-31 17:46:15 +00:00
dmharrah
42489b04a1
Forked run should use unbuffered logger by default
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@977 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-31 16:52:31 +00:00
dmharrah
c19276d7bd
Make public the variant of cat that accepts Seq
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@976 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-30 01:46:30 +00:00
dmharrah
ef5d6870a1
Fix error "source not found" exposed by fix for bug #39
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@975 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-30 01:28:12 +00:00
dmharrah
e56df17a04
Update for latest 2.8 nightly
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@971 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-29 20:38:08 +00:00
dmharrah
fff58af73e
Test for issue #41 , thanks to gereedy
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@968 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-24 23:37:28 +00:00
dmharrah
4687ecbf2c
* Add logging for Scala dependency filtering/checking.
...
* Fix tab completion for javap
* Fix archive generation code
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@967 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-24 01:23:41 +00:00
dmharrah
89ccb9ec3f
Fix for issue 39, where sources were not relative in src package
...
Fix for type inference issue in latest Scala 2.8.0-SNAPSHOT
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@962 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-22 17:07:33 +00:00
dmharrah
ddb1d4b84b
Vesa's patch for configuring process output
...
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@961 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-19 17:33:29 +00:00
dmharrah
951bcc9a65
* Added InstallProject+DefaultInstallProject with 'install' task. It installs dependencies retrieved from the resolver assigned to 'resolveFrom' to the resolver given by 'publishTo'.
...
* Added simple runTask(mainClass: String) method
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@959 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-19 14:21:38 +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
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