All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Info | ||
---|---|---|
| ||
A word of warning: in order to ensure proper permissions and file ownership is maintained, you are advised to run these ant targets as the service user (commonly 'dspace' or 'tomcat'). This is a change for DSpace 5.0. Running them as any other user is likely to cause problems, especially with the new Solr index maintenance targets. |
DSpace allows three property values to be set using the -D<property>=<value> option. They may be used in other contexts than noted below, but take care to understand how a particular property will affect a target's outcome.
...
Whether to overwrite configuration files in [dspace]/config. If true, files from [dspace]/config and subdirectories are backed up with .old extension and new files are installed from [dspace-src]/dspace/config and subdirectories; if false, existing config files are untouched, and new files are written beside them with .new extension. | |
Possible values: | true, false |
Default: | true |
Context: | update, init_configs |
config
If a path is specified, ant uses values from the specified file and installs it in [dspace]/config in the appropriate contexts. | |
Possible values: | path to configuration file to be used |
Default: | [dspace-src]/config/dspace.cfg |
Context: | update, update_configs, update_code, update_webapps, init_configs, fresh_install, test_database, setup_database, load_registries, clean_database |
wars
If true, builds .war files; if false, no .war files are built. | |
Possible values: | true, false |
Default: | true |
Context: | update, update_webapps, fresh_install |
...