...
Code Block |
---|
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.modeshape.configuration=classpath:/config/minimal-default/repository.json -Dfcrepo.home=/mnt/fedora-data" |
Additional information regarding the configuration of System Properties in Tomcat 7 can be found here.
...
Code Block |
---|
JAVA_OPTIONS="${JAVA_OPTIONS} -Dfcrepo.modeshape.configuration=classpath:/config/minimal-default/repository.json -Dfcrepo.home=/mnt/fedora-data" |
Additional information regarding the configuration of System Properties in Jetty 9 can be found here.
...
Code Block |
---|
--exec
-Dfcrepo.home=/mnt/fedora-data
-Dfcrepo.modeshape.configuration=classpath:/config/minimal-default/repository.json |
Maven jetty:run
System Properties can be set when using the Maven jetty:run plugin by passing them per the example below:
Code Block |
---|
mvn -Dfcrepo.home=/mnt/fedora-data -Dfcrepo.modeshape.configuration=classpath:/config/minimal-default/repository.json jetty:run |
One-Click Run
If the One-Click Run is started from the command line, System Properties can be passed in per the example below:
Code Block |
---|
java -Dfcrepo.home=/mnt/fedora-data -Dfcrepo.modeshape.configuration=classpath:/config/minimal-default/repository.json -jar fcrepo-webapp-jetty-console.war |
...
There are a number of configuration elements that can be optionally be set when starting the Fedora 4 web-application. fcrepo. No modeshape.configuration elements are is required to be set, as they all default values . (noted below within brackets: <>).
...
This specifies the configuration for the underlying Modeshape repository and is required to be set. See other available options for this value within the source tree. The default file is located within the WAR file under WEB-INF/classes/config.
...