Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The server command-line scripts need to know the name of the app server context when they are run. By default, they assume 'fedora', but this assumption may be changed by defining the environment variable WEBAPP_NAME:

none
Code Block
language
No Format
WEBAPP_NAME=newContextName

...

This is relevant to the fedora development process, and not a concern for normal fedora operation.  In the source distribution, live junit system tests are defined in the maven pom file of the integration test subproject (fcrepo-integrationtest/pom.xml).  When running these tests while using an alternate fedora app server context, the fedora.appserver property must be set to the new app server context.  If it is not, certain tests for command line utilities will fail.

solid
Code Block
borderStyle
<properties>
  ..
  <fedora.appServerContext>newContextName</fedora.appServerContext>
  ..
</properties>

...