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

started source releases

File:
1 edited

Legend:

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

    r17471 r17652  
    22<project name="wirk3-create-components" default="create-components">
    33
    4 
     4    <!-- create components from the distribution folder -->
     5
     6    <!-- 1st level -->
    57    <target name="create-components">
    68        <antcall target="prepare-components" />
    79        <antcall target="compress-components" />
    810    </target>
    9    
    10     <!-- create components from the distribution folder -->
     11
     12    <!-- 2nd level -->
    1113    <target name="prepare-components">
    1214        <antcall target="prepare-core-component" />
     
    1618        <antcall target="prepare-ant-component" />
    1719        <antcall target="prepare-tomcat-component" />
     20        <antcall target="prepare-sourcecode-core-component" />
    1821    </target>
    1922   
     
    2528        <antcall target="compress-ant-component" />
    2629        <antcall target="compress-tomcat-component" />
    27     </target>
    28    
    29    
    30 
    31    
     30        <antcall target="compress-sourcecode-core-component" />
     31    </target
     32   
     33    <!-- 3rd level -->
    3234    <target name="prepare-core-component">
    3335
     
    169171    </target>   
    170172
     173    <target name="prepare-sourcecode-core-component">
     174        <delete dir="components/tmp/sourcecode-core"/>
     175        <mkdir dir="components/tmp/sourcecode-core"/>
     176
     177        <copy todir="components/tmp/sourcecode-core" overwrite="true">
     178            <fileset dir="distribution/source">
     179                <include name="gli/**/*"/>
     180                <include name="docs/**/*"/>
     181                <include name="resources/**/*"/>
     182                <include name="web/**/*"/>
     183                <include name="gs2build/etc/**/*"/>
     184                <include name="gs2build/setup.bash"/>
     185                <include name="build.xml"/>
     186                <include name="build.properties"/>
     187                <include name="*.sh"/>
     188                <include name="*.txt"/>
     189            </fileset>
     190        </copy>
     191        <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/>
     192    </target>
     193   
     194    <target name="compress-sourcecode-core-component">
     195        <!--<sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>-->
     196        <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 sourcecode-core.lzma sourcecode-core.comp"/></exec>
     197    </target>
     198
     199
    171200   
    172201   
Note: See TracChangeset for help on using the changeset viewer.