You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

  1. Download servicemix source distro
  2. Put in eclipse tags:
    maven -Dmaven.test.skip=true default eclipse
  3. In Eclipse: File>Import
    Browse for the root directory, which is:
    smx_install_dir
  4. Select all the files
  5. Click Finish
  6. Windows>Preferences
    get a pop-up
  7. click on he Java (plus sign), then Build Path
    then Classpath Variables.
    Do Window>Preferences
    click on the plus next to Java
    Then Build Path>Classpath
    Clck on New button to right

A pop-up appears.
Enter for Name: MAVEN_REPO
For Path look it is your mavent repository, usually
your home directory .maven,
C:\Documents and Settings\Lisa Malgeri\.maven\repository

4. Now you can run an example:

a. In the Package Explorer find the Main class, which should be located in: servicemix-core/src/main/java/
under org.apache.servicemix/Main.java.
Double click on the main() class.

Right click base>src/main/java>org>servicemix>Main.java
You will get a Run window pop-up
Select Java Application
Click on New button in botton left
Name the Project: whatever you called it above
Click on arguments button: enter path of servcimix.xml file you want, e.g.,
C:\Program Files\servicemix-1.0.1\examples\file-binding

#

  • No labels