- 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/ModifyUsersDB.java
r30055 r30196 23 23 //import org.greenstone.admin.guiext.PropertiesStep; 24 24 25 // To run this from the command-line, first make sure that the tomcat server is stopped, then run: 26 // 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/ 25 /** 26 To run this from the command-line, first make sure that the networked derby server is running (ant start-derby), 27 then run: 28 29 java -Dgsdl3.writablehome=/Scratch/ak19/gs3-svn-2Sep2015/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/lib/commons-codec-1.7.jar:web/WEB-INF/classes org.greenstone.gsdl3.util.ModifyUsersDB web/etc/usersDB/ <username> [options specifying user fields to change, e.g.: password=me!] 30 31 Don't forget to stop the networked derby server again at the end, if you had started it: ant stop-derby 32 33 or if using embedded derby, ensure that tomcat is stopped, then run: 34 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.ModifyUsersDB web/etc/usersDB/ 35 */ 27 36 public class ModifyUsersDB 28 37 {
Note:
See TracChangeset
for help on using the changeset viewer.