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/lirk2/installer
Files:
2 edited

Legend:

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

    r17039 r17107  
    3535        <comment name="choose-components"/>
    3636
    37         <target target="install-core-components"    diskRequirement="@component.size.core@"             displayText="" defaultValue="true" force="true" />
     37        <target target="install-core-components"    diskRequirement="@component.size.core@"         displayText="" defaultValue="true" force="true" />
    3838        <target target="install-java"               diskRequirement="@component.size.linux-java@"   displayText="" defaultValue="true" /> <!-- bundled java only -->
    3939        <target target="install-source-code"        diskRequirement="@component.size.sourcecode@"   defaultValue="false" displayText="" />
     
    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
    4348    <page type="progress" name="progress" showTargets="false" target="cleanuptarget" displayText=""></page>
    4449
  • release-kits/lirk2/installer/build.xml

    r17075 r17107  
    1414
    1515    <!-- custom tasks -->
    16     <typedef name="rsr" classname="RegexSearchReplace" classpathref="project.classpath"/>
     16    <typedef name="rsr" classname="org.greenstone.anttasks.RegexSearchReplace" classpathref="project.classpath"/>
     17    <typedef name="adduser" classname="org.greenstone.anttasks.AddGreenstoneUserToDatabase" classpathref="project.classpath"/>
    1718
    1819    <condition property="bundled.java.exists">
     
    7576        <echo/>
    7677
     78        <echo message="Creating admin and demo users"/>
     79        <adduser txt2db="${installDir}/bin/linux/txt2db"
     80            usersDb="${installDir}/etc/users.db"
     81            username="admin"
     82            password="${admin.password}"
     83            groups="administrator,colbuilder"
     84            comment="created at install time"/>
     85        <adduser
     86            txt2db="${installDir}/bin/linux/txt2db"
     87            usersDb="${installDir}/etc/users.db"
     88            username="demo"
     89            password="demo"
     90            groups="demo"
     91            comment="Dummy 'demo' user with password 'demo' for authen-e collection"/>
     92
    7793        <!-- delete unneeded files -->
    7894        <echo message="Deleting some unneeded files"/>
     
    105121    </target>
    106122
    107     <target name="cleanuptarget">
    108     </target>
     123    <target name="cleanuptarget"></target>
    109124   
    110125
Note: See TracChangeset for help on using the changeset viewer.