Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

This page describes the changes made to JHove2 to get the modules running.

/config/spring/jhove2-framework-config.xml

Add the following section to the xml. This adds a developer BnF to Jhove2.

*.xml
	<!-- BnF (Bibliothéque nationale de France) agent bean -->
	<bean id="BnFAgent" class="org.jhove2.core.Agent" scope="singleton">
		<constructor-arg value="Bibliothèque nationale de France"
		                 type="java.lang.String"/>
		<constructor-arg value="Corporate"
		                 type="org.jhove2.core.Agent$Type"/>
		<property name="URI" value="http://www.bnf.fr/"/>
	</bean>

/config/spring/persist/jhove2-persist-config.xml

*Must* be set to *BerkeleyDB* persistence because of several bugs in the *InMemory* persistence.

You must also change the *"envHome"* property in the *"BerkeleyDbPersistenceManager"* bean. This path must be valid and readable!

/config/spring/module/format/gzip/jhove2-gzip-config.xml

Added to allow Spring to recognize and load the GZipModule.

/config/spring/module/format/arc/jhove2-arc-config.xml

Added to allow Spring to recognize and load the ArcModule.

/config/spring/module/format/warc/jhove2-warc-config.xml

Added to allow Spring to recognize and load the WarcModule.

  • No labels