
sh.server.fedora-reload-policies.sh Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fcrepo-client Show documentation
Show all versions of fcrepo-client Show documentation
The Fedora Client is a Java Library that allows API access to a Fedora Repository. The client is typically one part of a full Fedora installation.
The newest version!
#!/bin/sh
if [ -z "$JAVA_HOME" ]; then
echo "ERROR: Environment variable, JAVA_HOME must be set."
exit 1
fi
if [ -z "$FEDORA_HOME" ]; then
echo "ERROR: Environment variable, FEDORA_HOME must be set."
exit 1
fi
if [ -z "$CATALINA_HOME" ]; then
echo "ERROR: Environment variable, CATALINA_HOME must be set."
exit 1
fi
_CP=$CATALINA_HOME/webapps/fedora/WEB-INF/classes
_ED=$CATALINA_HOME/webapps/fedora/WEB-INF/lib:$CATALINA_HOME/common/endorsed:$CATALINA_HOME/common/lib
(exec "$JAVA_HOME/bin/java" -cp "$_CP" \
-Djavax.net.ssl.trustStore="$FEDORA_HOME/server/truststore" \
-Djavax.net.ssl.trustStorePassword=tomcat \
-Djava.endorsed.dirs="$_ED" -Dfedora.home="$FEDORA_HOME" \
fedora.server.utilities.ServerUtility $1 $2 $3)
exit $?
© 2015 - 2025 Weber Informatics LLC | Privacy Policy