Mark Harrah
4dc75343ae
Record and persist public inheritance dependencies.
...
Includes placeholders for adding public inherited dependencies for Java classes.
2013-04-26 22:35:27 -04:00
Mark Harrah
c355bef200
Track public inherited dependencies.
...
There is a public inherited dependency on each (normalized) base
class of a public template (class, module, trait, structural type).
2013-04-26 22:35:27 -04:00
Mark Harrah
0e1f211fe5
move to compiler's built-in moduleSuffix method
2013-04-26 18:52:16 -04:00
Mark Harrah
fb0a8c463b
Scope packagedArtifacts for publish*Configuration to publish* to make it easier to filter artifacts for different publish targets.
2013-04-26 18:51:58 -04:00
Mark Harrah
77b7c60e2b
Merge branch 'override-abstract-type-dealias-kept' of https://github.com/gkossakowski/xsbt into 0.13
2013-04-26 18:51:39 -04:00
Grzegorz Kossakowski
3ba9348740
Do not normalize types in the api extraction phase.
...
In summary this commit:
* drops type normalization in api phase but keeps dealiasing
* fixes #736 and marks corresponding test as passing
I discussed type normalization with @adriaanm and according to him
sbt shouldn't call that method. The purpose of this method to
convert to a form that subtyping algorithm expects. Sbt doesn't need
to call it and it's fairly expensive in some cases.
Dropping type normalization also fixes #726 by not running into
stale cache in Scala compiler problem described in SI-7361.
2013-04-27 00:31:31 +02:00
Grzegorz Kossakowski
fbe4dedd11
Remove trailing whitespace in API.scala
2013-04-27 00:31:31 +02:00
Li Haoyi
c3345313cc
Update Using-Sonatype.rst
...
according to this
http://www.scala-sbt.org/sbt-pgp/usage.html#publishing_artifacts
"The PGP plugin NO LONGER wires into the default publish and publish-local tasks of sbt. If you want to published signed artifacts, you must use the new publish-signed and publish-local-signed tasks."
This bit me when i tried to do this today, should update the docs to refer to the proper command `publish-signed` so the next guy who tries this doesn't get bitten.
2013-04-25 08:46:40 -04:00
cheeseng
b0bd2e838e
Normalize line endings.
2013-04-25 00:06:52 +08:00
cheeseng
48fb0c4ed6
Initial working version of makeParallel that support nested tasks.
2013-04-25 00:06:52 +08:00
cheeseng
a920c739d6
Added support of nested test tasks when tests are executed in SubProcess.
2013-04-25 00:06:52 +08:00
cheeseng
3109912d00
Added support of nested test tasks when tests are executed InProcess and sequentially.
2013-04-25 00:06:52 +08:00
cheeseng
df9a475158
Normalize line endings.
2013-04-25 00:06:52 +08:00
cheeseng
5df0deacf0
Added .gitattributes file.
2013-04-25 00:06:51 +08:00
cheeseng
ad18b4f3ae
Added code to tag test task using Array[String] returned from Task.tags method.
2013-04-25 00:06:51 +08:00
cheeseng
f862e64911
Added support of custom summary message returned from Runner.done method.
2013-04-25 00:06:51 +08:00
cheeseng
1ec2118219
-Moved code that count test results from TestLogger to SuiteResult.
...
-Print the results in Tests.showResult.
2013-04-25 00:06:41 +08:00
cheeseng
a76523a5f6
Added >1 framework class per framework support, this enables sbt to support both old and new framework API at the same time.
2013-04-23 12:00:05 +08:00
cheeseng
f38a244d0f
Added code to call Runner's done() method in both InProcess and SubProcess cases.
2013-04-23 12:00:03 +08:00
cheeseng
244e65cd79
-Changed behavior so that only a single Runner instance is used to run tests in multiple test groups.
...
-Added code to support remoteArgs in test-interface 1.0.
2013-04-23 11:09:50 +08:00
cheeseng
d2e40c1c56
Changed createTeskTasks in TestFramework.scala to reuse TestRunner instance when running different TestDefinition.
2013-04-23 11:09:49 +08:00
cheeseng
b2b9fb132a
Made to ForkMain's write method synchronized, to ensure the output stream won't corrupt when test framework implementation uses multi-threads to write event back to sbt.
2013-04-23 11:09:49 +08:00
cheeseng
b83d378cd0
Changed ForkTests to call acceptorThread.join(), to make sure that acceptorThread is finished before Acceptor.result is called.
2013-04-23 11:09:48 +08:00
cheeseng
18bc8423b5
Initial version that uses new framework API in test-interface 1.0:
...
-Changed usages and implementations of interfaces in org.scalatools.testing._ to use/implement interfaces/classes in sbt.testing._ instead.
-Added sbt.testing to interfaceFilter in TestFramework.createTestLoader method to enable loading of classes in sbt.testing package.
-Added FrameworkWrapper.java to wrap old framework implementations.
-Added code in ForkMain.java to serialize Selectors.
2013-04-23 11:09:37 +08:00
cheeseng
838b737caa
Bump up test-interface dependency to version 1.0-SNAP3.
2013-04-22 14:22:12 +08:00
Grzegorz Kossakowski
e97a7ac228
Pending test case for abstract type override flag ( #726 )
...
This test case demonstrates spurious recompilation described
in #726 .
2013-04-20 17:11:11 -07:00
Mark Harrah
7689343ba0
Docs: correct custom Ivy configuration faq section
2013-04-15 18:18:52 -04:00
Mark Harrah
3c51b93bd8
test case for a plain override modifier change. Ref #726 .
2013-04-15 14:12:15 -04:00
Mark Harrah
bef8ce05b9
Properly track 'abstract override' modifier. Ref #726 .
2013-04-15 14:12:15 -04:00
Ian Forsey
0e7d212604
Add xsbt-coveralls-plugin to list of code coverage plugins
2013-04-15 11:12:23 -04:00
Mark Harrah
8d0c1408c0
Allow -cp argument to 'apply' command to be quoted. Fixes #724 .
2013-04-12 12:47:45 -04:00
Mark Harrah
36c8326625
Test for #723 .
2013-04-12 12:47:44 -04:00
Mark Harrah
81babda6f6
work around URI problems with encoding and resolving. Fixes #725
2013-04-12 12:47:44 -04:00
Mark Harrah
a4c059cb7e
Better auto-generated IDs for default projects. Fixes #554 .
...
For the global plugins project, the default ID is "global-plugins".
For a normal project, the default ID is the name of the build directory.
The ID of a build definition for one of the above appends -build.
2013-04-10 20:15:28 -04:00
Mark Harrah
96b2ca7ce4
Use a default root project aggregating all projects if no root is defined. Fixes #697 .
...
Ref #554 .
2013-04-10 20:15:27 -04:00
Mark Harrah
23be591c95
memoize .sbt file loading within a build and only add a Project once
...
This fixes an infinite loop when defining a Project in a .sbt file
with the build base directory as the project base directory.
This allows the standard behavior for interpreting settings from
.sbt files for both Projects defined in .sbt files as well as in
.scala files. That is, settings in .sbt files in "." go in all
projects with "." as their base directory.
Ref #554 .
2013-04-10 20:15:27 -04:00
Mark Harrah
cf175612cb
remove long obsolete sbt_pending directory left over from 0.7 conversion
2013-04-09 20:13:06 -04:00
Mark Harrah
77001a4259
drop canonicalization of files on classpath and other cleanup. Fixes #723 .
2013-04-09 20:13:06 -04:00
Mark Harrah
6def08e029
remove resident compiler code
...
The infrastructure for resident compilation still exists,
but the actual scalac-side code that was backported is removed.
Future work on using a resident scalac will use that invalidation
code directly from scalac anyway.
2013-04-09 20:13:06 -04:00
Mark Harrah
d6b548596b
fix scripted tests
2013-04-09 20:13:06 -04:00
Mark Harrah
d3f8bdb837
Docs: move contents of dormant configurations page into Library-Management
2013-04-09 13:54:45 -04:00
Mark Harrah
4dde1468ad
Docs: fix formatting in LocalScala from initial conversion to rST
2013-04-09 13:54:45 -04:00
Robin Green
d95263f582
Docs: Fixed name of http_proxy env var
2013-04-08 09:22:24 -04:00
Mark Harrah
b990a29c09
Undeprecate ScalaInstance.libraryJar, which will be reliable for modularized Scala.
2013-04-08 09:21:59 -04:00
Mark Harrah
b560ef280e
Fork run directly with 'java' to avoid additional class loader from 'scala' command. Fixes #702 .
2013-04-05 09:02:24 -04:00
Mark Harrah
382b55402b
don't put Scala jars on forked boot classpath by default
...
Ideally, Scala jars on the normal classpath would be moved to the boot classpath,
but this is more involved.
2013-04-05 09:02:24 -04:00
Mark Harrah
4630222aaa
Deprecate old Scala+Java fork interfaces in favor of Fork+ForkOptions
2013-04-05 09:02:24 -04:00
Mark Harrah
f18ddd2a88
make ScopeFilter accessible without a qualifier
...
Should be improved: ideally there would only be a single top-level alias.
2013-04-03 12:44:35 -04:00
Mark Harrah
322a49faba
Make autoCompilerPlugins support compiler plugins defined in a internal dependency
...
requires the compiler plugin project to define exportJars := true
2013-04-03 12:44:35 -04:00
Eugene Platonov
8ce252d1b1
fix some code snippets for BuildLoader examples
2013-04-01 12:42:26 -04:00