Spring-DM-Target-PlatformFollow the setup outlined in chapters 1 and 2 of the Spring Dynamic Modules Tutorial with the following exceptions:
FEDORA_HOMEUntil FEDORA_HOME can be deployed automatically by the war, you must run the fedora installer to create FEDORA_HOME. When running the installer, you should have the following features disabled:
fedora.warUntil the Fedora Maven build is able to produce a deployable war artifact, you will need to manually create the Eclipse project that represents the Fedora WAR. For the Spring DM extender to recognize your fedora.war Eclipse project as a web application, ensure that the project name ends in ".war", e.g. "fedora.war". The project structure should resemble the following:
As of rev 8183, you can build the fedora-webapp artifact directly from the fedora svn tree and deploy the war in the Spring-DM-Target-Platform described in the step above. If you are getting java.lang.OutOfMemoryError: Java heap space errors while building with Maven, you may need to allocate more resources to Maven, e.g. export MAVEN_OPTS="-Xms256m -Xmx800m -XX:PermSize=256m -XX:NewSize=64m" MANIFEST.MFAdd the following META-INF/MANIFEST.MF to your copy of fedora.war |