Changeset 3252


Ignore:
Timestamp:
2002-07-16T15:24:06+12:00 (22 years ago)
Author:
kjdon
Message:

added more info - re mgpp java interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/README

    r3222 r3252  
    11initial prototype of gsdl3
     2
     3see INSTALL for a brief set of installation instructions
    24
    35only for linux
     
    171173
    172174is the address for talking to the tomcat soap thingy.
     175
     176
     177-------------------------------------------------------------------
     178MGPP java wrapper
     179
     180a java interface has been added for mgpp.
     181
     182the java code is in src/java/org/greenstone/mgpp
     183the cpp code in src/cpp/jni/mgpp
     184
     185you need to run make in the java part before the cpp part, as the java stuff
     186creates the jni header file for the cpp side
     187
     188in src/java/org/greenstone/mgpp do:
     189make
     190make install
     191
     192in src/cpp/jni/mgpp do:
     193make
     194make install
     195
     196run the Queryer:
     197java org.greenstone.mgpp.Queryer <basedir> <indexdir> <textdir>
     198
     199eg if have a mgpp collection in gsdl/collect/mgppdemo
     200java org...Queryer gsdl/collect/mgppdemo/index tt/mgppdemo text/mgppdemo
     201
     202for this to work (termporarily) you need to get the mgpp source from gsdl as
     203it hasn't been added to gsdl3 cvs yet
     204
     205if you already have gsdl installed, then build a collection using mgpp (see
     206greenstone doc and source collection at nzdl2.cs.waikato.ac.nz for more info - search for mgpp)
     207
     208you need to edit the src/cpp/jni/mgpp Makefile to set the correct include
     209directories.
     210also copy gsdl/src/mgpp/lib/libmg.a and gsdl/src/mgpp/text/libtextin.a to
     211gsdl3/lib/cpp
     212
     213the make steps above should now work.
     214
     215if you dont have gsdl yet, do:
     216cvs co gsdl
     217cd gsdl
     218./configure
     219make
     220make install
     221
     222then build collections etc (good luck)
     223
     224
     225
     226
Note: See TracChangeset for help on using the changeset viewer.