Changeset 37870 for other-projects


Ignore:
Timestamp:
2023-08-02T18:19:41+12:00 (10 months ago)
Author:
anupama
Message:

Dr Bainbridge fixed an issue in create-installer that prevented the final step in creating the Expeditee installer, by bringing create-installer.xml up to speed with its equivalent in Greenstone's release-kits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/expeditee-release-kits/trunk/kits/rke/ant-scripts/create-installer.xml

    r28717 r37870  
    135135            buildFile="installer/build-binary.xml"
    136136            antInstallLib="${rk.home}/shared/core/ant-installer/lib"
    137             antLib="${ant.home}/lib"
    138137            validateConfig="true"
    139138            icons="bluecurve">
    140139
     140          <!-- The following behaviour is copied from the GS release-kits equivalent of create-installer.xml -->
     141          <!-- antLib="${ant.home}/lib" -->
     142         
     143          <!--
     144                       The follow (below) is a replacement for doing the follow up in the <installer> element (above):
     145
     146                         antib="${ant.home}/lib"
     147             
     148                       The change was needed to support newer versions of ant, where the underlying taskdef FileSet API
     149                       now has stricker checks, and no longer allows AbstractFileSet.setFile() to be called more than once for
     150                       an instantiated object instance of FileSet.  In the case of 'antlLib' in the ant-istaller taskdef, this is
     151                       exactly what triggered by specifying this attribute is specified.  The workaround is to create the
     152                       fileset explicitly below: done through <zipgroupfileset>, this form can have multiple values in it
     153                       and has the additional property of unzipping/unjarring the specificed jar files
     154                  -->
     155         
     156                        <zipgroupfileset dir="${ant.home}/lib" includes="ant.jar,ant-launcher.jar" excludes="META-INF/*.SF"/>
     157           
    141158            <zipfileset dir="installer/classes" includes="**/*" />
    142159            <zipfileset dir="components" includes="*.lzma"/>
Note: See TracChangeset for help on using the changeset viewer.