Changeset 3282
- Timestamp:
- 2002-07-30T09:24:16+12:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/README
r3254 r3282 1 1 initial prototype of gsdl3 2 2 3 see INSTALL for a brief set of installation instructions 3 2002/07/30 ********************************* 4 5 think we will use java servlets rather than cgi. can use tomcat to serve our 6 servlets as well as for the soap stuff (in fact, rpcrouter is a servlet that 7 does soap stuff) 8 9 I have added a test html page, and a test servlet. 10 11 tomcat should already be installed (if not, see below). 12 13 you need to edit the tomcat conf/server.xml to add a context for gsdl servlets 14 add this line near the soap one: 15 16 <!-- GSDL3 Service --> 17 <Context path="/gsdl3" docBase="<GSDLHOME>/web" debug="1" reloadable="true"/> 18 19 when you edit server.xml, (or change web.xml in gsdl3/web/WEB-INF/web.xml) or 20 change the classes, you need to shutdown and restart the server. also you may 21 need to clear the cache of your browser 22 23 once you have made the test servlet class, 24 (in web/WEB-INF/classes, javac TestServlet.java) 25 you can run it. 26 27 localhost:8080/gsdl3 should get you the index page - can click on the link to 28 run the test. or can specify it directly: 29 localhost:8080/gsdl3/testing 30 31 the path 'testing' is determined by servlet-mapping entry in 32 web/WEB-INF/web.xml 33 34 2002/07/16 ********************************* 35 36 MGPP java wrapper 37 38 a java interface has been added for mgpp. 39 40 the java code is in src/java/org/greenstone/mgpp 41 the cpp code in src/cpp/jni/mgpp 42 43 you need to run make in the java part before the cpp part, as the java stuff 44 creates the jni header file for the cpp side 45 46 in src/java/org/greenstone/mgpp do: 47 make 48 make install 49 50 in src/cpp/jni/mgpp do: 51 make 52 make install 53 54 run the Queryer: 55 java org.greenstone.mgpp.Queryer <basedir> <indexdir> <textdir> 56 57 eg if have a mgpp collection in gsdl/collect/mgppdemo 58 java org...Queryer gsdl/collect/mgppdemo/index tt/mgppdemo text/mgppdemo 59 60 for this to work (termporarily) you need to get the mgpp source from gsdl as 61 it hasn't been added to gsdl3 cvs yet 62 63 if you already have gsdl installed, then build a collection using mgpp (see 64 greenstone doc and source collection at nzdl2.cs.waikato.ac.nz for more info - search for mgpp) 65 66 you need to edit the src/cpp/jni/mgpp Makefile to set the correct include 67 directories. 68 also copy gsdl/src/mgpp/lib/libmg.a and gsdl/src/mgpp/text/libtextin.a to 69 gsdl3/lib/cpp 70 71 (and if you want 'make test' to work in src/java/org/greenstone/mgpp you need to change the command to run) 72 73 the make steps above should now work. 74 75 if you dont have gsdl yet, do: 76 cvs co gsdl 77 cd gsdl 78 ./configure 79 make 80 make install 81 82 then build collections etc (good luck) 83 84 2002/07/05 ******************************* 4 85 5 86 only for linux … … 176 257 177 258 ------------------------------------------------------------------- 178 MGPP java wrapper 179 180 a java interface has been added for mgpp. 181 182 the java code is in src/java/org/greenstone/mgpp 183 the cpp code in src/cpp/jni/mgpp 184 185 you need to run make in the java part before the cpp part, as the java stuff 186 creates the jni header file for the cpp side 187 188 in src/java/org/greenstone/mgpp do: 189 make 190 make install 191 192 in src/cpp/jni/mgpp do: 193 make 194 make install 195 196 run the Queryer: 197 java org.greenstone.mgpp.Queryer <basedir> <indexdir> <textdir> 198 199 eg if have a mgpp collection in gsdl/collect/mgppdemo 200 java org...Queryer gsdl/collect/mgppdemo/index tt/mgppdemo text/mgppdemo 201 202 for this to work (termporarily) you need to get the mgpp source from gsdl as 203 it hasn't been added to gsdl3 cvs yet 204 205 if you already have gsdl installed, then build a collection using mgpp (see 206 greenstone doc and source collection at nzdl2.cs.waikato.ac.nz for more info - search for mgpp) 207 208 you need to edit the src/cpp/jni/mgpp Makefile to set the correct include 209 directories. 210 also copy gsdl/src/mgpp/lib/libmg.a and gsdl/src/mgpp/text/libtextin.a to 211 gsdl3/lib/cpp 212 213 (and if you want 'make test' to work in src/java/org/greenstone/mgpp you need to change the command to run) 214 215 the make steps above should now work. 216 217 if you dont have gsdl yet, do: 218 cvs co gsdl 219 cd gsdl 220 ./configure 221 make 222 make install 223 224 then build collections etc (good luck) 225 226 227 228 259 260 261 262
Note:
See TracChangeset
for help on using the changeset viewer.