Show
Ignore:
Timestamp:
31.10.2008 15:08:31 (11 years ago)
Author:
oranfry
Message:

started source releases

Files:
1 modified

Legend:

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

    r17453 r17652  
    33 
    44    <!-- create components from the distribution folder --> 
     5 
     6    <!-- 1st level --> 
    57    <target name="create-components"> 
    6         <antcall target="create-core-component" /> 
    7         <antcall target="create-sourcecode-component" /> 
     8        <antcall target="prepare-components" /> 
     9        <antcall target="compress-components" /> 
     10    </target> 
     11 
     12    <!-- 2nd level --> 
     13    <target name="prepare-components"> 
     14        <antcall target="prepare-core-component" /> 
     15        <antcall target="prepare-sourcecode-component" /> 
     16        <antcall target="prepare-sourcecode-core-component" /> 
    817    </target> 
    918     
     19    <target name="compress-components"> 
     20        <antcall target="compress-core-component" /> 
     21        <antcall target="compress-sourcecode-component" /> 
     22        <antcall target="compress-sourcecode-core-component" /> 
     23    </target> 
     24 
     25    <!-- 3rd level --> 
    1026    <target name="create-core-component"> 
    1127        <antcall target="prepare-core-component" /> 
     
    2743                <include name="**/*"/> 
    2844 
    29                 <!-- sourcecode --> 
     45                <!-- exclude sourcecode --> 
     46                <exclude name="common-src"/> 
    3047                <exclude name="common-src/**/*"/> 
     48                <exclude name="runtime-src"/> 
    3149                <exclude name="runtime-src/**/*"/> 
     50                <exclude name="build-src"/> 
    3251                <exclude name="build-src/**/*"/> 
    3352 
     
    6180    </target> 
    6281     
     82    <target name="prepare-sourcecode-core-component"> 
     83        <delete dir="components/tmp/sourcecode-core"/> 
     84        <mkdir dir="components/tmp/sourcecode-core"/> 
     85 
     86        <copy todir="components/tmp/sourcecode-core" overwrite="true"> 
     87            <fileset dir="distributions/source"> 
     88                <include name="macros/**/*"/> 
     89                <include name="images/**/*"/> 
     90                <include name="etc/**/*"/> 
     91                <include name="gli/**/*"/> 
     92                <include name="collect/**/*"/> 
     93                <include name="doc/**/*"/> 
     94                <include name="setup.bash"/> 
     95            </fileset> 
     96        </copy> 
     97        <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/> 
     98    </target> 
     99     
     100    <target name="compress-sourcecode-core-component"> 
     101        <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/> 
     102    </target> 
     103 
    63104</project>