Page History
...
- Download the Replication Suite code from GitHub: https://github.com/DSpace/dspace-replicate
Checkout the branch you wish to develop against. For example, to checkout the 1.x branch of the codebase:
Code Block git checkout dspace-replicate-1.x
Build/Compile the Replication Suite, by running the following from the root directory
Code Block mvn package
- The code will be compiled into a JAR and all its dependencies will also be copied to your "target" directory
- The main dspace-replicate.jar will be compiled to:
[dspace-replicate]/target/dspace-replicate-[version].jar
(The Replication Suite Plugin)
- There will also be a total of 4 dependency JARs that will be copied to:
[dspace-replicate]/target/lib/common-[version].jar
(DuraCloud common libraries - required for DuraCloud integration)[dspace-replicate]/target/lib/commons-compress-[version].jar
(Apache Commons Compress - prerequisite for Replication Suite plugin)[dspace-replicate]/target/lib/storageprovider-[version].jar
(DuraCloud storage provider libraries - required for DuraCloud integration)[dspace-replicate]/target/lib/storeclient-[version].jar
(DuraCloud store client libraries - required for DuraCloud integration)
- Also, copy the above 5 JARs also to your XMLUI web application's WEB-INF/lib directory (e.g.
[dspace]/webapps/xmlui/WEB-INF/lib/
)
- The main dspace-replicate.jar will be compiled to:
- Once the codebase is compiled, you can install it by following the Installation instructions above.
- Alternatively, you may temporarily copy all 5 JARs (dspace-replicate + dependency JARs) to the following locations for testing purposes only:
- DSpace "lib" folder (e.g.
[dspace]/lib/
) - This will make the Replication Task Suite available via the commandline - DSpace XMLUI "lib" folder (e.g.
[dspace]/webapps/xmlui/WEB-INF/lib/
) - This will make the Replication Task Suite available via the XMLUI.
- DSpace "lib" folder (e.g.
- You will also need to follow the Configuration instructions above in order to properly enable & configure the Replication Task Suite.
- Alternatively, you may temporarily copy all 5 JARs (dspace-replicate + dependency JARs) to the following locations for testing purposes only:
Overview
Content Tools