Difference between revisions of "FOXML Migration"

From MPDLMediaWiki
Jump to navigation Jump to search
Line 35: Line 35:
*start escidoc-core:
*start escidoc-core:
*use the escidoc-core admin tool to recache and reindex.
*use the escidoc-core admin tool to recache and reindex.
*perform all tasks according to http://colab.mpdl.mpg.de/mediawiki/Checklist_for_Metadata_Changes
*start solution(s).
*start solution(s).



Revision as of 10:08, 30 October 2009

Overview[edit]

foxml:migration is an application to transform exiting Fedora object xml files.

Repository URL: https://zim02.gwdg.de/repos/common/trunk/common_services/foxml_migration

Installation/Deployment[edit]

Requirements[edit]

  • foxml_migration-jar-with-dependencies.jar.
  • folder xml in project root containing 12 xslt stylsheets.

Deployment[edit]

+copy the required files into a directory of your choice onto the server, where Fedora is installed.

before execution[edit]

  • stop all solutions accessing the Fedora instace.
  • stop escidoc-core.
  • stop Fedora.
  • backup the entire $FEDORA_HOME/data/objects directory !!!
  • ensure the $FEDORA_HOME environment variable is set correctly:

running the application[edit]

  • java -Xms128m -Xmx512m -XX:MaxPermSize=256m -jar foxml_migration-jar-with-dependencies.jar.

after execution[edit]

Technical Documentation[edit]

Overview[edit]

foxml_migration transforms the following metadata records:

All transformations are logged (--> migration.log).

Architecture[edit]

foxml_migration - is an executable jar file - has a very simple architecture:

  • collect all FOXML files in $FEDORA_HOME/data/objects
  • check the current schema of the metadata inside the default escidoc metadata record
  • transform all versions of the escidoc metadata record according to the list above
  • update the existing FOXML file with all transformed datastreams
  • save the migrated file