Versions Compared

Key

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

...

  1. Wiki Markup
    In your DSpace Source directory ({{\[dspace-src\]}}), you will modify two Maven {{pom.xml}} files:
    • Wiki Markup
      {{\[dspace-src\]/dspace/pom.xml}}  (This POM controls dependencies of CommandLine scripts. Modifying it will let you run {{dspace-replicate}} from commandline)
    • Wiki Markup
      {{\[dspace-src\]/dspace/modules/xmlui/pom.xml}}  (This POM controls dependencies of XMLUI. Modifying it will let you run {{dspace-replicate}} from XMLUI)
  2. For both of these pom.xml files, add the following <dependency> section at the end of the existing <dependencies> section (just before the closing </dependencies> tag):
    Code Block
    <dependency>
       <groupId>org.dspace</groupId>
       <artifactId>dspace-replicate</artifactId>
       <version>1.0-EA</version>
    </dependency>
    
  3. Wiki Markup
    Once you've finished modifying both pom.xml files, rebuild DSpace by running the following from your {{\[dspace-src\]/dspace/}} folder:
    Code Block
    mvn clean package
    
  4. Wiki Markup
    You will need to update your existing DSpace 1.8.x installation, by running the following from your {{\[dspace-src\]/dspace/target/dspace-1.8.x-SNAPSHOT-build/}} directory
    Code Block
    ant update
    
    Note

    Alternatively, if you don't want to do a full DSpace update, you can just update your existing binaries & webapps by running the following two commands:

    • Wiki Markup
      {{ant update_code}}  (Updates the existing \[dspace\]/lib/ directory)
    • Wiki Markup
      {{ant update_webapps}} (Updates the existing \[dspace\]/webapp/ directory)
  5. Copy the Replication Suite's configuration files to your DSpace configuration directory
    • Wiki Markup
      *Replication Suite Configuration File:* Copy {{[\[dspace-replicate\]/config/modules/replicate.cfg|http://scm.dspace.org/svn/repo/modules/dspace-replicate/tags/dspace-replicate-1.0-EA/config/modules/replicate.cfg}}] to your {{\[dspace\]/config/modules/}} directory
    • Wiki Markup
      *METS-specific AIP Configuration Settings:* Copy {{[\[dspace-replicate\]/config/modules/replicate-mets.cfg|http://scm.dspace.org/svn/repo/modules/dspace-replicate/tags/dspace-replicate-1.0-EA/config/modules/replicate-mets.cfg}}] to your {{\[dspace\]/config/modules/}} directory
    • Wiki Markup
      *DuraCloud Configuration File:* Copy {{[\[dspace-replicate\]/config/modules/duracloud.cfg|http://scm.dspace.org/svn/repo/modules/dspace-replicate/tags/dspace-replicate-1.0-EA/config/modules/duracloud.cfg}}] to your {{\[dspace\]/config/modules/}} directory
  6. Finally, follow the Configuration settings instructions below to configure the Replication Suite based on your usage needs.

Manual Installation

Warning
titleTemporary until next DSpace Rebuild

This Manual Installation will only work properly until your next DSpace rebuild. The next time you run 'ant update', you will need to copy the DSpace-Replication Suite JAR files (see below) back over to your DSpace installation. For a more "permanent" installation option, see the #Maven-based Installation option above

...