Changes between Version 2 and Version 3 of OAIHarvester
- Timestamp:
- 11/04/15 09:01:58 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OAIHarvester
v2 v3 65 65 == Usage == 66 66 67 The deployment package contains a script to start the app, `run-harvester.sh` (for Unix systems including Mac OS X; we can add a Windows batch file if anyone wants it). The simplest usage is: 68 67 69 {{{ 68 #!comment 69 A short description of how the application/tool/service can be used and/or how to get started setting it up as a non-developer. It's useful to add a link to a live instance of the project, if available. If extended (end-user) documentation is available, place a link here. 70 run-harvester.sh config.xml 70 71 }}} 72 73 where `config.xml` is the configuration file you wish to use. Additionally, parameters can be defined on the command line. For example: 74 75 {{{ 76 run-harvester.sh timeout=30 config.xml 77 }}} 78 79 will set the connection timeout to 30 seconds. This value will override the timeout value defined in `config.xml`, if any. The first parameter that does not contain `=` is taken as the configuration file name. 80 81 === Configuration === 82 83 The behaviour of the app is determined by a single configuration file. The configuration file is composed of four sections: 84 85 * ''settings'', where options such as directory paths and timeouts are set; 86 * ''directories'', where output paths are defined; 87 * ''actions'', the most complex section, where actionSequences of actions can be defined for different metadata formats (actions include semantic transformations and saving intermediary or final results into a file); and 88 * ''providers'', where endpoints for the providers to be harvested are listed. 89 90 To get a clear idea of the structure of the configuration file, see the sample configuration files. 71 91 72 92 ---- … … 77 97 == Dependencies == 78 98 79 {{{ 80 #!comment 81 What does this project depend on? Which other projects use (part of) this project? 82 }}} 99 This application does not itself contain an implementation of the OAI-PMH protocol; it uses the [https://code.google.com/p/oaiharvester2/ OCLC harvester2 library] for OAI-PMH requests. 83 100 84 101 ---- 85 102 == Building and Deploying == 103 104 {{{ 105 mvn clean package assembly:assembly 106 }}} 107 108 The above build process creates a package named oai-harvest-manager-x.y.z.tar.gz (where x.y.z is a version number). This package can be deployed where needed. 86 109 87 110 ----