Skip to end of banner
Go to start of banner

Easy replace jar of any of both oai-pmh and edge-oai-pmh modules.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

  1. Download the archive and unpack it near by.vagrant folder. Download link → oai-pmh-modules-replace-jars.7z
  2. Clone both aoi-pmh and edge-oai-pmh modules.
  3. For each perform mvn clean install.
  4. From generated target folder of both modules grab the fat.jar and both ModuleDescriptor.json and DeploymentDescriptor.json files and copy them under the target file of corresponding folder within oai-pmh-modules-replace-jars unpacked directory(folder name matches the module name).
  5. Go to vagrant console and switch to oai-pmh-modules-replace-jars directory (cd /vagrant/mod-data-import_enable)
  6. Run appropriate script → ./{script-name}.sh

aoipmh.sh script will redeploy both modules by default. So, as long as edge-oai-pmh module requires oai-pmh module, we cannot drop and redeploy oai-pmh module only, because errors will appear that edge-oai-pmh requires it. Script drops the edge-oi-pmh firstly and oai-pmh afterward. After that script enable oai-pmh firstly and then the edge-oai-pmh as well (reverse order in which they are undeployed).

edge.sh script will redeploy edge-oai-pmh only.

  • No labels