- Timestamp:
- 2015-09-03T20:59:30+12:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/usersDB2txt.java
r27135 r30196 29 29 import java.util.Properties; 30 30 31 // Run as java org.greenstone.gsdl3.util.usersDB2txt <usersDB file> 31 /** 32 To run this from the command-line, first make sure that the networked derby server is running (ant start-derby) 33 then run: 34 35 java -Dgsdl3.writablehome=/full/path/to/GS3/web -cp ./web/WEB-INF/lib/gsdl3.jar:./web/WEB-INF/lib/gutil.jar:./web/WEB-INF/lib/derby.jar:./web/WEB-INF/lib/derbyclient.jar:./web/WEB-INF/lib/log4j-1.2.8.jar:./web/WEB-INF/classes org.greenstone.gsdl3.util.usersDB2txt web/etc/usersDB/ 36 37 if redirecting to a file append ">& filename.txt" to the above command 38 since the usersDB2txt program output goes to System.err and needs to be redirected to the file too 39 40 Don't forget to stop the networked derby server again at the end, if you had started it: ant stop-derby 41 42 Or if using embedded derby, ensure that tomcat is stopped, then run: 43 java -cp /full/path/to/GS3/web/WEB-INF/lib/gsdl3.jar:/full/path/to/GS3/web/WEB-INF/lib/derby.jar org.greenstone.gsdl3.util.usersDB2txt web/etc/usersDB/ [>& <output file>] 44 */ 32 45 public class usersDB2txt 33 46 {
Note:
See TracChangeset
for help on using the changeset viewer.