Changeset 26404 for gs3-extensions/fedora/build.xml
- Timestamp:
- 2012-10-25T19:20:58+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/fedora/build.xml
r26391 r26404 15 15 16 16 <!-- PROPERTIES --> 17 18 <!-- need to have FEDORA_HOME env correctly defined --> 17 19 18 20 <!--<property name="gsdl3src.home" value="../..${basedir}"/>--> … … 96 98 ********************************************************* 97 99 1. Adjust ${gsdl3src.home}/build.properties to set up Fedora. 98 2. Then restart the Greenstone tomcat. Once it's started up,99 3. Return to this extension directory and run: ant continue-fedora-install100 2. Then restart the Greenstone 3 tomcat. This will take some time the first time around. 101 3. Once tomcat's started up, return to this extension directory and run: ant continue-fedora-install 100 102 ********************************************************* 101 103 </echo> … … 111 113 <!-- call the fgsconfig-basic.xml buildfile in GS3/packages/tomcat/webapps/fedoragsearch/FgsConfig's 112 114 ant -f fgsconfig-basic.xml --> 115 <echo> 116 Configuring Fedora GSearch 117 </echo> 113 118 <ant dir="${gsdl3src.home}/packages/tomcat/webapps/fedoragsearch/FgsConfig" antfile="fgsconfig-basic.xml"/> 114 119 115 120 <!-- give read execute permissions to all (755) for the fedoragsearch files --> 121 <echo> 122 Giving executable permissions to Fedora GSearch scripts 123 </echo> 116 124 <chmod file="${gsdl3src.home}/packages/tomcat/webapps/fedoragsearch/client/runRESTClient.sh" perm="755"/> 117 125 <chmod file="${gsdl3src.home}/packages/tomcat/webapps/fedoragsearch/client/runSOAPClient.sh" perm="755"/> 118 126 127 <!-- call Update EmptyIndex on GSearch to create the initial index (segments) file: 128 .../webapps/fedoragsearch/client/runRESTClient.sh <host:port> updateIndex createEmpty <indexName> 129 130 Where the indexName is FgsIndex. If it is made customisable, then template files need 131 to change to contain placeholders wherever the indexName is mentioned. 132 To run the upateIndex command, need GSearch username and pwd set in the environment. --> 133 <echo> 134 Calling UpdateIndex CreateEmpty on Fedora GSearch to create a new index 135 </echo> 136 <exec osfamily="unix" spawn="false" 137 executable="${gsdl3src.home}/packages/tomcat/webapps/fedoragsearch/client/runRESTClient.sh"> 138 <env key="fgsUserName" value="fedoraAdmin"/> 139 <env key="fgsPassword" value="${fedora.password}"/> 140 <arg value="${tomcat.server}:${tomcat.port}"/> 141 <arg value="updateIndex"/> 142 <arg value="createEmpty"/> 143 <arg value="FgsIndex"/> 144 </exec> 145 146 <exec osfamily="windows" spawn="false" 147 executable="cmd"> 148 <env key="fgsUserName" value="fedoraAdmin" /> 149 <env key="fgsPassword" value="${fedora.password}" /> 150 <arg value="/c"/> 151 <arg value="${gsdl3src.home}\\packages\\tomcat\\webapps\\fedoragsearch\\client\\runRESTClient.bat"/> 152 <arg value="${tomcat.server}:${tomcat.port}" /> 153 <arg value="updateIndex" /> 154 <arg value="createEmpty" /> 155 <arg value="FgsIndex" /> 156 </exec> 157 119 158 <echo> 120 159 ********************************************************* 121 1. Stop the Greenstone Tomcat. (Check it's stopped: ps aux | grep tomcat) 122 2. Then to complete fedora installation, return to this extension directory and run: ant finish-fedora-install. 123 This will clear the war files since they have already been deployed. 160 0. Don't worry about the IndexNotFoundException message. It always does this. 161 1. Stop your Greenstone 3 tomcat. (Check it's stopped: ps aux | grep tomcat) 162 2. Then, to complete fedora installation, return to this extension directory and run: ant finish-fedora-install. 163 This will clear the war files, since they have already been deployed by now. 124 164 ********************************************************* 125 165 </echo>
Note:
See TracChangeset
for help on using the changeset viewer.