Author: chirino
Date: Mon Sep 18 08:11:41 2006
New Revision: 447430
URL: http://svn.apache.org/viewvc?view=rev&rev=447430
Log:
Latest export from confluence
Added:
incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html
Modified:
incubator/servicemix/site/sm30ug/users-guide.html
Added: incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html
URL:
http://svn.apache.org/viewvc/incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html?view=auto&rev=447430
==============================================================================
--- incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html
(added)
+++ incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html Mon
Sep 18 08:11:41 2006
@@ -0,0 +1,191 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+ <HEAD>
+ <LINK type="text/css" rel="stylesheet" href="resources/site.css">
+ <SCRIPT src="resources/space.js" type="text/javascript"></SCRIPT>
+ <TITLE>
+Importing ServiceMix into Eclipse
+ </TITLE>
+ <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+ <BODY onload="init()">
+
+ <!-- Banner -->
+ <DIV id="site-banner">
+ </DIV>
+
+ <DIV id="site-content">
+ <TABLE>
+ <TR>
+ <TD valign="top">
+ <DIV id="site-page">
+ <DIV class="wiki-content">
+<P>THIS IS A RAW VERSION, IDENTICAL TO <SPAN class="nobr"><A
href="http://docs.codehaus.org/display/SM/Using%20Eclipse" title="Visit page
outside Confluence"
rel="nofollow">http://docs.codehaus.org/display/SM/Using+Eclipse<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> AND
WILL BE CHANGED IN THE NEXT HOUERS.</P>
+
+<H1><A name="ImportingServiceMixintoEclipse-Introduction"></A>Introduction</H1>
+
+<P>This document will guide you through importing ServiceMix into
the IDE Eclipse.</P>
+
+<H2><A
name="ImportingServiceMixintoEclipse-PreInstallationRequirements"></A>Pre-Installation
Requirements</H2>
+
+<P><B>Hardware:</B></P>
+<UL>
+ <LI>52 MB of free disk space for the ServiceMix 3.x binary
distribution.</LI>
+ <LI>18 MB of free disk space for the ServiceMix 3.x source or
developer's distributions.</LI>
+</UL>
+
+
+<P><B>Operating Systems:</B></P>
+<UL>
+ <LI>Windows: Windows XP SP2, Windows 2000.</LI>
+ <LI>Unix: Ubuntu Linux, Powerdog Linux, MacOS, AIX, HP-UX, Solaris, any
Unix platform that supports Java.</LI>
+</UL>
+
+
+<P><B>Environment:</B></P>
+<UL>
+ <LI>Java Developer Kit (JDK) 1.5.x (Java 5) for compiling/building.</LI>
+ <LI>The JAVA_HOME environment variable must be set to the directory
where the JDK is installed, e.g., <TT>c:\Program Files\jsdk.1.5.x</TT></LI>
+ <LI>Maven 1.0.2 or greater.</LI>
+ <LI>Eclipse 3.x or greater.</LI>
+</UL>
+
+
+<H1><A name="ImportingServiceMixintoEclipse-ImportingServiceMix"></A>Importing
ServiceMix</H1>
+
+<P>Below are the steps to import ServiceMix as a project in Eclipse.</P>
+
+<H2><A
name="ImportingServiceMixintoEclipse-PreparingtheFilesforEclipse"></A>Preparing
the Files for Eclipse</H2>
+
+<OL>
+ <LI>Grab the sources from <SPAN class="nobr"><A
href="http://goopen.org/confluence/pages/createpage.action?spaceKey=SM30UG&title=Source&linkCreation=true&fromPageId=13740"
title="Create Page: Source" class="createlink">svn<SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/plus.gif" height="7" width="7"
align="absmiddle" alt="" border="0"></SUP></A></SPAN> or <SPAN class="nobr"><A
href="http://servicemix.org/Download" title="Visit page outside Confluence"
rel="nofollow">download<SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> servicemix
source distribution.
+<BR clear="all"></LI>
+ <LI>From the command line execute the following Maven 2 command to
ready the project for Eclipse.
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-java">mvn eclipse:eclipse</PRE>
+</DIV></DIV></LI>
+</OL>
+
+
+<H2><A name="ImportingServiceMixintoEclipse-InEclipse%3A"></A>In Eclipse:</H2>
+
+<OL>
+ <LI>From the "File" menu select "Import".
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(FileImport.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI> Select "Existing Projects into Workspace" and click
"Next"
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(Import.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI>Browse for the root directory, which is the directory in which you
downloaded ServiceMix. "Select All" the files in the Import
pop-up window. They are probably already pre-selected for you (check box is
checked). Click "Finish" in the Import window.
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(Import_SelectAll.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI>From the "Windows" menu and click
"Preferences"<BR>
+The Preferences window will pop-up.<BR>
+Change to JDK 5<BR>
+Windows>preferences click on Compiler<BR>
+Compiler compliance level must be 5.0, pull down menu and select.<BR>
+Check the "Use default compliance settings" box.
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(JDK_Compliance.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI>Then check under "Installed JREs" that you have JDK 5,
e.g., jre_1.5.x
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(Installed_JREs.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI>Click on the Java plus sign, then click on Build Path<BR>
+then select Classpath Variables.
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(Classpath_Variables.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI>Click on New button to right
+<BR clear="all">
+A pop-up appears.<BR>
+Enter the Name: M2_REPO<BR>
+Enter the Path, which is your local maven repository, usually located in<BR>
+your home directory .m2, for example:<BR>
+C:\Documents and Settings\gnodet\.m2\repository
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(eclipse-m2-repo-variable.png) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+</OL>
+
+
+<H1><A name="ImportingServiceMixintoEclipse-RunninganExample"></A>Running an
Example</H1>
+
+<OL>
+ <LI>Now you can run an example:
+<BR clear="all">
+a. In the Package Explorer find the Main class, which should be located in:
servicemix-core/src/main/java/<BR>
+under org.apache.servicemix/Main.java.<BR>
+Double click on the main() class.
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(PackageMainJava.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI>From the Run menu select "Run..."
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(RunRun.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI>You will get a Run window pop-up, from there select Java
Application.
+ <OL>
+ <LI>Click on New button in botton left</LI>
+ <LI>Name the Project: any name you like, for example if you
want to run the FilePoller application call it "filepoller".</LI>
+ <LI>Click on arguments button:
+ <OL>
+ <LI>In the Program Arguments box enter
<TT>servicemix.xml</TT></LI>
+ <LI>In the Working Directory enter the path of your
example. Such as:<BR>
+C:\Program Files\servicemix-1.0.1\examples\file-binding
+<BR clear="all">
+You can use the "File System..." button to browse for your
directory.</LI>
+ </OL>
+ </LI>
+ <LI>Click Apply.</LI>
+ <LI>Click Run
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(filepoller.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ </OL>
+ </LI>
+</OL>
+
+
+<H1><A
name="ImportingServiceMixintoEclipse-ConfiguringEclipse"></A>Configuring
Eclipse</H1>
+
+
+<H2><A
name="ImportingServiceMixintoEclipse-UpdatingEclipsefromTrunk"></A>Updating
Eclipse from Trunk</H2>
+
+<OL>
+ <LI>Browse the "Project" menu and select
"Properties"
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(ProjectProperties.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI>Click "Java BuildPath" and under the
"Libraries" tab click "Add External Jar".
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(JavaBuildPathLibraries.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI>Browse to the incubator-servicemix-3.0-SNAPSHOT.jar location:<BR>
+\target\incubator-servicemix-3.0-SNAPSHOT\bin\incubator-servicemix-3.0-SNAPSHOT
and Click "Open" then "OK" in the "Properties"
screen
+<BR clear="all">
+<BR clear="all"> <SPAN class="error">Unable to render embedded object: File
(JarSelection.JPG) not found.</SPAN><BR clear="all">
+<BR clear="all"></LI>
+ <LI>Allow some time for the individual projects to build.</LI>
+</OL>
+</DIV>
+ </DIV>
+ </TD>
+ </TR>
+ </TABLE>
+ </DIV>
+ </DIV>
+ <DIV id="site-footer">
+ Added by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg
Dembowski</A>,
+ last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg
Dembowski</A> on Sep 18, 2006
+
+ (<A
href="http://goopen.org/confluence/pages/editpage.action?pageId=13740">edit
page</A>)
+ </DIV>
+
+ </BODY>
+
+</HTML>
\ No newline at end of file
Modified: incubator/servicemix/site/sm30ug/users-guide.html
URL:
http://svn.apache.org/viewvc/incubator/servicemix/site/sm30ug/users-guide.html?view=diff&rev=447430&r1=447429&r2=447430
==============================================================================
--- incubator/servicemix/site/sm30ug/users-guide.html (original)
+++ incubator/servicemix/site/sm30ug/users-guide.html Mon Sep 18 08:11:41 2006
@@ -110,7 +110,7 @@
<LI>Modifying ServiceMix
<UL>
<LI><SPAN class="nobr"><A
href="http://goopen.org/confluence/pages/createpage.action?spaceKey=SM30UG&title=Checkout%20from%20SVN&linkCreation=true&fromPageId=13484"
title="Create Page: Checkout from SVN" class="createlink">Checkout from
SVN<SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/plus.gif" height="7" width="7"
align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
- <LI><SPAN class="nobr"><A
href="http://goopen.org/confluence/pages/createpage.action?spaceKey=SM30UG&title=Importing%20ServiceMix%20into%20Eclipse&linkCreation=true&fromPageId=13484"
title="Create Page: Importing ServiceMix into Eclipse"
class="createlink">Importing ServiceMix into Eclipse<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif"
height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+ <LI><A href="importing-servicemix-into-eclipse.html"
title="Importing ServiceMix into Eclipse">Importing ServiceMix into
Eclipse</A></LI>
<LI><SPAN class="nobr"><A
href="http://goopen.org/confluence/pages/createpage.action?spaceKey=SM30UG&title=Starting%20ServiceMix%20inside%20Eclipse&linkCreation=true&fromPageId=13484"
title="Create Page: Starting ServiceMix inside Eclipse"
class="createlink">Starting ServiceMix inside Eclipse<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/plus.gif"
height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> with
all debugging possibilities</LI>
</UL>
</LI>