Changeset 17597 for release-kits/lirk2


Ignore:
Timestamp:
2008-10-24T11:00:08+13:00 (16 years ago)
Author:
oranfry
Message:

untested changes to exclude sourcecode from the binary release, use nicer target names and icons

Location:
release-kits/lirk2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • release-kits/lirk2/ant-scripts/build.xml

    r17466 r17597  
    1515    <property name="rk.home" value="${lirk2.home}" />
    1616    <property name="rk.os" value="linux" />
     17    <property name="os.suffix" value="linux"/>
    1718   
    1819    <!-- IMPORT OTHER ANT SCRIPTS -->
     
    2021    <import file="shared-ant-scripts/operations-on-gli.xml"/>
    2122    <import file="../greenstone2/ant-scripts/rk2-targets.xml"/>
     23
    2224    <import file="compile.xml"/>
    2325    <import file="create-distribution.xml"/>
  • release-kits/lirk2/ant-scripts/create-installer.xml

    r17519 r17597  
    55        <antcall target="copy-installer-files"/>
    66        <antcall target="make-installer-files-concrete"><param name="java.os" value="linux"/></antcall> <!-- from rk2-targets -->
    7         <antcall target="compile-installer"/>
     7        <antcall target="compile-binary-installer"/> <!-- from init -->
     8        <antcall target="compile-minimal-installer"/> <!-- from init -->
     9        <antcall target="compile-source-installer"/> <!-- from init -->
    810    </target>
    911
    1012    <target name="copy-installer-files">
    11         <echo>Copying installer files</echo>
     13
    1214        <mkdir dir="${basedir}/installer/classes"/>
    1315        <copy todir="${basedir}/installer" file="${lirk2.home}/installer/antinstall-config.xml" overwrite="true"/>
     
    2830    </target>
    2931
    30     <target name="compile-installer">
    31 
    32         <!-- create the full installer -->
    33         <installer file="${basedir}/installer/Greenstone-${version}-linux.jar"
    34                 compress="true"
    35                 extractType="NonExtractor"
    36                 installConfig="${basedir}/installer/antinstall-config.xml"
    37                 buildFile="${basedir}/installer/build.xml"
    38                 antInstallLib="${lirk2.home}/packages/ant-installer/lib"
    39                 antLib="${lirk2.home}/packages/ant/lib"
    40                 validateConfig="true"
    41                 failOnError="false"
    42                 icons="bluecurve">
    43 
    44             <zipfileset dir="${basedir}/installer/classes" includes="**/*" />
    45             <zipfileset dir="${basedir}/components" includes="*.lzma"/>
    46 
    47         </installer>
    48 
    49         <dcff
    50             file="${basedir}/installer/antinstall-config.xml"
    51             startTag=".*&lt;!-- start full --&gt;"
    52             endTag=".*&lt;!-- end full --&gt;"/>
    53 
    54         <!-- create the minimal installer -->
    55         <installer file="${basedir}/installer/Greenstone-${version}-linux-minimal.jar"
    56                 compress="true"
    57                 extractType="NonExtractor"
    58                 installConfig="${basedir}/installer/antinstall-config.xml"
    59                 buildFile="${basedir}/installer/build.xml"
    60                 antInstallLib="${lirk2.home}/packages/ant-installer/lib"
    61                 antLib="${lirk2.home}/packages/ant/lib"
    62                 validateConfig="true"
    63                 failOnError="false"
    64                 icons="bluecurve">
    65 
    66             <zipfileset dir="${basedir}/installer/classes" includes="**/*" />
    67             <zipfileset dir="${basedir}/components" includes="core.lzma"/>
    68 
    69         </installer>
    70 
    71 
    72     </target>
    73 
    7432</project>
  • release-kits/lirk2/installer/antinstall-config.xml

    r17576 r17597  
    5252            force="true"/>
    5353
     54        <!-- start sourcecode -->
    5455        <target
    5556            target="Installing Source Code"
     
    5758            defaultValue="false"
    5859            displayText=""/>
     60        <!-- end sourcecode -->
    5961
    6062    </page>
     
    6567    </page>
    6668
    67     <page type="progress" name="progress" showTargets="true" displayText=""></page>
     69    <page type="progress" name="progress" showTargets="true" displayText=""/>
    6870
    6971</installer>
Note: See TracChangeset for help on using the changeset viewer.