Paolo G. Giarrusso
d64a0e078d
Silence boring Eclipse warnings: catching all exceptions, part 2
...
These warning fixes are new since my last pull request, please verify.
2013-01-22 09:05:15 -05:00
Paolo G. Giarrusso
e5673f7426
Silence boring Eclipse warnings: catching all exceptions
...
Here I make explicit where catching all exceptions is intended.
Mark Harrah corrected one decision during review.
2013-01-22 09:05:15 -05:00
Paolo G. Giarrusso
236143be8d
Silence boring Eclipse warnings: catching all exceptions
...
Here I make explicit where catching all exceptions is intended.
Mark Harrah corrected one decision during review.
2013-01-22 09:05:15 -05:00
Paolo G. Giarrusso
dd007f9442
Silence boring Eclipse warnings: unused imports
2013-01-22 09:05:15 -05:00
Paolo G. Giarrusso
40bc141058
Silence boring Eclipse warnings: @SuppressWarnings("rawtypes")
...
Add @SuppressWarnings("rawtypes") to ResolverAdapter, since it has a comment
making pretty clear that using raw types is intended.
2013-01-22 09:05:15 -05:00
Paolo G. Giarrusso
1d7e68be1b
Silence boring Eclipse warnings: unused imports
2013-01-22 09:05:15 -05:00
Paolo G. Giarrusso
19aaaea923
Fix compile error in Eclipse
...
Let's consider compile/inc/src/main/scala/sbt/CompileSetup.scala.
There are multiple Output types, and according to Eclipse importing
xsbti.compile.Output within the package sbt does not work because the
import is shadowed by sbt.Output.
However, compilation proceeds just fine within SBT. Reproducing the
example however gives the same warning, if the files are in the same
project. The problem here is probably that the shadowing Output
is declared in the same package but in another project, and that seems
to give different results in Eclipse and SBT, but relying on
that looks fragile.
Reading the spec is inconclusive since it doesn't match with Scalac's
behavior — see
https://groups.google.com/d/topic/scala-internals/-Rquc2HBYLk/discussion .
ForkTests has the same behavior as CompileSetup.
2013-01-22 09:05:15 -05:00
Paolo G. Giarrusso
cf08f2dd18
Don't catch org.scalacheck.Prop.Exception
2013-01-22 09:05:14 -05:00
Paolo G. Giarrusso
e6d1d02d1e
Don't catch org.scalacheck.Prop.Exception
2013-01-22 09:05:14 -05:00
Johannes Rudolph
ed097ed2e2
bump version
2013-01-22 14:38:30 +01:00
Johannes Rudolph
f28b009b02
Merge commit 'pull/25'
...
Conflicts:
src/main/scala/net/virtualvoid/sbt/graph/Plugin.scala
2013-01-22 14:34:40 +01:00
Mark Harrah
9013e00fdd
Remove InputStatic and parsedResult.
...
This cleans up the InputTask implementation. It no longer requires the hook
in setting loading (Load.finalTransforms) and has better types.
2013-01-18 18:49:26 -05:00
Mark Harrah
f4e8ff870b
Build: add includeTestDependencies key that can be used to temporarily turn off fetching test dependencies.
2013-01-18 18:49:20 -05:00
Mark Harrah
7bfd24b4d6
build with 0.12.2
2013-01-18 18:49:20 -05:00
Mark Harrah
0ff37a5fdd
Docs: no need to copy sources, which aren't used anywhere on the site
2013-01-16 10:26:56 -05:00
Mark Harrah
9bb49260c5
update project/transitive-plugins test to use a common cache
2013-01-16 10:26:56 -05:00
Mark Harrah
2272efb05a
update dependency in tests/test-quick for 2.10
2013-01-16 10:26:52 -05:00
Mark Harrah
960af4244a
Only include standard scopes in pom.xml.
2013-01-16 10:26:33 -05:00
Mark Harrah
1cdaf530cb
follow-up to invalidating changing artifacts: super.cacheModuleDescriptor can be null
2013-01-16 10:26:33 -05:00
Mark Harrah
2d64611080
Print the temporary base directory when pausing in a scripted test.
2013-01-16 10:26:33 -05:00
Mark Harrah
4048a1ec08
Add 3s sleep to dependency-management/cache-classifiers test to handle 1s last modified resolution.
2013-01-16 10:26:33 -05:00
Mark Harrah
37f937402f
Ivy Artifact needs wildcard configuration added if no explicit ones are defined. Fixes #439 .
2013-01-16 10:26:33 -05:00
Mark Harrah
070a87dda4
Call non-deprecated isRawType instead of isRaw
2013-01-16 10:26:32 -05:00
beolnix
1aa6215191
fix documentation bug: the main class should be "sbt.ScriptMain" in the paragraph about the scalas
2013-01-15 08:24:51 -05:00
Matthew Farwell
53599cc24e
Added scalastyle to community plugins
2013-01-15 08:24:39 -05:00
Mark Harrah
0f28164b53
Invalidate artifacts not recorded in the original metadata when a module marked as changing changes. Fixes #637 , #641 .
2013-01-15 08:22:00 -05:00
Mark Harrah
dd008e4dc5
Warn and optionally error when multiple cross version suffixes for a module are detected. Fixes #639 .
2013-01-15 08:21:53 -05:00
Mark Harrah
a9ac6b3983
Configurable conflict manager and corresponding documentation on conflictManager, dependencyOverrides, and force(). Fixes #603 .
2013-01-11 16:01:31 -05:00
Mark Harrah
b0a80efbda
Docs: cleanup a few backticks for inline code
2013-01-11 16:01:31 -05:00
Mark Harrah
c5823ad1e7
Don't try to automatically detect a main artifact when packaging=pom. Fixes #636 .
...
For the rare case where a main artifact is expected, add an explicit jar()
to the dependency declaration.
2013-01-11 16:01:30 -05:00
Mark Harrah
a48ee68d17
Additional convenience methods on Project for configuring the .sbt files processed.
...
The Project.setSbtFiles and addSbtFiles methods combined with the current sbt version
available from ComponentMangaer.version (suggestions for a better location are welcome),
should make it straightforward to load different .sbt files based on the sbt version.
Fixes #467 .
2013-01-11 16:01:30 -05:00
Mark Harrah
36a3203226
API documentation for Project getters
2013-01-11 16:01:30 -05:00
Mark Harrah
af23ee9812
Docs: add autoAPIMappings, streams.cacheDirectory, and project macro.
2013-01-10 16:06:13 -05:00
Mark Harrah
4af9b70bf9
Split IvyInterface into Artifact, Configuration, ModuleID, and Resolver source files
2013-01-10 16:06:13 -05:00
Mark Harrah
caa1a4c583
API documentation for ModuleID methods
2013-01-10 16:06:12 -05:00
Mark Harrah
a152965933
Option to automatically manage API documentation mappings
...
Set autoAPIMappings := true to enable.
Then, set apiURL to the base URL of the API documentation for a project.
This will get stored in an extra attribute in the ivy.xml or as a property
a pom.xml.
When using managed dependencies that have set their apiURL, the -doc-external-doc
setting for scaladoc will be automatically configured. Note that this option
will only be available in Scala 2.10.1 and so enabling autoAPIMappings for
earlier versions will result in an error from scaladoc.
For unmanaged dependencies or dependencies without an automatic apiURL, add the
(File,URL) mapping to apiMappings. The File is the classpath entry and the URL
is the location of the API documentation.
2013-01-10 16:06:12 -05:00
Mark Harrah
e5a9d31d6f
Make exclude-classifiers per-user instead of per-build. Fixes #634 .
2013-01-10 16:06:12 -05:00
Mark Harrah
6a7540cf6f
Disable Ivy debug-level logging (see elaboration below). Fixes #635 .
...
The verbose-level logging is what usually contains relevant information for the user.
Persisting the debug logging slows down update noticeably and clutters the more useful
debug logging output from verbose.
2013-01-10 16:06:12 -05:00
Mark Harrah
aff95baf0e
Provide cacheDirectory via Streams instead of a separate setting
...
This is cleaner and makes it harder for the task author to have overlapping caches.
2013-01-10 16:06:12 -05:00
Mark Harrah
1ef258d88e
Convenience method Project.configure(f,g) for g(f(proj)) to be used to apply plugin configuration provided as a Project=>Project transformation
2013-01-10 16:06:12 -05:00
Mark Harrah
ae9b6d1e47
Support 'val p = project' via a 'project' macro
2013-01-10 16:06:12 -05:00
Mark Harrah
aefad9c033
when looking for the enclosing val definition in definingValName, allow the macro to be in an expression
2013-01-10 16:06:12 -05:00
Mark Harrah
a8b93dfed3
Project.in(File) for setting the base directory of a Project
2013-01-10 16:06:11 -05:00
Mark Harrah
87faa7191a
API documentation for Project transforming methods
2013-01-10 16:06:11 -05:00
Mark Harrah
5f7cd47b04
Docs: fix title of 0.13.0 change summary page
2013-01-10 16:06:11 -05:00
Mark Harrah
8382b4bacc
fix link to CONTRIBUTING from README
2013-01-07 10:01:58 -05:00
Mark Harrah
a3ce5654ba
CONTRIBUTING file
...
GitHub links to CONTRIBUTING when opening new issues and pull requests.
The information on building sbt from source that was in the README is
now in CONTRIBUTING.
2013-01-07 09:55:24 -05:00
Mark Harrah
c76a5d995a
Docs: fix parent breadcrumb
2013-01-05 15:13:29 -05:00
Mark Harrah
c82bcb30d8
fix Incremental.scala link, thanks to @fernandezpablo85
2013-01-05 10:12:50 -05:00
Mark Harrah
c826078002
Convert references to harrah/xsbt to sbt/sbt
2013-01-04 17:22:40 -05:00