Skip to content

Commit

Permalink
Fix merge conflicts in pulling doc fixes from 0.13.1 into 0.13 branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Mar 6, 2014
1 parent 0e2d789 commit 0a8d844
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 24 deletions.
39 changes: 20 additions & 19 deletions src/sphinx/Community/Community-Plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -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
~~~~~~~~~~~~~~
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/sphinx/Detailed-Topics/Advanced-Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/sphinx/Detailed-Topics/Launcher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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>`.
6 changes: 3 additions & 3 deletions src/sphinx/Howto/generatefiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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:

Expand All @@ -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

Expand Down
1 change: 0 additions & 1 deletion testing/agent/src/main/java/sbt/ForkMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ public static void main(String[] args) throws Exception {
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 {
Expand Down

0 comments on commit 0a8d844

Please sign in to comment.