Changeset 18002 for release-kits

Show
Ignore:
Timestamp:
02.12.2008 14:16:38 (11 years ago)
Author:
oranfry
Message:

the improved way of creating the source component, this time for mac

Files:
1 modified

Legend:

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

    r17981 r18002  
    8585                 
    8686        <mkdir dir="products"/> 
    87         <exec dir="components/tmp/sourcecode" executable="bash"> 
    88             <arg line="-c tar -czf ../../products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz *"/> 
     87 
     88        <!-- create a script to create the tar --> 
     89        <echo output="create-sourcecode-component.sh"> 
     90        tar -czf ../../../products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz * 
     91        </echo> 
     92        <chmod perm="+x" file="create-sourcecode-component.sh"/> 
     93 
     94        <!-- run it --> 
     95        <exec dir="components/tmp/sourcecode" executable="/bin/bash"> 
     96            <arg line="${basedir}/create-sourcecode-component.sh"/> 
    8997        </exec> 
     98 
     99        <!-- remove it --> 
     100        <delete file="create-sourcecode-component.sh"/> 
     101 
    90102    </target> 
    91103