Errai-IDESetup

    Build and install the maven artifacts

     

    This is an important step before importing the project in your IDE, because it populates your local maven repository with all the dependencies needed to build the project. The subsequent IDE integration then relies on the binaries in your local maven repo.

     

    1.) Build the core modules artifacts

     

    cd trunk/

    mvn clean install

     

    1.1) Build the sample store application

     

    cd samples/TheStore

    mvn clean install

     

    Setup Intellij

     

    1.) Create new Project from external model

    Basically your just need to point Intellij to the top level pom.xml that resides within errai/trunk.

    Screen shot 2009-11-25 at 8.17.00 PM.png

     

    2.) Verify it selected the root pom.xml

    Screen shot 2009-11-25 at 8.18.30 PM.png

    3.) You should now have the project setup including all it's dependencies

    Screen shot 2009-11-25 at 8.18.46 PM.png

     

    Setup Eclipse

     

    Make sure you have Eclipse and m2eclipse correctly installed.

     

    1) In the menu bar select File > Import


    2) On the Import wizard select Existing Maven Projects

    02-mavenproject.jpg

    3) Then choose your root directory (where you checked out source code), select the global pom.xml and click on Finish

    03-projectselect.jpg

    4) Done !

     

    Troubleshooting

    If you run into problems please post your questions to the User Forum.