Ignore:
Timestamp:
2008-08-29T16:24:07+12:00 (16 years ago)
Author:
oranfry
Message:

changed build scripts and create-installer targets after the greenstone ant tasks were moved. also, greenstone2 installer now creates admin and demo users at install

Location:
release-kits/wirk2/installer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release-kits/wirk2/installer/antinstall-config.xml

    r17041 r17107  
    4141    </page>
    4242
     43    <page type="input" name="admin-password" displayText="">
     44        <comment name="admin-password-expl"/>
     45        <text property="admin.password" defaultValue="" displayText=""/>
     46    </page>
     47
     48
    4349    <page type="progress" name="progress" showTargets="false" target="cleanuptarget" displayText=""></page>
    4450
  • release-kits/wirk2/installer/build.xml

    r17080 r17107  
    1010
    1111    <!-- custom tasks -->
    12     <typedef name="rsr" classname="RegexSearchReplace" classpathref="project.classpath"/>
    13     <typedef name="getfreepath" classname="GetFreePath" classpathref="project.classpath"/>
    1412    <taskdef name="shortcut" classname="com.orangevolt.tools.ant.Win32ShortcutTask" classpathref="project.classpath"/>
    1513    <taskdef name="winprops" classname="com.orangevolt.tools.ant.Win32PropertiesTask" classpathref="project.classpath"/>
     14    <typedef name="rsr" classname="org.greenstone.anttasks.RegexSearchReplace" classpathref="project.classpath"/>
     15    <typedef name="getfreepath" classname="org.greenstone.anttasks.GetFreePath" classpathref="project.classpath"/>
     16    <typedef name="adduser" classname="org.greenstone.anttasks.AddGreenstoneUserToDatabase" classpathref="project.classpath"/>
    1617
    1718    <!-- pick up the properties generated during the install pages -->
     
    7273        <echo/>
    7374       
     75        <echo message="Creating admin and demo users"/>
     76        <adduser txt2db="${installDir}/bin/linux/txt2db"
     77            usersDb="${installDir}/etc/users.db"
     78            username="admin"
     79            password="${admin.password}"
     80            groups="administrator,colbuilder"
     81            comment="created at install time"/>
     82        <adduser
     83            txt2db="${installDir}/bin/linux/txt2db"
     84            usersDb="${installDir}/etc/users.db"
     85            username="demo"
     86            password="demo"
     87            groups="demo"
     88            comment="Dummy 'demo' user with password 'demo' for authen-e collection"/>
     89
    7490        <!-- delete unneeded files -->     
    7591        <echo message="Deleting some unneeded files"/>
     
    163179    </target>
    164180
    165 
    166181    <target name="cleanuptarget"></target>
    167182   
Note: See TracChangeset for help on using the changeset viewer.