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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.