Changeset 15967


Ignore:
Timestamp:
2008-06-12T13:33:05+12:00 (16 years ago)
Author:
oranfry
Message:

let gli.sh get into greenstone3 releases

Location:
release-kits/lirk3/ant-scripts
Files:
4 edited

Legend:

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

    r14982 r15967  
    9898            <delete dir="distribution/greenstone3/gs2build/bin/java"/>
    9999            <exec executable="cp"><arg line="-r greenstone3/gs2build/bin/java distribution/greenstone3/gs2build/bin"/></exec>
     100
    100101        </if>
    101102    </target>
  • release-kits/lirk3/ant-scripts/create-installer.xml

    r15304 r15967  
    2020        <if><bool><istrue value="${execute}"/></bool>
    2121
     22            <!-- get the size of packages -->
     23            <exec executable="du" dir="${basedir}/distribution/greenstone3/packages" outputproperty="du.tomcat"><arg line="-hs tomcat"/></exec>
     24            <exec executable="sed" inputstring="${du.tomcat}" outputproperty="component.size.tomcat"><arg line="-e 's/^\(.*\)\s.*$/\1b/g'"/></exec>
     25
     26            <exec executable="du" dir="${basedir}/distribution/greenstone3/packages" outputproperty="du.ant"><arg line="-hs ant"/></exec>
     27            <exec executable="sed" inputstring="${du.ant}" outputproperty="component.size.ant"><arg line="-e 's/^\(.*\)\s.*$/\1b/g'"/></exec>
     28
    2229            <echo>Project Path: ${basedir}/distribution/greenstone3</echo>
    2330            <mkdir dir="${basedir}/installer"/>
     
    2835            <!-- put the concrete values of things in the config -->
    2936            <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@version@" replacement="${version}"/>
     37            <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@component.size.java@" replacement="${component.size.java}"/>
     38            <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@component.size.tomcat@" replacement="${component.size.tomcat}"/>
     39            <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@component.size.ant@" replacement="${component.size.ant}"/>
     40
    3041            <rsr file="${basedir}/installer/build.xml" pattern="@java.min.version@" replacement="${java.min.version}"/>
    3142            <rsr file="${basedir}/installer/build.xml" pattern="@java.extracted@" replacement="${java.extracted}"/>
     
    3344
    3445            <!-- put the concrete values of things in the text -->
     46
    3547            <!-- default -->
    3648            <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@version@" replacement="${version}"/>
     
    95107                    icons="bluecurve">
    96108
    97                 <!-- copy all the important files into the archive to be extracted for install -->
    98109                <zipfileset dir="${basedir}/installer/cp" includes="resources/*"/>
    99110                <zipfileset dir="${lirk3.home}/ant-scripts/tasks/orans"><include name="RegexSearchReplace.class"/></zipfileset>
     
    110121                <zipfileset dir="${basedir}/distribution/greenstone3/src" prefix="src"><include name="**/*"/></zipfileset>
    111122            </installer>
    112 
    113123        </if>
    114124    </target>
  • release-kits/lirk3/ant-scripts/init.xml

    r15832 r15967  
    4343    <property file="build.properties" />
    4444
     45    <!-- the minimum version of java which the installer should be run with (this gets passed to search4j) -->
     46    <property name="java.min.version" value="1.4.0_00"/>
     47
    4548    <!-- somewhere to store temporary text -->
    4649    <tempfile property="temp.file" destdir="${java.io.tmpdir}" prefix="delete" suffix=".tmp"/>
    47 
    48     <!-- bundled java strings -->
    49     <!-- java.installer: use a filename which has only letters numbers and underscores -->
    5050
    5151    <!-- the version numbers of bundled things -->
     
    5454    <property name="bundled.version.ant" value="1.6.5"/>
    5555
    56     <!--<property name="java.installer" value="jre_6u5_linux_i586"/>-->
    57     <property name="java.installer" value="jre_6u5_tar_gz"/>
    58     <property name="java.extracted" value="jre1.6.0_05"/>
    59     <property name="java.min.version" value="1.4.0_00"/>
     56    <!-- information about the bundled java (to be changed manually when the bundled version changes) -->
     57    <property name="java.installer" value="jre_6u5_tar_gz"/> <!-- set this to the name of the archive in LIRK3_HOME/wrapper. can only contain A-Za-z_ -->
     58    <property name="java.extracted" value="jre1.6.0_05"/> <!-- set this to the name of the top level directory in the above archive -->
     59    <property name="component.size.java" value="97Mb"/>
     60
     61
     62
    6063
    6164
  • release-kits/lirk3/ant-scripts/operations-on-gs3home.xml

    r14982 r15967  
    4949
    5050        <delete><fileset dir="." includes="*.bat"/></delete>
    51         <delete file="${gli.home}/gli.sh"/>
     51        <!--<delete file="${gli.home}/gli.sh"/>-->
    5252        <delete file="${gli.home}/gems.sh"/>
    5353        <antcall target="rename-gs2build-files-dist"/>   
Note: See TracChangeset for help on using the changeset viewer.