- Timestamp:
- 2012-11-09T17:42:34+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/Library2.java
r25727 r26453 21 21 import org.greenstone.gsdl3.core.*; 22 22 import org.greenstone.gsdl3.util.*; 23 import org.greenstone.util.GlobalProperties; 23 24 24 25 import org.w3c.dom.Document; … … 67 68 config_params.put(GSConstants.SITE_NAME, site_name); 68 69 config_params.put(GSConstants.INTERFACE_NAME, interface_name); 70 config_params.put(GSConstants.ALLOW_CLIENT_SIDE_XSLT, false); 71 69 72 // new message router - create it and pass a handle to recept. 70 73 // the servlet wont use this directly … … 80 83 } 81 84 85 /* 86 * On Linux, run as: 87 * GS3> java -classpath "web/WEB-INF/lib/*":"lib/jni/*" org.greenstone.gsdl3.Library2 localsite default 88 * Press enter to accept the default cgi-args to pass in. 89 * 90 * For how to include all jars in a folder, see: 91 * http://stackoverflow.com/questions/6780678/run-class-in-jar-file 92 */ 82 93 public static void main(String args[]) 83 94 { … … 88 99 System.exit(1); 89 100 } 101 102 // force GlobalProperties to default GSDL3HOME to GSDL3SRCHOME/web if not already set 103 GlobalProperties.loadGlobalProperties(""); 90 104 91 105 Library2 library = new Library2();
Note:
See TracChangeset
for help on using the changeset viewer.