Changeset 20533


Ignore:
Timestamp:
2009-09-07T09:55:41+12:00 (12 years ago)
Author:
oranfry
Message:

changes to the sork3 logic

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

Legend:

Unmodified
Added
Removed
  • release-kits/sork3/ant-scripts/build.xml

    r19974 r20533  
    3636        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/${dist.dirname}/gli"/></antcall>
    3737        <antcall target="insert-winbin"/>
     38        <antcall target="insert-ant"/>
    3839        <antcall target="insert-windows-perl"><param name="todir" value="${basedir}/distributions/${dist.dirname}/gs2build/bin/windows"/></antcall>
    3940        <antcall target="tweak-files"/>
     41        <ant dir="distributions/${dist.dirname}">
     42            <target name="fix-execute-permissions"/>
     43            <target name="fix-execute-permissions-source"/>
     44        </ant>
    4045        <antcall target="create-archives"/>
    4146        <ant dir="." antfile="${sork3.home}/ant-scripts/create-sourcecode-component.xml" target="create-sourcecode-component"/>
     
    5661    <target name="tweak-files">
    5762        <delete file="distributions/${dist.dirname}/gs2build/bin/linux/mgquery_old" />
     63        <delete file="distributions/${dist.dirname}/build.properties.in"/>
     64        <delete><fileset dir="distributions/${dist.dirname}/packages" includes="**/*.zip,**/*.tar.gz"/></delete>
     65    </target>
     66
     67    <target name="insert-ant">
     68        <copy todir="distributions/${dist.dirname}/packages/ant">
     69            <fileset dir="${rk.home}/core/ant"/>
     70        </copy>
    5871    </target>
    5972
     
    105118        </exec>
    106119
    107         <!-- unzip some windows packages -->
     120        <!-- unzip some packages -->
    108121        <unzip src="distributions/source-component/gs2build/common-src/indexers/packages/windows/iconv/iconv.zip" dest="distributions/source-component/gs2build/common-src/indexers/packages/windows/iconv"/>
    109122        <delete file="distributions/source-component/gs2build/common-src/indexers/packages/windows/iconv/iconv.zip"/>
  • release-kits/sork3/ant-scripts/create-sourcecode-component.xml

    r19978 r20533  
    55
    66    <import file="${basedir}/distributions/${dist.dirname}/resources/xml/components.xml"/>
     7    <import file="${basedir}/distributions/${dist.dirname}/resources/xml/executables.xml"/>
    78
    89    <target name="create-sourcecode-component">
     
    1415        </copy>
    1516
    16         <!-- unzip some windows packages -->
    17         <unzip src="distributions/source-component/gs2build/common-src/indexers/packages/windows/iconv/iconv.zip" dest="distributions/source-component/gs2build/common-src/indexers/packages/windows/iconv"/>
    18         <delete file="distributions/source-component/gs2build/common-src/indexers/packages/windows/iconv/iconv.zip"/>
    19        
    20         <unzip src="distributions/source-component/gs2build/common-src/packages/windows/crypt/crypt.zip" dest="distributions/source-component/gs2build/common-src/packages/windows/crypt"/>
    21         <delete file="distributions/source-component/gs2build/common-src/packages/windows/crypt/crypt.zip"/>
    22        
    23         <unzip src="distributions/source-component/gs2build/common-src/packages/windows/expat/expat.zip" dest="distributions/source-component/gs2build/common-src/packages/windows/expat"/>
    24         <delete file="distributions/source-component/gs2build/common-src/packages/windows/expat/expat.zip"/>
    25        
    26         <unzip src="distributions/source-component/gs2build/common-src/packages/windows/stlport/stlport.zip" dest="distributions/source-component/gs2build/common-src/packages/windows/stlport"/>
    27         <delete file="distributions/source-component/gs2build/common-src/packages/windows/stlport/stlport.zip"/>
    28 
    29         <exec executable="tar" dir="distributions/source-component/gs2build/common-src/packages/sqlite"><arg value="-xzf"/><arg value="sqlite-amalgamation-3.5.9.tar.gz"/></exec>
    30         <delete file="distributions/source-component/gs2build/common-src/packages/sqlite/sqlite-amalgamation-3.5.9.tar.gz"/>
    31 
    32         <exec executable="tar" dir="distributions/source-component/gs2build/common-src/packages/expat"><arg value="-xzf"/><arg value="expat-1.95.8.tar.gz"/></exec>
    33         <delete file="distributions/source-component/gs2build/common-src/packages/sqlite/sqlite-amalgamation-3.5.9.tar.gz"/>
     17        <!-- fix permissions -->
     18        <chmod perm="775">
     19            <fileset dir="distributions/source-component"><patternset refid="greenstone3.source.executables"/></fileset>
     20        </chmod>
    3421
    3522        <!-- archive it -->
     
    4229    </target>
    4330
     31
    4432</project>
Note: See TracChangeset for help on using the changeset viewer.