Author: chirino
Date: Mon Sep 18 19:10:58 2006
New Revision: 447681
URL: http://svn.apache.org/viewvc?view=rev&rev=447681
Log:
Latest export from confluence
Modified:
incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html
Modified:
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=diff&rev=447681&r1=447680&r2=447681
==============================================================================
--- incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html
(original)
+++ incubator/servicemix/site/sm30ug/importing-servicemix-into-eclipse.html Mon
Sep 18 19:10:58 2006
@@ -69,26 +69,27 @@
<OL>
<LI>From the "File" menu select "Import".
<BR clear="all">
-<BR clear="all"> <IMG
src="importing-servicemix-into-eclipse.data/FileImport.JPG" align="absmiddle"
border="0"><BR clear="all"></LI>
+<BR clear="all"> <IMG
src="importing-servicemix-into-eclipse.data/FileImport.JPG" align="absmiddle"
border="0"><BR clear="all">
+ </LI>
<LI> Select "Existing Projects into Workspace" and click
"Next"
<BR clear="all">
-<BR clear="all"> <IMG src="importing-servicemix-into-eclipse.data/Import.png"
align="absmiddle" border="0"><BR clear="all"></LI>
+<BR clear="all"> <IMG src="importing-servicemix-into-eclipse.data/Import.png"
align="absmiddle" border="0"><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). Un-checking the option "Copy projects into workspace"
allows you to automatically always edit the current version of the SVN checkout
folder, thus avoiding an import after each SVN update. Click "Finish"
in the Import window; the import takes around three minutes.
<BR clear="all">
-<BR clear="all"> <IMG
src="importing-servicemix-into-eclipse.data/Import_SelectAll.png"
align="absmiddle" border="0"><BR clear="all"></LI>
+<BR clear="all"> <IMG
src="importing-servicemix-into-eclipse.data/Import_SelectAll.png"
align="absmiddle" border="0"><BR clear="all"> </LI>
<LI>From the "Windows" menu and click
"Preferences"<BR>
The Preferences window will pop-up.<BR>
Click on the "Java" plus sign and change to "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"> <IMG
src="importing-servicemix-into-eclipse.data/JDK_Compliance.JPG"
align="absmiddle" border="0"><BR clear="all"></LI>
+<BR clear="all"> <IMG
src="importing-servicemix-into-eclipse.data/JDK_Compliance.JPG"
align="absmiddle" border="0"><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"> <IMG
src="importing-servicemix-into-eclipse.data/Installed_JREs.JPG"
align="absmiddle" border="0"><BR clear="all"></LI>
+<BR clear="all"> <IMG
src="importing-servicemix-into-eclipse.data/Installed_JREs.JPG"
align="absmiddle" border="0"><BR clear="all"> </LI>
<LI>Click on "Build Path" and then select "Classpath
Variables".
<BR clear="all">
-<BR clear="all"> <IMG
src="importing-servicemix-into-eclipse.data/Classpath_Variables.JPG"
align="absmiddle" border="0"><BR clear="all"></LI>
+<BR clear="all"> <IMG
src="importing-servicemix-into-eclipse.data/Classpath_Variables.JPG"
align="absmiddle" border="0"><BR clear="all"> </LI>
<LI>Click on "New" button to right
<BR clear="all">
A pop-up appears.<BR>
@@ -96,7 +97,7 @@
Enter the Path of your local maven repository, usually located in <your
home directory>\.m2, for example:<BR>
C:\Documents and Settings\exjobb\.m2\repository
<BR clear="all">
- <IMG
src="importing-servicemix-into-eclipse.data/eclipse-m2-repo-variable.PNG"
align="absmiddle" border="0"><BR clear="all"></LI>
+ <IMG
src="importing-servicemix-into-eclipse.data/eclipse-m2-repo-variable.PNG"
align="absmiddle" border="0"><BR clear="all"> </LI>
<LI>Click "OK" button. The necessary build takes around three
minutes.</LI>
</OL>
@@ -104,16 +105,15 @@
<H1><A name="ImportingServiceMixintoEclipse-RunninganExample"></A>Running an
Example</H1>
<P>Now you can run an example:</P>
-
<OL>
<LI>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() method.
<BR clear="all">
-<BR clear="all"> <IMG
src="importing-servicemix-into-eclipse.data/PackageMainJava.png"
align="absmiddle" border="0"><BR clear="all"></LI>
+<BR clear="all"> <IMG
src="importing-servicemix-into-eclipse.data/PackageMainJava.png"
align="absmiddle" border="0"><BR clear="all"> </LI>
<LI>From the Run menu select "Run..."
<BR clear="all">
-<BR clear="all"> <IMG src="importing-servicemix-into-eclipse.data/RunRun.JPG"
align="absmiddle" border="0"><BR clear="all"></LI>
+<BR clear="all"> <IMG src="importing-servicemix-into-eclipse.data/RunRun.JPG"
align="absmiddle" border="0"><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 (Eclipse <3.2) or the
icon in the top left (Eclipse v3.2)</LI>
@@ -151,6 +151,11 @@
</OL>
+<OL>
+ <LI> </LI>
+</OL>
+
+
<P><IMG
src="importing-servicemix-into-eclipse.data/Classpath%20-%20Add%20projects.png"
align="absmiddle" border="0"></P>
<OL>
<LI>
@@ -178,8 +183,24 @@
<LI>You can add JARs and classes that are stored within
a classpath environment variable. This is not required for the file-binding
example, but possible, e.g. if you want to run a specific ServiceMix version
from a JAR for bug reproduction or the like - this case is used for the
following description. Often, this way is used to reference depenedencies Maven
downloads automatically for you.
<OL>
<LI>Click "User Entries"</LI>
- <LI>Click "Advanced", "Add
Classpath Variables" and "OK"<BR>
-<IMG
src="importing-servicemix-into-eclipse.data/Classpath%20-%20Advanced%20Options%20var.png"
align="absmiddle" border="0"></LI>
+ <LI>Click "Advanced", "Add
Classpath Variables" and "OK"</LI>
+ </OL>
+ </LI>
+ </OL>
+ </LI>
+ </OL>
+ </LI>
+</OL>
+
+
+<P><IMG
src="importing-servicemix-into-eclipse.data/Classpath%20-%20Advanced%20Options%20var.png"
align="absmiddle" border="0"></P>
+<OL>
+ <LI>
+ <OL>
+ <LI>
+ <OL>
+ <LI>
+ <OL>
<LI>Check M2_REPRO and click
"Extend"</LI>
</OL>
</LI>
@@ -233,7 +254,6 @@
<PRE>Error 'Bean class [org.apache.servicemix.components.file.FileWriter]
not found'
</PRE>
</DIV></DIV>
-
<OL>
<LI>
<OL>
@@ -357,7 +377,7 @@
<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/diffpages.action?pageId=13740&originalId=13745">view
change</A>)
+ (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=13740&originalId=13749">view
change</A>)
(<A
href="http://goopen.org/confluence/pages/editpage.action?pageId=13740">edit
page</A>)
</DIV>