Ignore:
Timestamp:
2008-11-07T14:36:58+13:00 (15 years ago)
Author:
oranfry
Message:

shifted the responsibility for the source release to the linux release kit. Made the source release contain a single component with the core and sourcecode mixed together

File:
1 edited

Legend:

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

    r17721 r17786  
    1313    <target name="prepare-components">
    1414        <antcall target="prepare-core-component" />
     15        <antcall target="prepare-imagemagick-component" />
     16
    1517        <antcall target="prepare-sourcecode-component" />
    16         <antcall target="prepare-imagemagick-component" />
    17         <antcall target="prepare-sourcecode-core-component" />
     18
     19        <antcall target="prepare-source-release" />
    1820    </target>
    1921
    2022    <target name="compress-components">
    2123        <antcall target="compress-core-component" />
    22         <antcall target="compress-sourcecode-component" /> 
    2324        <antcall target="compress-imagemagick-component" />
    24         <antcall target="compress-sourcecode-core-component" />
     25
     26        <!--<antcall target="compress-sourcecode-component" />-->
     27
     28        <antcall target="compress-source-release" />
    2529    </target>
    2630
     
    5660    </target>
    5761
    58     <!-- sourcecode core -->
    59     <target name="prepare-sourcecode-core-component">
    60         <delete dir="components/tmp/sourcecode-core"/>
    61         <mkdir dir="components/tmp/sourcecode-core"/>
    62 
    63         <copy todir="components/tmp/sourcecode-core" overwrite="true">
    64             <fileset dir="distributions/source">
    65                 <include name="macros/**/*"/>
    66                 <include name="images/**/*"/>
    67                 <include name="etc/**/*"/>
    68                 <include name="gli/**/*"/>
    69                 <include name="collect/**/*"/>
    70                 <include name="doc/**/*"/>
    71                 <include name="setup.bash"/>
    72             </fileset>
    73         </copy>
    74         <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/>
    75     </target>
    76    
    77     <target name="compress-sourcecode-core-component">
    78         <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>
    79     </target>
    80 
    8162    <!-- sourcecode -->
    8263    <target name="prepare-sourcecode-component">
     
    9374        </copy>
    9475               
    95         <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false"/>
    9676        <zip destfile="components/Greenstone-${version}-linux-sourcecode.zip"  basedir="components/tmp/sourcecode" compress="true"/>
    9777    </target>
     
    120100    </target>
    121101
     102    <!-- source-release -->
     103    <target name="prepare-source-release">
     104        <delete dir="components/tmp/source-release"/>
     105        <mkdir dir="components/tmp/source-release"/>
     106
     107        <copy todir="components/tmp/source-release" overwrite="true">
     108            <fileset dir="distributions/source"/>
     109        </copy>
     110        <zip destfile="components/source-release.comp" basedir="components/tmp/source-release" compress="false" includes="**/*"/>
     111    </target>
     112   
     113    <target name="compress-source-release">
     114        <sevenzip task="encode" input="components/source-release.comp" output="components/source-release.lzma" dictionnary="26"/>
     115    </target>
     116
     117
    122118</project>
Note: See TracChangeset for help on using the changeset viewer.