Ignore:
Timestamp:
2008-10-31T15:08:31+13:00 (15 years ago)
Author:
oranfry
Message:

started source releases

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

Legend:

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

    r17645 r17652  
    33
    44    <!-- create components from the distribution folder -->
     5
     6    <!-- 1st level -->
    57    <target name="create-components">
    68        <antcall target="prepare-components" />
     
    810    </target>
    911
     12    <!-- 2nd level -->
    1013    <target name="prepare-components">
    1114        <antcall target="prepare-core-component" />
     
    1417        <antcall target="prepare-tomcat-component" />
    1518        <antcall target="prepare-imagemagick-component" />
    16 
     19        <antcall target="prepare-sourcecode-core-component" />
    1720    </target>
    1821
     
    2326        <antcall target="compress-tomcat-component" />
    2427        <antcall target="compress-imagemagick-component" />
     28        <antcall target="compress-sourcecode-core-component" />
    2529    </target>
    2630
    27    
     31    <!-- 3rd level -->
    2832    <target name="prepare-core-component">
    2933
     
    148152        <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/>
    149153    </target>
     154
     155    <target name="prepare-sourcecode-core-component">
     156        <delete dir="components/tmp/sourcecode-core"/>
     157        <mkdir dir="components/tmp/sourcecode-core"/>
     158
     159        <copy todir="components/tmp/sourcecode-core" overwrite="true">
     160            <fileset dir="distribution/source">
     161                <include name="gli/**/*"/>
     162                <include name="docs/**/*"/>
     163                <include name="resources/**/*"/>
     164                <include name="web/**/*"/>
     165                <include name="gs2build/etc/**/*"/>
     166                <include name="gs2build/setup.bash"/>
     167                <include name="build.xml"/>
     168                <include name="build.properties"/>
     169                <include name="*.sh"/>
     170                <include name="*.txt"/>
     171            </fileset>
     172        </copy>
     173        <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/>
     174    </target>
    150175   
     176    <target name="compress-sourcecode-core-component">
     177        <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>
     178    </target>
     179
    151180</project>
  • release-kits/lirk3/ant-scripts/create-distribution.xml

    r17645 r17652  
    33
    44    <target name="create-distribution">
     5
    56        <!-- create distribution -->
    67        <antcall target="export-greenstone3-gli" />
    7         <antcall target="greenstone3-set-version-numbers">
    8             <param name="greenstone3basedir" value="${basedir}/distribution/greenstone3"/>
    9         </antcall>
    10         <antcall target="gli-set-version-numbers">
    11             <param name="glibasedir" value="${basedir}/distribution/greenstone3/gli"/>
    12         </antcall>
     8        <antcall target="greenstone3-set-version-numbers"><param name="greenstone3basedir" value="${basedir}/distribution/greenstone3"/></antcall>
     9        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distribution/greenstone3/gli"/></antcall>
     10        <antcall target="insert-user-manual"/>
    1311
    14         <!-- create distributions 1, 2 and 3 -->
     12        <antcall target="copy-web-to-source-greenstone3" /> <!-- from gs3-targets -->
     13
    1514        <ant antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" target="create-distribution-1" inheritAll="false">
    1615            <property name="app.version" value="${version}"/>
     
    2928
    3029        <antcall target="copy-over-build-xml" />
    31         <antcall target="insert-user-manual"/>
    3230        <antcall target="insert-compiled-binaries"/>
    3331        <antcall target="export-imagemagick-linux-binaries" />
    3432        <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk3-targets -->
    35         <antcall target="rename-build-xml-for-transit"/>
    36         <antcall target="strip-svn-dirs"><param name="dir" value="distribution/greenstone3"/></antcall> <!-- from init -->
     33   
     34        <antcall target="strip-svn-dirs"><param name="dir" value="distribution"/></antcall> <!-- from init -->
     35
    3736    </target>
    3837
     
    7271    </target>
    7372
    74     <target name="rename-build-xml-for-transit">
    75         <move file="distribution/greenstone3/build.xml" tofile="distribution/greenstone3/greenstone3-build.xml"/>
    76     </target>
    77 
    7873</project>
Note: See TracChangeset for help on using the changeset viewer.