source: gs3-extensions/fedora/fedoragsearch-files/runSOAPClient.sh@ 26375

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

All the customised template files added to fedora 3.6.1 and fedoragsearch 2.5 to get the automated installation (using Greenstone 3's tomcat) working

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1#!/bin/sh
2#$Id$
3
4# <p><b>License and Copyright: </b>The contents of this file will be subject to the
5# same open source license as the Fedora Repository System at www.fedora.info
6# It is expected to be released with Fedora version 2.2.
7
8# Copyright &copy; 2006 by The Technical University of Denmark.
9# All rights reserved.</p>
10
11# @author [email protected]
12# @version
13
14# Need to run this script from its own directory instead of whichever directory it may be called from
15thisdir="`dirname \"$0\"`"
16thisdir="`cd \"$thisdir\" && pwd`"
17cd "$thisdir"
18
19 if [ -z "$fgsUserName" ] ; then
20 echo -n "GSearch user name: "
21 read fgsUserName
22 echo -n "Password: "
23 stty -echo
24 read fgsPassword
25 stty echo
26 if [ -z "$fgsPassword" ] ; then
27 fgsPassword=$fgsUserName
28 fi;
29 echo ""
30 fi;
31
32LIB=../WEB-INF/lib
33JARS=$LIB/fedora-client-3.1.jar:$LIB/log4j-1.2.15.jar:$LIB/activation-1.1.1.jar:$LIB/axis.jar:$LIB/commons-discovery.jar:$LIB/commons-logging.jar:$LIB/jaxrpc-api-1.1.jar:$LIB/mail.jar:$LIB/saaj-api-1.3.jar:$LIB/lucene-core-2.4.0.jar:$LIB/wsdl4j-1.5.1.jar:$LIB/PDFBox-0.7.2.jar:$LIB/xml-apis.jar
34USER=
35java -Xms64m -Xmx96m -Dfedoragsearch.fgsUserName=$fgsUserName -Dfedoragsearch.fgsPassword=$fgsPassword -cp ../WEB-INF/classes:$JARS dk.defxws.fedoragsearch.client.SOAPClient $1 $2 $3 $4 $5 $6 $7 $8 $9
Note: See TracBrowser for help on using the repository browser.