Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updating fcrepo.home usage
  • Loading branch information
escowles committed Jul 29, 2015
1 parent 7503b2e commit a21d639
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -20,14 +20,14 @@ mvn package
Running
-------

Before running the migration utility, stop the repository by shutting down the servlet container (Tomcat, Jetty, etc.) or removing the Fedora 4 webapp. Then run the migration utility by executing the JAR file and provide the `fcrepo.home` system property to set the directory that contains Fedora 4's `fcrepo4-data` directory.
Before running the migration utility, stop the repository by shutting down the servlet container (Tomcat, Jetty, etc.) or removing the Fedora 4 webapp. Then run the migration utility by executing the JAR file and provide the `fcrepo.home` system property to set the location of Fedora 4's `fcrepo4-data` directory.

``` sh
java -Dfcrepo.home=/path/to/fcrepo.home -jar /path/to/fcrepo4-upgrade-utils/target/fcrepo-upgrade-utils-4.3.1-SNAPSHOT.jar
java -Dfcrepo.home=/path/to/fcrepo4-data -jar /path/to/fcrepo4-upgrade-utils/target/fcrepo-upgrade-utils-4.3.1-SNAPSHOT.jar
```

To run the migration utility in "dry-run" mode where it will output a summary of the migration it would perform, but not actually change the repository:

``` sh
java -Dfcrepo.home=/path/to/fcrepo.home -jar /path/to/fcrepo4-upgrade-utils/target/fcrepo-upgrade-utils-4.3.1-SNAPSHOT.jar dryrun
java -Dfcrepo.home=/path/to/fcrepo4-data -jar /path/to/fcrepo4-upgrade-utils/target/fcrepo-upgrade-utils-4.3.1-SNAPSHOT.jar dryrun
```

0 comments on commit a21d639

Please sign in to comment.