Changeset 17648 for release-kits


Ignore:
Timestamp:
2008-10-31T13:39:10+13:00 (15 years ago)
Author:
oranfry
Message:

include sourcecode-core component when concretizing the installer config files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/ant-scripts/init.xml

    r17594 r17648  
    165165
    166166        <copy file="${basedir}/installer/antinstall-config.xml" tofile="${basedir}/installer/antinstall-config-binary.xml"/>
     167        <dcff file="${basedir}/installer/antinstall-config-binary.xml" startTag=".*&lt;!-- start source release core --&gt;.*" endTag=".*&lt;!-- end source release core --&gt;.*" />
    167168        <dcff file="${basedir}/installer/antinstall-config-binary.xml" startTag=".*&lt;!-- start sourcecode --&gt;.*" endTag=".*&lt;!-- end sourcecode --&gt;.*" />
    168169        <installer file="${basedir}/installer/Greenstone-${version}-${os.suffix}.jar"
     
    186187   
    187188        <copy file="${basedir}/installer/antinstall-config.xml" tofile="${basedir}/installer/antinstall-config-minimal.xml"/>
     189        <dcff file="${basedir}/installer/antinstall-config-minimal.xml" startTag=".*&lt;!-- start source release core --&gt;.*" endTag=".*&lt;!-- end source release core --&gt;.*" />
     190        <dcff file="${basedir}/installer/antinstall-config-minimal.xml" startTag=".*&lt;!-- start sourcecode --&gt;.*" endTag=".*&lt;!-- end sourcecode --&gt;.*" />
    188191        <dcff file="${basedir}/installer/antinstall-config-minimal.xml" startTag=".*&lt;!-- start bundled components --&gt;.*" endTag=".*&lt;!-- end bundled components --&gt;.*" />
    189         <dcff file="${basedir}/installer/antinstall-config-minimal.xml" startTag=".*&lt;!-- start sourcecode --&gt;.*" endTag=".*&lt;!-- end sourcecode --&gt;.*" />
    190192        <installer file="${basedir}/installer/Greenstone-${version}-${os.suffix}-minimal.jar"
    191193            compress="true"
     
    205207
    206208    <target name="compile-source-installer">
     209
     210        <copy file="${basedir}/installer/antinstall-config.xml" tofile="${basedir}/installer/antinstall-config-source.xml"/>
     211        <dcff file="${basedir}/installer/antinstall-config-source.xml" startTag=".*&lt;!-- start binary release core --&gt;.*" endTag=".*&lt;!-- end binary release core --&gt;.*" />
     212        <dcff file="${basedir}/installer/antinstall-config-source.xml" startTag=".*&lt;!-- start bundled components --&gt;.*" endTag=".*&lt;!-- end bundled components --&gt;.*" />
     213        <installer file="${basedir}/installer/Greenstone-${version}-${os.suffix}-source.jar"
     214            compress="true"
     215            extractType="NonExtractor"
     216            installConfig="${basedir}/installer/antinstall-config-source.xml"
     217            buildFile="${basedir}/installer/build.xml"
     218            antInstallLib="${rk.home}/packages/ant-installer/lib"
     219            antLib="${rk.home}/packages/ant/lib"
     220            validateConfig="true"
     221            icons="bluecurve">
     222           
     223            <zipfileset dir="${basedir}/installer/classes" includes="**/*" />
     224            <zipfileset dir="${basedir}/components" includes="sourcecode-core.lzma,sourcecode.lzma" />
     225        </installer>
     226
     227
    207228    </target>
    208229
Note: See TracChangeset for help on using the changeset viewer.