source: gs3-extensions/fedora/trunk/src/fedora-files/fedora-ingest-demos.sh.in

Last change on this file was 26434, checked in by ak19, 11 years ago

While getting GS3-with-Fedora collections to work on Puka discovered more issues. 1. Several additional files needed to become template files with placeholder values for the GS3 tomcat server and port, fedora password and index write lock timeout value. Other files needed further modifications (particularly fedora.fcfg.in and gsearch's fgsconfig-basic.properties) to make sure server and port values weren't fixed to localhost and 8383 defaults. 2. The build.xml had to be updated to make changes to these new and modified files during the installation process. 3. There's now a new target in build.xml: uninstall-fedora. 4. README file update with all this information, as well as corrections and clarifications.

File size: 616 bytes
Line 
1#!/bin/sh
2
3scriptdir=`dirname "$0"`
4. "$scriptdir"/env-client.sh
5
6if [ $# -lt 5 ]; then
7 echo "ERROR: Not enough arguments."
8 echo "Usage:"
9 echo " fedora-ingest-demos host port user password protocol [context]"
10 echo "Example:"
11 echo " fedora-ingest-demos @tomcatserver@ @tomcatport@ fedoraAdmin @fedorapassw@ http my-fedora"
12 exit 1
13fi
14
15demo_path="$FEDORA_HOME"/client/demo/foxml/local-server-demos
16demo_format=info:fedora/fedora-system:FOXML-1.1
17
18args="\"d\" \"$demo_path\" \"$demo_format\" \"$1:$2\" \"$3\" \"$4\" \"$5\" \"\" \"$6\""
19
20execWithTheseArgs org.fcrepo.client.utility.ingest.Ingest "$args"
21
22exit $?
Note: See TracBrowser for help on using the repository browser.