Changeset 26497
- Timestamp:
- 2012-11-22T12:48:19+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/LibraryCommandline.java
r26496 r26497 1 1 /* 2 * Library 2.java2 * LibraryCommandline.java 3 3 * Copyright (C) 2002 New Zealand Digital Library, http://www.nzdl.org 4 4 * … … 42 42 */ 43 43 44 final public class Library 244 final public class LibraryCommandline 45 45 { 46 46 … … 52 52 protected DefaultReceptionist recept = null; 53 53 54 public Library 2()54 public LibraryCommandline() 55 55 { 56 56 this.converter = new XMLConverter(); … … 85 85 /* 86 86 * On Linux, run as: 87 * GS3> java -classpath "web/WEB-INF/lib/*":"lib/jni/*" org.greenstone.gsdl3.Library 2localsite default87 * GS3> java -classpath "web/WEB-INF/lib/*":"lib/jni/*" org.greenstone.gsdl3.LibraryCommandline localsite default 88 88 * Press enter to accept the default cgi-args to pass in. 89 89 * … … 102 102 if (args.length != 2) 103 103 { 104 System.out.println("Usage: Library 2<site name> <interface name>");104 System.out.println("Usage: LibraryCommandline <site name> <interface name>"); 105 105 System.exit(1); 106 106 } … … 109 109 GlobalProperties.loadGlobalProperties(""); 110 110 111 Library 2 library = new Library2();111 LibraryCommandline library = new LibraryCommandline(); 112 112 library.configure(args[0], args[1]); 113 113 … … 124 124 catch (Exception e) 125 125 { 126 System.err.println("Library 2exception:" + e.getMessage());126 System.err.println("LibraryCommandline exception:" + e.getMessage()); 127 127 } 128 128 if (query.startsWith("exit"))
Note:
See TracChangeset
for help on using the changeset viewer.