Running the Examples in your IDE

From Smooks

Jump to: navigation, search

All Smooks example are runnable from the command line, or from within your IDE.

To get the Smooks examples running in your IDE...

  1. Make sure you have Maven installed and configured for your environment. See Maven & Ant.
  2. Go to the root of the examples dir and run "mvn clean install".
  3. Then run "mvn eclipse:eclipse" (Eclipse), "mvn idea:idea" (IntelliJ) etc in whichever project you want, or in the root of the examples if you want them all.
  4. In Eclipse, you need to create an M2_REPO variable - set it to the path of the Maven repository (hidden directory usually in the user home dir e.g. ~/.m2/repository).
  5. Then import the project(s) into your IDE.