Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

This document will guide you through importing ServiceMix into the IDE Eclipse.

Warning
titleWarning

This documentation applies to ServiceMix versions prior to 3.0 release. For v3.0, please refer to the User's Guide, chapter Importing ServiceMix into Eclipse.

Pre-Installation Requirements

...

  1. Grab the sources from svn or download servicemix source distribution.
  2. From the command line execute the following Maven 2 command to ready the project for Eclipse.
    Code Block
    maven -Dmaven.test.skip=true default mvn eclipse:eclipse
    

In Eclipse:

  1. From the "File" menu select "Import". 



  2.  Select "Existing Projects into Workspace" and click "Next" 



  3. 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. 



  4. From the "Windows" menu and click "Preferences"
    The Preferences window will pop-up.
    Change to JDK 5
    Windows>preferences click on Compiler
    Compiler compliance level must be 5.0, pull down menu and select.
    Check the "Use default compliance settings" box. 



  5. Then check under "Installed JREs" that you have JDK 5, e.g., jre_1.5.x 



  6. Click on the Java plus sign, then click on Build Path
    then select Classpath Variables. 



  7. Click on New button to right
    A pop-up appears.
    Enter the Name: MAVENM2_REPO
    Enter the Path, which is your local maven repository, usually located in
    your home directory .mavenm2, for example:
    C:\Documents and Settings\jwortzmangnodet\.mavenm2\repository 
    Image Removed
    Image Added

Running an Example

...