Author: buildbot Date: Sat Apr 28 00:18:36 2012 New Revision: 814790 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/scala-dsl-getting-started.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/scala-dsl-getting-started.html ============================================================================== --- websites/production/camel/content/scala-dsl-getting-started.html (original) +++ websites/production/camel/content/scala-dsl-getting-started.html Sat Apr 28 00:18:36 2012 @@ -75,7 +75,7 @@ <tbody> <tr> <td valign="top" width="100%"> -<div class="wiki-content maincontent"><p>Just like the Java <a shape="rect" href="dsl.html" title="DSL">DSL</a>, the Scala DSL has a RouteBuilder (<tt>org.apache.camel.scala.builder.RouteBuilder</tt>) class that you have to extend to implement your own routes. This example shows you two very simple routes. </p> +<div class="wiki-content maincontent"><p>Just like the <a shape="rect" href="dsl.html" title="DSL">Java DSL</a>, the Scala DSL has a RouteBuilder class (<tt>org.apache.camel.scala.builder.RouteBuilder</tt>) that you can extend to implement your own routes. This example shows two very simple routes:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java">class MyRouteBuilder <span class="code-keyword">extends</span> RouteBuilder { <span class="code-quote">"direct:a"</span> --> <span class="code-quote">"mock:a"</span> @@ -89,22 +89,23 @@ <h3><a shape="rect" name="ScalaDSL-GettingStarted-CreatinganewCamelScalaproject"></a>Creating a new Camel Scala project</h3> -<p>Camel offers <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Maven archetypes</a> which allows you to quickly setup a new project. </p> -<p>To do this you can use Maven an execute the following from the command line (using Maven 3.0.3 or better)</p> +<p>Camel offers <a shape="rect" href="camel-maven-archetypes.html" title="Camel Maven Archetypes">Maven archetypes</a> that allow you to quickly setup a new project.</p> + +<p>To do this, you can execute the following Maven goal from the command line (using Maven 3.0.3 or better):</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> mvn archetype:generate </pre> </div></div> -<p>This runs Maven in interactive mode, and then type camel and pres enter. This filters the list to only Camel related.<br clear="none"> -And from the list pick the number for the <tt>camel-archetype-scala</tt>. And then fill in details from there, such as the Camel version etc.</p> +<p>This runs Maven interactively - just type <tt>camel</tt> and press <Enter> to filter for Camel-related archetypes.<br clear="none"> +From the list, pick the number for <tt>camel-archetype-scala</tt>, then fill in the remaining details (such as the Camel version, <em>et cetera</em>).</p> -<p>The project created has a readme file with more instructions, and is read to compile and run from mvn as well using</p> +<p>The generated project has a "readme" file with more instructions, and is ready to compile and run from Maven using: </p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> -mvn compile +mvn compile exec:java </pre> </div></div></div> </td>