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/lirk3/ant-scripts/create-components.xml

    r17721 r17786  
    1313    <target name="prepare-components">
    1414        <antcall target="prepare-core-component" />
    15         <antcall target="prepare-sourcecode-component" />
    1615        <antcall target="prepare-ant-component" />
    1716        <antcall target="prepare-tomcat-component" />
    1817        <antcall target="prepare-imagemagick-component" />
    19         <antcall target="prepare-sourcecode-core-component" />
     18
     19        <antcall target="prepare-sourcecode-component" />
     20
     21        <antcall target="prepare-source-release" />
    2022    </target>
    2123
    2224    <target name="compress-components">
    2325        <antcall target="compress-core-component" />
    24         <antcall target="compress-sourcecode-component" /> 
    2526        <antcall target="compress-ant-component" />
    2627        <antcall target="compress-tomcat-component" />
    2728        <antcall target="compress-imagemagick-component" />
    28         <antcall target="compress-sourcecode-core-component" />
     29
     30        <!--<antcall target="compress-sourcecode-component" />-->
     31
     32        <antcall target="compress-source-release" />
    2933    </target>
    3034
     
    6771    </target>
    6872
    69     <!-- sourcecode-core -->
    70     <target name="prepare-sourcecode-core-component">
    71         <delete dir="components/tmp/sourcecode-core"/>
    72         <mkdir dir="components/tmp/sourcecode-core"/>
    73 
    74         <copy todir="components/tmp/sourcecode-core" overwrite="true">
    75             <fileset dir="distribution/source">
    76                 <include name="gli/**/*"/>
    77                 <include name="docs/**/*"/>
    78                 <include name="resources/**/*"/>
    79                 <include name="web/**/*"/>
    80                 <include name="gs2build/etc/**/*"/>
    81                 <include name="gs2build/setup.bash"/>
    82                 <include name="build.xml"/>
    83                 <include name="build.properties"/>
    84                 <include name="*.sh"/>
    85                 <include name="*.txt"/>
    86             </fileset>
    87         </copy>
    88         <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false"/>
    89     </target>
    90    
    91     <target name="compress-sourcecode-core-component">
    92         <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>
    93     </target>
    94    
    9573    <!-- sourcecode -->
    9674    <target name="prepare-sourcecode-component">
     
    10886        </copy>
    10987               
    110         <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" />
    11188        <zip destfile="components/Greenstone-${version}-linux-sourcecode.zip"  basedir="components/tmp/sourcecode" compress="true"/>
    11289    </target>
     
    173150    </target>
    174151
     152
     153    <!-- sourcecode-release -->
     154    <target name="prepare-source-release">
     155        <delete dir="components/tmp/source-release"/>
     156        <mkdir dir="components/tmp/source-release"/>
     157
     158        <copy todir="components/tmp/source-release" overwrite="true">
     159            <fileset dir="distribution/source"/>
     160        </copy>
     161        <zip destfile="components/source-release.comp" basedir="components/tmp/source-release" compress="false"/>
     162    </target>
     163   
     164    <target name="compress-source-release">
     165        <sevenzip task="encode" input="components/source-release.comp" output="components/source-release.lzma" dictionnary="26"/>
     166    </target>
     167
     168
    175169</project>
Note: See TracChangeset for help on using the changeset viewer.