Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clone the repository you intend to build and also any indicated dependency repositories to the same directory

    Code Block
    themeEmacs
    languagebash
    titlehg clone
    foo@bar:~$ hg clone https://bitbucket.org/sharps-ds2/cda-web-service
    destination directory: cda-web-service
    requesting all changes
    adding changesets
    adding manifests
    adding file changes
    added 262 changesets with 3206 changes to 957 files (+1 heads)
    updating to branch default
    533 files updated, 0 files merged, 0 files removed, 0 files unresolved
    foo@bar:~$ ls -al
    total 16
    drwxr-xr-x  4 foo foo 4096 Mar 25 06:46 .
    drwxr-xr-x 25 foo foo 4096 Mar 25 06:44 ..
    drwxr-xr-x 10 foo foo 4096 Mar 25 06:43 cda-web-service
  2. Edit cda-ws-ejb/src/main/resources/META-INF/ejb-jar.xml and set OPENCDS_ENABLED (true to utilize the OpenCDS Predicate-Reducer, false if you are only interested in CCD-to-vMR conversion and not the Predicate-Reducer).  If you set OPENCDS_ENABLED to true, then also set OPENCDS_ENDPOINT to the URL of the Predicate-Reducer endpoint as configured in the Predicate/Reducer project.
  3. Build and install the aggregate maven project using an IDE that supports maven projects or by running the following in the top level directory of the repository:

    Code Block
    themeEmacs
    languagebash
    mvn clean install
  4. Install the cda-ws-ear.ear artifact from the cda-ws-ear/target directory
  5. Install the cda-ws-web.war artifact from the cda-ws-webapp/target directory