Changeset 25308 for main/trunk/greenstone3/build.xml
- Timestamp:
- 2012-03-28T15:45:03+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.xml
r25214 r25308 1214 1214 1215 1215 </if> 1216 </target> 1217 1218 <!-- This target won't work with Eclipse because the SecureInputHandler used below conflicts with it. 1219 See http://www.dcepler.net/post.cfm/hiding-password-input-in-ant 1220 But you can do: echo mypassword | ant config-admin --> 1221 <target name="config-admin" description="Reset admin password"> 1222 <input addproperty="admin.password" defaultvalue="admin" message="New admin password (3-8 characters):>"> 1223 <handler classname="org.apache.tools.ant.input.SecureInputHandler" /> <!-- password won't be visible on screen --> 1224 </input> 1225 <!--<echo>${admin.password}</echo>--> <!-- for testing --> 1226 <java classname="org.greenstone.gsdl3.util.ChangePwdUsersDB"> 1227 <classpath refid="compile.classpath"/> <!--for ${web.lib}/gsdl3.jar and supporting files--> 1228 <arg file="${web.home}/sites/localsite/etc/usersDB"/> 1229 <arg value="admin"/> 1230 <arg value="${admin.password}"/> 1231 </java> 1216 1232 </target> 1217 1233
Note:
See TracChangeset
for help on using the changeset viewer.