Changeset 37723


Ignore:
Timestamp:
2023-04-24T14:15:34+12:00 (12 months ago)
Author:
davidb
Message:

New target introduced to untar the usersDB.tar.gz file. Changing to this setup to avoid 'svn co' always reporting their are changes in usersDB/ as a result of creating/changing the users away from the default ones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r37626 r37723  
    11351135  <!-- install-common-src and install-collection-building are mutually exclusive and either one or the other will be done depending on whether collection building is enabled or not -->
    11361136  <!--before configuring build-src, make sure that gnome-lib is compiled up-->
    1137   <target name="install" depends="init,compile-imagemagick,compile-gnome-lib,install-common-src,install-collection-building,install-runtime,install-solr-ext,install-webswing-ext,install-gli-for-webswing,setup-for-eclipse"
     1137  <target name="install" depends="init,compile-imagemagick,compile-gnome-lib,install-common-src,install-collection-building,install-runtime,install-solr-ext,install-webswing-ext,install-gli-for-webswing,install-usersDB,setup-for-eclipse"
    11381138    description="Install Greenstone 3. Use this when you first checkout the code: 'ant prepare new-install'.">
    11391139    <echo>After successful installation, you can turn on https support on Windows and Linux</echo>
     
    18591859    </exec>
    18601860  </target> 
    1861  
     1861
     1862  <target name="install-usersDB">
     1863    <property name="updateDB.dir" value="${web.home}/updateDB"/>
     1864    <condition property="updateDB.dir.exists">
     1865      <available file="${updateDB.dir}" type="dir" />
     1866    </condition>
     1867
     1868    <if>
     1869      <bool>
     1870    <not><istrue value="${updateDb.dir.exists}"/></not>
     1871      </bool>
     1872     
     1873      <untar compression="gzip"
     1874         src="${web.home}/etc/usersDB.tar.gz"
     1875         dest="${web.home}/etc"/>
     1876    </if>   
     1877  </target>
     1878
    18621879  <!-- Until 64 bit Linux and Mac (Lion) machines can generate a working IsisGdl,
    18631880       use the ones generated on a 32 bit Linux and Mac (Leopard), respectively
Note: See TracChangeset for help on using the changeset viewer.