Changeset 17597 for release-kits/wirk2


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/wirk2
Files:
3 edited

Legend:

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

    r17466 r17597  
    1818    <property name="rk.home" value="${wirk2.home}" />
    1919    <property name="rk.os" value="windows" />
     20    <property name="os.suffix" value="win32"/>
    2021   
    2122    <!-- IMPORT OTHER ANT SCRIPTS -->
  • release-kits/wirk2/ant-scripts/create-installer.xml

    r17583 r17597  
    55        <antcall target="copy-installer-files"/>
    66        <antcall target="make-installer-files-concrete"><param name="java.os" value="windows"/></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="${wirk2.home}/installer/antinstall-config.xml" overwrite="true"/>
     
    2729       
    2830    </target>
    29 
    30     <target name="compile-installer">
    31 
    32         <!-- binary installer -->
    33         <copy file="${basedir}/installer/antinstall-config.xml" tofile="${basedir}/installer/antinstall-config-binary.xml"/>
    34         <dcff file="${basedir}/installer/antinstall-config-binary.xml" startTag=".*&lt;!-- start sourcecode --&gt;.*" endTag=".*&lt;!-- end sourcecode --&gt;.*" />     
    35         <installer file="${basedir}/installer/greenstone-${version}-win32.jar"
    36             compress="true"
    37             extractType="NonExtractor"
    38             installConfig="${basedir}/installer/antinstall-config-binary.xml"
    39             buildFile="${basedir}/installer/build.xml"
    40             antInstallLib="${wirk2.home}/packages/ant-installer/lib"
    41             antLib="${wirk2.home}/packages/ant/lib"
    42             validateConfig="true"
    43             icons="bluecurve">
    44            
    45             <zipfileset dir="${basedir}/installer/classes" includes="**/*" />
    46             <zipfileset dir="${basedir}/components" includes="*.lzma" excludes="sourcecode.lzma" />
    47         </installer>
    48        
    49         <!-- minimal installer -->
    50         <copy file="${basedir}/installer/antinstall-config.xml" tofile="${basedir}/installer/antinstall-config-minimal.xml"/>
    51         <dcff file="${basedir}/installer/antinstall-config-minimal.xml" startTag=".*&lt;!-- start bundled components --&gt;.*" endTag=".*&lt;!-- end bundled components --&gt;.*" />
    52         <dcff file="${basedir}/installer/antinstall-config-minimal.xml" startTag=".*&lt;!-- start sourcecode --&gt;.*" endTag=".*&lt;!-- end sourcecode --&gt;.*" />
    53         <installer file="${basedir}/installer/Greenstone-${version}-win32-minimal.jar"
    54             compress="true"
    55             extractType="NonExtractor"
    56             installConfig="${basedir}/installer/antinstall-config-minimal.xml"
    57             buildFile="${basedir}/installer/build.xml"
    58             antInstallLib="${wirk2.home}/packages/ant-installer/lib"
    59             antLib="${wirk2.home}/packages/ant/lib"
    60             validateConfig="true"
    61             icons="bluecurve">
    62            
    63             <zipfileset dir="${basedir}/installer/classes" includes="**/*" />
    64             <zipfileset dir="${basedir}/components" includes="core.lzma" />
    65         </installer>
    66        
    67     </target>
    6831   
    6932</project>
  • release-kits/wirk2/installer/antinstall-config.xml

    r17583 r17597  
    7272            defaultValue="true"
    7373            displayText=""/>
     74
    7475        <target
    7576            target="Installing Ghostscript"
     
    9495    </page>
    9596
    96     <page type="progress" name="progress" showTargets="true" displayText=""></page>
     97    <page type="progress" name="progress" showTargets="true" displayText=""/>
    9798
    9899</installer>
Note: See TracChangeset for help on using the changeset viewer.