The analyzer accepts a Java properties file for configuration.
NOTE: In properties files, the "\"
character must be escaped. When using Windows, this means
paths like c:\work\abc
must be written as
c:\\work\\abc.
Create a file (e.g. migration.properties)
with the following content, filling in values appropriate to your
environment:
# This is the directory where the analyzer's output files should be sent.
# If it doesn't already exist, it will be automatically created.
# If it already exists, it must be empty (to avoid accidental overwrites)
# To disable the above restriction, uncomment clearOutputDir=true below.
outputDir=c:\\fedora-migration
#clearOutputDir=true
# The Fedora 3.0 home directory.
fedoraHome=c:\\fedora-3.0
# The full path to the JDBC driver Fedora is configured to use.
# NOTE: The analyzer only uses the database to aid in looking up
# the location of FOXML. It will populate the initial paths in
# the database the first time it runs, if the necessary.
jdbcJar=c:\\fedora-3.0\\tomcat\\webapps\\fedora\\WEB-INF\\lib\\postgresql-8.2-506.jdbc3.jar
# Aspects of the original objects to ignore for the purpose of
# classification. This is optional. If unspecified, the generated
# content models will be the MOST SPECIFIC POSSIBLE. If
# specified, this property must consist of a space-delimited
# list of any of the following:
# OrigContentModel
# If specified, objects that have differing values in the original
# contentModel property may be assigned to the same content
# model if they are otherwise similar.
# DatastreamIDs
# If specified, only datastreams bound to disseminators will
# be considered important for classification. Objects that have
# differing sets of UNUSED datastream IDs may be assigned to
# the same content model if they are otherwise similar.
# MIMETypes
# If specified, the MIMETYPE of each candidate datastream
# will be ignored for the purpose of classification. Objects that
# have differing MIME types for the same datastream may be
# assigned to the same content model if they are otherwise
# similar.
# FormatURIs
# This works exactly the same as MIMETypes, but applies to
# the FORMAT_URI of candidate datastreams.
#ignoreAspects=OrigContentModel DatastreamIDs MIMETypes FormatURIs
# Specific datastream IDs to ignore for the purpose of classification.
# This is optional. If specified, this property must consist of a
# space-delimited list of datastream IDs to ignore. Note: This configuration
# has no effect if DatastreamIDs is already specified as an ignoreAspect
# above.
ignoreDatastreamIDs=DC RELS-EXT RELS-INT POLICY
# Explicitly declare objects to be in the FedoraObject-3.0 content model.
# The default is 'false', or implicit. If left implicit, the objects
# will not have an explicit basic model, and it will be up to the
# system to use a default value at runtime. This option may have
# an impact on future upgrades. Future versions of Fedora may adopt a new
# basic model that has additional system methods, or require certain
# datastreams or formats. Objects that explicitly declare a 3.0
# model should behave exactly the same if Fedora is upgraded to a
# post 3.0 version. If left implicit, the objects may be interpreted
# in light of the new model, and may inherit new methods, or may
# fail validation and require updating if the new model introduces
# requirements they do not fulfill.
# Uncomment to force explicit basic model declarations in the
# upgraded objects.
# explicitBasicModel = true