Permalink
Browse files

latest changes to 0.12.2-RC2

  • Loading branch information...
1 parent 8eeb75c commit 855aa0bb96870453f7924eec68cb7c24a37b4cf1 @harrah harrah committed Jan 15, 2013
@@ -176,6 +176,7 @@
works for Scala, too)</li>
<li>findbugs4sbt: <a class="reference external" href="https://bitbucket.org/jmhofer/findbugs4sbt">https://bitbucket.org/jmhofer/findbugs4sbt</a> (FindBugs
only supports Java projects atm)</li>
+<li>scalastyle: <a class="reference external" href="https://github.com/scalastyle/scalastyle-sbt-plugin">https://github.com/scalastyle/scalastyle-sbt-plugin</a> (Scalastyle - static code checker for Scala)</li>
</ul>
</div>
<div class="section" id="one-jar-plugins">
@@ -120,7 +120,7 @@
<p>Duplicate your standard <tt class="docutils literal"><span class="pre">sbt</span></tt> script, which was set up according to
<a class="reference internal" href="../Getting-Started/Setup.html"><em>Setup</em></a>, as <tt class="docutils literal"><span class="pre">scalas</span></tt> and <tt class="docutils literal"><span class="pre">screpl</span></tt> (or
whatever names you like).</p>
-<p><tt class="docutils literal"><span class="pre">scalas</span></tt> is the script runner and should use <tt class="docutils literal"><span class="pre">sbt.ConsoleMain</span></tt> as
+<p><tt class="docutils literal"><span class="pre">scalas</span></tt> is the script runner and should use <tt class="docutils literal"><span class="pre">sbt.ScriptMain</span></tt> as
the main class, by adding the <tt class="docutils literal"><span class="pre">-Dsbt.main.class=sbt.ScriptMain</span></tt>
parameter to the <tt class="docutils literal"><span class="pre">java</span></tt> command. Its command line should look like:</p>
<div class="highlight-console"><div class="highlight"><pre><span class="go">java -Dsbt.main.class=sbt.ScriptMain -Dsbt.boot.directory=/home/user/.sbt/boot -jar sbt-launch.jar &quot;$@&quot;</span>
@@ -97,6 +97,7 @@ Static Code Analysis plugins
works for Scala, too)
- findbugs4sbt: https://bitbucket.org/jmhofer/findbugs4sbt (FindBugs
only supports Java projects atm)
+- scalastyle: https://github.com/scalastyle/scalastyle-sbt-plugin (Scalastyle - static code checker for Scala)
One jar plugins
~~~~~~~~~~~~~~~
@@ -39,7 +39,7 @@ Duplicate your standard ``sbt`` script, which was set up according to
:doc:`Setup </Getting-Started/Setup>`, as ``scalas`` and ``screpl`` (or
whatever names you like).
-``scalas`` is the script runner and should use ``sbt.ConsoleMain`` as
+``scalas`` is the script runner and should use ``sbt.ScriptMain`` as
the main class, by adding the ``-Dsbt.main.class=sbt.ScriptMain``
parameter to the ``java`` command. Its command line should look like:

0 comments on commit 855aa0b

Please sign in to comment.