Changeset 17589 for release-kits/shared


Ignore:
Timestamp:
2008-10-24T09:53:27+13:00 (15 years ago)
Author:
oranfry
Message:

shared targets to compile the different types of installers

File:
1 edited

Legend:

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

    r17518 r17589  
    162162    </target>
    163163
     164    <target name="compile-binary-installer">
     165
     166        <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 sourcecode --&gt;.*" endTag=".*&lt;!-- end sourcecode --&gt;.*" />
     168        <installer file="${basedir}/installer/greenstone-${version}-${os.suffix}.jar"
     169            compress="true"
     170            extractType="NonExtractor"
     171            installConfig="${basedir}/installer/antinstall-config-binary.xml"
     172            buildFile="${basedir}/installer/build.xml"
     173            antInstallLib="${rk.home}/packages/ant-installer/lib"
     174            antLib="${rk.home}/packages/ant/lib"
     175            validateConfig="true"
     176            icons="bluecurve">
     177
     178            <zipfileset dir="${basedir}/installer/classes" includes="**/*" />
     179            <zipfileset dir="${basedir}/components" includes="*.lzma" excludes="sourcecode.lzma,sourcecode-core.lzma" />
     180
     181        </installer>
     182       
     183    </target>
     184
     185    <target name="compile-minimal-installer">
     186   
     187        <copy file="${basedir}/installer/antinstall-config.xml" tofile="${basedir}/installer/antinstall-config-minimal.xml"/>
     188        <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;.*" />
     190        <installer file="${basedir}/installer/Greenstone-${version}-${os.suffix}-minimal.jar"
     191            compress="true"
     192            extractType="NonExtractor"
     193            installConfig="${basedir}/installer/antinstall-config-minimal.xml"
     194            buildFile="${basedir}/installer/build.xml"
     195            antInstallLib="${rk2.home}/packages/ant-installer/lib"
     196            antLib="${rk2.home}/packages/ant/lib"
     197            validateConfig="true"
     198            icons="bluecurve">
     199           
     200            <zipfileset dir="${basedir}/installer/classes" includes="**/*" />
     201            <zipfileset dir="${basedir}/components" includes="core.lzma" />
     202        </installer>
     203       
     204    </target>
     205
     206    <target name="compile-source-installer">
     207    </target>
     208
     209
    164210</project>
Note: See TracChangeset for help on using the changeset viewer.