Changeset 24437 for main/trunk/release-kits/kits/rk3/installer/build.xml
- Timestamp:
- 2011-08-19T23:47:11+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/kits/rk3/installer/build.xml
r24182 r24437 11 11 <path id="project.classpath"><pathelement path="${antinstaller.jar}"/></path> 12 12 13 <typedef name="rsr" classname="org.greenstone.anttasks.RegexSearchReplace" classpathref="project.classpath"/> 13 <typedef name="rsr" classname="org.greenstone.anttasks.RegexSearchReplace" classpathref="project.classpath"/> 14 <typedef name="adduser" classname="org.greenstone.anttasks.AddGreenstoneUserToDatabase" classpathref="project.classpath"/> 14 15 <!-- if linux|mac --> 15 16 <taskdef name="sevenzip" classname="org.apache.tools.ant.SevenZip" classpathref="project.classpath"/> … … 20 21 <typedef name="getfreepath" classname="org.greenstone.anttasks.GetFreePath" classpathref="project.classpath"/> 21 22 <!-- /if --> 23 24 <!-- set some properties to keep track of the OS --> 25 <!-- if windows --> 26 <property name="rk.os" value="windows"/> 27 <property name="shell.name" value="windows"/> 28 <!-- /if --> 29 <!-- if linux --> 30 <property name="rk.os" value="linux"/> 31 <property name="shell.name" value="linux"/> 32 <!-- /if --> 33 <!-- if mac --> 34 <property name="rk.os" value="mac"/> 35 <property name="shell.name" value="darwin"/> 36 <!-- /if --> 37 22 38 23 39 <!-- create a local and strictly unix installDir String --> … … 318 334 </target> 319 335 336 337 <target name="Configuring Administration Pages" if="enable.admin.pages"> 338 <echo>Enabling Admin Pages</echo> 339 <!--<rsr file="${installDir}/etc/main.cfg" pattern="^\s*status\s+.*" replacement="status enabled"/>--> 340 <rsr file="${installDir}/web/sites/localsite/siteConfig.xml" pattern="<!--<serviceRack name='Authentication'/>-->" replacement="<serviceRack name='Authentication'/>"/> 341 <echo>Creating admin and demo users</echo> 342 <adduser txt2db="${installDir}/gs2build/bin/${shell.name}/txt2db" 343 usersDb="${installDir}/etc/users.gdb" 344 username="admin" 345 password="${admin.password}" 346 groups="administrator,colbuilder,all-collections-editor" 347 comment="created at install time"/> 348 <adduser 349 txt2db="${installDir}/gs2build/bin/${shell.name}/txt2db" 350 usersDb="${installDir}/etc/users.gdb" 351 username="demo" 352 password="demo" 353 groups="demo" 354 comment="Dummy 'demo' user with password 'demo' for authen-e collection"/> 355 </target> 356 357 320 358 <!-- util target to extract the given component --> 321 359 <!-- pass in ${component.name} as a param -->
Note:
See TracChangeset
for help on using the changeset viewer.