Author: buildbot
Date: Thu Sep 29 07:19:55 2016
New Revision: 998535
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/building.html
websites/production/camel/content/cache/main.pageCache
Modified: websites/production/camel/content/building.html
==============================================================================
--- websites/production/camel/content/building.html (original)
+++ websites/production/camel/content/building.html Thu Sep 29 07:19:55 2016
@@ -87,10 +87,10 @@
<tr>
<td valign="top" width="100%">
<div class="wiki-content maincontent"><h2
id="Building-BuildingCamelfromSource">Building Camel from Source</h2><p>Camel
uses <a shape="rect" class="external-link"
href="http://maven.apache.org/">Maven</a> as its build and management tool. If
you don't fancy using Maven you can use your IDE directly or <a shape="rect"
href="download.html">Download</a> a distribution or JAR.</p><h3
id="Building-Prequisites">Prequisites</h3><p><strong>Required:</strong></p><ul><li>Download
and <a shape="rect" class="external-link"
href="http://maven.apache.org/download.html">install Maven</a><br clear="none">
(Maven 3.1.1 or newer is required to build Camel 2.14 onwards)<br
clear="none">(Maven 3.2.5 or newer is required to build Camel 2.18
onwards) </li><li>Get the latest <a shape="rect"
href="source.html">Source</a></li><li>Java<br clear="none">(1.7 or 1.8 to build
Camel 2.14 onwards)<br clear="none">(1.8 to build Camel 2.18
onwards) </li></ul><p><strong>Optional:</strong></p><ul><li><a shap
e="rect" class="external-link" href="http://www.princexml.com/download/"
rel="nofollow">Prince</a> should be in the executable PATH to generate the PDF
documentation</li></ul><h3 id="Building-Mavenoptions">Maven options</h3><p>To
build camel maven has to be configured to use more memory</p><h5
id="Building-Unix/Linux/Mac">Unix/Linux/Mac</h5><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: text; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[export MAVEN_OPTS="-Xms2500m -Xmx2500m
-XX:MaxPermSize=512m"
+<script class="brush: text; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[export MAVEN_OPTS="-Xms3000m -Xmx3000m
-XX:MaxPermSize=512m"
]]></script>
</div></div><h5 id="Building-Windows">Windows</h5><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: text; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[set MAVEN_OPTS=-Xms2500m -Xmx2500m
-XX:MaxPermSize=512m
+<script class="brush: text; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[set MAVEN_OPTS=-Xms3000m -Xmx3000m
-XX:MaxPermSize=512m
]]></script>
</div></div><h3 id="Building-Anormalbuild">A normal build</h3><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: text; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[mvn clean install
@@ -110,7 +110,7 @@
</div></div><h4 id="Building-Eclipse">Eclipse</h4><p>There are several ways to
import the projects into Eclipse.</p><h5 id="Building-m2e">m2e</h5><p>Starting
with Camel 2.14.0, Camel can be imported into Eclipse using m2e Maven
integration.</p><p>Before you start: It is important to run Eclipse with at
least 1.5 GB of heap memory, otherwise the import process will fail. To
increase the heap size, edit the "eclipse.ini" file and set the -Xmx parameter
as follows:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeHeader panelHeader pdl" style="border-bottom-width:
1px;"><b>eclipse.ini</b></div><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[[...]
-Xmx1536m]]></script>
-</div></div><h6 id="Building-CloningtheGitRepository">Cloning the Git
Repository </h6><p>Either follow instructions about getting the latest <a
shape="rect" href="source.html">source</a>, or clone the Git repository with
Eclipse by selecting "File -> Import -> Git / Projects from Git" and
"Clone URI". Provide all repository details in the import wizard and clone the
repository into a directory outside of the Eclipse workspace. Once cloning has
completed, exit the import project wizard (i.e. simply select cancel when asked
to select "Wizard for project import").</p><h6
id="Building-ImportMavenProjects">Import Maven Projects</h6><p>Import Camel
projects as Maven projects using m2e by selecting "File -> Import ->
Maven -> Existing Maven Projects". Point the wizard to the root directory of
the cloned repository. Eclipse will analyze all Camel projects and eventually
present the following summary:</p><p><span
class="confluence-embedded-file-wrapper confluence-embedded
-manual-size"><img class="confluence-embedded-image confluence-thumbnail"
width="300" src="building.thumbs/camel-eclipse-m2e-import.png"
data-image-src="/confluence/download/attachments/49126/camel-eclipse-m2e-import.png?version=1&modificationDate=1396491620000&api=v2"
data-unresolved-comment-count="0" data-linked-resource-id="40894772"
data-linked-resource-version="1" data-linked-resource-type="attachment"
data-linked-resource-default-alias="camel-eclipse-m2e-import.png"
data-base-url="https://cwiki.apache.org/confluence"
data-linked-resource-content-type="image/png"
data-linked-resource-container-id="49126"
data-linked-resource-container-version="79"></span></p><p>Simply confirm the
import of all projects by clicking "Finish". The import process will create
Eclipse projects and automatically set up build paths using dependency details
provided by the pom.xml files. Once completed, all Camel projects will be
available in your workspace:</p><p><span class="confluence-embedde
d-file-wrapper confluence-embedded-manual-size"><img
class="confluence-embedded-image confluence-thumbnail" width="300"
src="building.thumbs/camel-eclipse-m2e-import-completed.png"
data-image-src="/confluence/download/attachments/49126/camel-eclipse-m2e-import-completed.png?version=1&modificationDate=1396491969000&api=v2"
data-unresolved-comment-count="0" data-linked-resource-id="40894773"
data-linked-resource-version="1" data-linked-resource-type="attachment"
data-linked-resource-default-alias="camel-eclipse-m2e-import-completed.png"
data-base-url="https://cwiki.apache.org/confluence"
data-linked-resource-content-type="image/png"
data-linked-resource-container-id="49126"
data-linked-resource-container-version="79"></span></p><h5
id="Building-maven-eclipse-plugin">maven-eclipse-plugin</h5><p>The
maven-eclipse-plugin can be used to generate the .classpath/.project/.settings
file that Eclipse need. To do this, run:</p><div class="code panel pdl"
style="border-width: 1px;"><div
class="codeContent panelContent pdl">
+</div></div><h6 id="Building-CloningtheGitRepository">Cloning the Git
Repository </h6><p>Either follow instructions about getting the latest <a
shape="rect" href="source.html">source</a>, or clone the Git repository with
Eclipse by selecting "File -> Import -> Git / Projects from Git" and
"Clone URI". Provide all repository details in the import wizard and clone the
repository into a directory outside of the Eclipse workspace. Once cloning has
completed, exit the import project wizard (i.e. simply select cancel when asked
to select "Wizard for project import").</p><h6
id="Building-ImportMavenProjects">Import Maven Projects</h6><p>Import Camel
projects as Maven projects using m2e by selecting "File -> Import ->
Maven -> Existing Maven Projects". Point the wizard to the root directory of
the cloned repository. Eclipse will analyze all Camel projects and eventually
present the following summary:</p><p><span
class="confluence-embedded-file-wrapper confluence-embedded
-manual-size"><img class="confluence-embedded-image confluence-thumbnail"
width="300" src="building.thumbs/camel-eclipse-m2e-import.png"
data-image-src="/confluence/download/attachments/49126/camel-eclipse-m2e-import.png?version=1&modificationDate=1396491620000&api=v2"
data-unresolved-comment-count="0" data-linked-resource-id="40894772"
data-linked-resource-version="1" data-linked-resource-type="attachment"
data-linked-resource-default-alias="camel-eclipse-m2e-import.png"
data-base-url="https://cwiki.apache.org/confluence"
data-linked-resource-content-type="image/png"
data-linked-resource-container-id="49126"
data-linked-resource-container-version="80"></span></p><p>Simply confirm the
import of all projects by clicking "Finish". The import process will create
Eclipse projects and automatically set up build paths using dependency details
provided by the pom.xml files. Once completed, all Camel projects will be
available in your workspace:</p><p><span class="confluence-embedde
d-file-wrapper confluence-embedded-manual-size"><img
class="confluence-embedded-image confluence-thumbnail" width="300"
src="building.thumbs/camel-eclipse-m2e-import-completed.png"
data-image-src="/confluence/download/attachments/49126/camel-eclipse-m2e-import-completed.png?version=1&modificationDate=1396491969000&api=v2"
data-unresolved-comment-count="0" data-linked-resource-id="40894773"
data-linked-resource-version="1" data-linked-resource-type="attachment"
data-linked-resource-default-alias="camel-eclipse-m2e-import-completed.png"
data-base-url="https://cwiki.apache.org/confluence"
data-linked-resource-content-type="image/png"
data-linked-resource-container-id="49126"
data-linked-resource-container-version="80"></span></p><h5
id="Building-maven-eclipse-plugin">maven-eclipse-plugin</h5><p>The
maven-eclipse-plugin can be used to generate the .classpath/.project/.settings
file that Eclipse need. To do this, run:</p><div class="code panel pdl"
style="border-width: 1px;"><div
class="codeContent panelContent pdl">
<script class="brush: text; gutter: false; theme: Default"
type="syntaxhighlighter"><![CDATA[mvn process-test-sources eclipse:eclipse
]]></script>
</div></div><p><span style="line-height: 1.4285715;">or</span></p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.