Versions Compared

Key

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

...

Although the current release version of SWORD-Fedora is 1.1, this document describes the upcoming release which provides both SWORD Profile 1.3 and Fedora 3.x support.

Installation
Anchor
installation
installation

To install the service:

  • Until the next release of SWORD-Fedora, download a GNU tarball of the source from http://sword-app.svn.sourceforge.net/viewvc/sword-app/fedora/trunk.tar.gz?view=tar.
  • Unpack trunk.tar.gz (e.g. tar xvzf trunk.tar.gz).
  • Edit conf/properties.xml
    o Replace all instances of FEDORA_HOST:FEDORA_PORT with the host and port of your Fedora installation, e.g.: replace http://FEDORA_HOST:FEDORA_PORT/fedora/get/##PID##Image Added with http://localhost:8080/fedora/get/##PID##Image Added
    o Similarly, update the properties/fedora/host and properties/fedora/port elements.
    o Edit properties/general/repository_uri to point to the SWORD-Fedora endpoint, e.g. http://localhost:8080/swordImage Added (or any unique uri for your repository).
    o Edit properties/general/temp_dir with the full path to a temporary directory that SWORD-Fedora can use for processing uploads (e.g. /tmp).
  • Edit build.xml
    o Change <property name="tomcat" location="/usr/local/jakarta-tomcat-5.0.28"/> to point to the location of your Tomcat installation (e.g. /usr/local/fedora/tomcat).
  • Build SWORD-Fedora
    o ant dist
    o This will build sword.war and copy it to the webapps directory of the Tomcat installation specified in build.xml.