Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0


  • Pending the release of SWORD-Fedora 1.2, download a GNU tarball of the latest source from
  • Unpack trunk.tar.gz (e.g. tar xvzf trunk.tar.gz).
  • Edit conf/properties.xml
    1. 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 Removed with http://localhost:8080/fedora/get/##PID##Image Removed
    2. Similarly, update the properties/fedora/host and properties/fedora/port elements.
    3. Edit properties/general/repository_uri to point to the SWORD-Fedora endpoint, e.g. http://localhost:8080/swordImage Removed (or any unique uri for your repository).
    4. Edit properties/general/temp_dir with the full path to a temporary directory that SWORD-Fedora can use for processing uploads (e.g. /tmp).
    5. Optionally, edit the service_document element (see for more details)
      • For example, to accept Microsoft Word 2007 documents, add the application/vnd.openxmlformats-officedocument.wordprocessingml.document mime-type to the list of accepted mime-types.
  • 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.