Ignore:
Timestamp:
2008-10-01T11:58:04+13:00 (16 years ago)
Author:
oranfry
Message:

made the create-components targets more stable

Location:
release-kits/lirk3/ant-scripts
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • release-kits/lirk3/ant-scripts/compile.xml

    r17345 r17422  
    2828
    2929        <!-- search4j -->
    30         <antcall target="compile-search4j" /> <!-- from rk3-targets -->
     30        <antcall target="compile-search4j-unix" /> <!-- from rk3-targets -->
    3131
    3232        <!-- uninstaller -->
  • release-kits/lirk3/ant-scripts/create-installer.xml

    r17281 r17422  
    1515        <copy todir="${basedir}/installer/classes" overwrite="true">
    1616            <fileset dir="${lirk3.home}/greenstone3/installer-classes"/>
     17            <fileset dir="${lirk3.home}/distribution/greenstone3/LICENSE.txt"/>
    1718        </copy>
     19
    1820        <unjar src="${lirk3.home}/ant-scripts/tasks/greenstone/anttasks.jar" dest="${basedir}/installer/classes"/>
    1921        <delete dir="${basedir}/installer/classes/META-INF"/>
     22
     23        <unjar src="${lirk3.home}/ant-scripts/tasks/7z-ant/7z.jar" dest="${basedir}/installer/classes"/>
     24        <delete dir="${basedir}/installer/classes/META-INF"/>
     25
    2026    </target>
    2127
    2228    <target name="compile-installer">
    23 
    24         <installer file="${basedir}/installer/greenstone3-with-java.jar"
    25                 compress="true"
    26                 extractType="NonExtractor"
    27                 installConfig="${basedir}/installer/antinstall-config.xml"
    28                 buildFile="${basedir}/installer/build.xml"
    29                 antInstallLib="${lirk3.home}/packages/ant-installer/lib"
    30                 antLib="${lirk3.home}/packages/ant/lib"
    31                 validateConfig="true"
    32                 icons="bluecurve">
    33 
    34             <zipfileset dir="${basedir}/installer/classes" includes="**/*" /> <!-- installer classes -->
    35             <zipfileset dir="${basedir}/distribution/greenstone3" includes="**/*"/>
    36 
    37         </installer>
    38 
    39         <!-- delete the bundled java lines from the installer config -->
    40         <dcff
    41             file="${basedir}/installer/antinstall-config.xml"
    42             startTag=".*&lt;!-- start bundled java only --&gt;"
    43             endTag=".*&lt;!-- end bundled java only --&gt;"/>
    4429
    4530        <installer file="${basedir}/installer/greenstone3.jar"
     
    5439
    5540            <zipfileset dir="${basedir}/installer/classes" includes="**/*"/>
    56             <zipfileset dir="${basedir}/distribution/greenstone3" includes="**/*"/>
     41            <zipfileset dir="${basedir}/components" includes="*.lzma"/>
    5742        </installer>
     43
     44        <dcff
     45            file="${basedir}/installer/antinstall-config.xml"
     46            startTag=".*&lt;!-- start full --&gt;"
     47            endTag=".*&lt;!-- end full --&gt;"/>
     48
     49        <installer file="${basedir}/installer/Greenstone-${version}-linux-minimal.jar"
     50                compress="true"
     51                extractType="NonExtractor"
     52                installConfig="${basedir}/installer/antinstall-config.xml"
     53                buildFile="${basedir}/installer/build.xml"
     54                antInstallLib="${lirk3.home}/packages/ant-installer/lib"
     55                antLib="${lirk3.home}/packages/ant/lib"
     56                validateConfig="true"
     57                icons="bluecurve">
     58
     59            <zipfileset dir="${basedir}/installer/classes" includes="**/*"/>
     60            <zipfileset dir="${basedir}/components" includes="core.lzma"/>
     61        </installer>
     62
    5863
    5964    </target>
Note: See TracChangeset for help on using the changeset viewer.