Merge pull request #1154 from sbt/wip/merge-0.13.1-to-0.13

Merge doc fixes from 0.13.1 into 0.13 branch.
This commit is contained in:
Havoc Pennington 2014-03-07 10:35:35 -05:00
commit ea878eeaf9
5 changed files with 26 additions and 24 deletions

View File

@ -86,6 +86,25 @@ One jar plugins
- sbt-onejar (Packages your project using One-JAR™):
https://github.com/sbt/sbt-onejar
Frontend development plugins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- coffeescripted-sbt: https://github.com/softprops/coffeescripted-sbt
- less-sbt (for less-1.3.0): https://github.com/softprops/less-sbt
- sbt-less-plugin (it uses less-1.3.0):
https://github.com/btd/sbt-less-plugin
- sbt-emberjs: https://github.com/stefri/sbt-emberjs
- sbt-closure: https://github.com/eltimn/sbt-closure
- sbt-yui-compressor: https://github.com/indrajitr/sbt-yui-compressor
- sbt-requirejs: https://github.com/scalatra/sbt-requirejs
- sbt-vaadin-plugin: https://github.com/henrikerola/sbt-vaadin-plugin
Game development plugins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- sbt-lwjgl-plugin (Light Weight Java Game Library): https://github.com/philcali/sbt-lwjgl-plugin
- sbt-scage-plugin (Scala Game Engine): https://github.com/mvallerie/sbt-scage-plugin
Release plugins
~~~~~~~~~~~~~~~
@ -114,24 +133,6 @@ Release plugins
- xitrum-package (collects dependency .jar files for standalone Scala programs):
https://github.com/ngocdaothanh/xitrum-package
Frontend development plugins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- coffeescripted-sbt: https://github.com/softprops/coffeescripted-sbt
- less-sbt (for less-1.3.0): https://github.com/softprops/less-sbt
- sbt-less-plugin (it uses less-1.3.0):
https://github.com/btd/sbt-less-plugin
- sbt-emberjs: https://github.com/stefri/sbt-emberjs
- sbt-closure: https://github.com/eltimn/sbt-closure
- sbt-yui-compressor: https://github.com/indrajitr/sbt-yui-compressor
- sbt-requirejs: https://github.com/scalatra/sbt-requirejs
- sbt-vaadin-plugin: https://github.com/henrikerola/sbt-vaadin-plugin
Game development plugins
~~~~~~~~~~~~~~~~~~~~~~~~
- sbt-lwjgl-plugin (Light Weight Java Game Library): https://github.com/philcali/sbt-lwjgl-plugin
- sbt-scage-plugin (Scala Game Engine): https://github.com/mvallerie/sbt-scage-plugin
System plugins
~~~~~~~~~~~~~~
@ -253,7 +254,7 @@ Utility plugins
Code coverage plugins
~~~~~~~~~~~~~~~~~~~~~
- sbt-scct: https://github.com/sqality/sbt-scct
- sbt-scct: https://github.com/dvc94ch/sbt-scct
- sbt-scoverage: https://github.com/scoverage/sbt-scoverage
- jacoco4sbt: https://github.com/sbt/jacoco4sbt
- xsbt-coveralls-plugin: https://github.com/theon/xsbt-coveralls-plugin

View File

@ -9,6 +9,8 @@ Before reading anything in here, you will need the information in the
.. toctree::
:maxdepth: 2
Launcher
Scripts
TaskInputs
Understanding-incremental-recompilation

View File

@ -2,4 +2,4 @@
Sbt Launcher
============
This docuemntation has been moved to :doc:`The Launcher section </Launcher/index>`.
This documentation has been moved to :doc:`The Launcher section </Launcher/index>`.

View File

@ -29,7 +29,7 @@ As a specific example, the following generates a hello world source file:
::
sourceGenerators in Compile += Def.task {
sourceGenerators in Compile <+= Def.task {
val file = (sourceManaged in Compile).value / "demo" / "Test.scala"
IO.write(file, """object Test extends App { println("Hi") }""")
Seq(file)
@ -44,7 +44,7 @@ By default, generated sources are not included in the packaged source artifact.
:title: Generate resources
:type: setting
resourceGenerators in Compile += <task of type Seq[File]>
resourceGenerators in Compile += <task of type Seq[File]>.taskValue
A resource generation task should generate resources in a subdirectory of :key:`resourceManaged` and return a sequence of files generated. The key to add the task to is called :key:`resourceGenerators`. Because we want to add the unexecuted task, we use `taskValue` instead of the usual `value`. It should be scoped according to whether the generated files are main (`Compile`) or test (`Test`) resources. This basic structure looks like:
@ -56,7 +56,7 @@ For example, assuming a method `def makeSomeResources(base: File): Seq[File]`,
::
resourceGenerators in Compile += Def.task {
resourceGenerators in Compile <+= Def.task {
makeSomeResources( (resourceManaged in Compile).value / "demo")
}.taskValue

View File

@ -115,7 +115,6 @@ public class ForkMain {
final ObjectOutputStream os = new ObjectOutputStream(socket.getOutputStream());
// Must flush the header that the constructor writes, otherwise the ObjectInputStream on the other end may block indefinitely
os.flush();
try {
new Run().run(is, os);
} finally {