Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: More notes on how to build the application

...

  1. Start Eclipse; it will request a folder name. Our practice is to use a folder name that makes it clear this is an Eclipse workspace. For example:
    1. cdacontentevaluation-workspace
  2. Edit the Git configuration.
    1. From the Eclipse menu bar, select View > Preferences.
    2. In the Preferences dialog left side menu tree, open Team > Git > Configuration.
    3. In the Configuration dialog, select the User Settings tab (may already be selected).
    4. Edit the key-value pairs to look like this (your name and email, of course):

  3. Close the Welcome window and open the Git Repository Exploring perspective.
    1. Click on the Open Perspective icon: which is in the upper right area of the screen.
    2. In the Open Perspective dialog, select Git Repository Exploring and Click OK.

  4. The left panel of the Git Repository Exploring perspective contains the Git Repositories tab. Since this is a new project and has no identified Git Repositories, the following links will appear in the middle of the tab:

  5. Click on "Clone a Git repository" link, which will start the wizard. Fill in the first dialog as shown, using your own imphub login and password, and click Next

  6. In the Branch Selection dialog, select the master branch and click Next.
  7. In the Local Destination dialog,
      The next form indicates where you will place your git repository.
    1. Enter the directory where your local Git repository will be placed. This should not be in your workspace.
    2. Check: Import all existing projects after clone finishes.
    3. Click Finish
  8. The wizard will clone the Git repository to your local system and import the CDA Content Evaluation project to Eclipse.
  9. Switch to the Java EE perspective.
  10. Update Eclipse with the project maven configuration.
    1. In the Project Explorer tab, right click on the CDAContentEvaluation line.
    2. On the context menu, select Maven > Update Project...
    3. In the Update Maven Project, make sure you select the one project (check box is not enough), and the click OK.
  11. Right click on the CDAContentEvaluation line
    1. Run as Maven build (not Maven build ...)
    2. Set goals: clean package install
    3. Run the application
    4. This should build several war files in the target folder. If this fails, it might be due to a non-existent folder. In Eclipse, make sure the folder "src/profiles/dev" exists. The dev folder should be parallel to the folders eu and na.

 

 

 

Attach Tomcat to Eclipse

...