Ignore:
Timestamp:
2009-05-27T13:36:58+12:00 (12 years ago)
Author:
oranfry
Message:

fixed to creating cdrom components on linux and mac

File:
1 edited

Legend:

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

    r19537 r19615  
    33
    44    <target name="wrap">
    5         <antcall target="wrap-main-installer"/>
    6         <antcall target="wrap-cdrom-installer"/>
    7         <antcall target="archive-cdrom-components-and-installer"/>
    8     </target>
    95
    10     <target name="wrap-main-installer">
    116        <mkdir dir="products"/>
    127
     
    5146    </target>
    5247
    53     <target name="wrap-cdrom-installer">
    54         <mkdir dir="products"/>
    55         <!-- create app for cdrom installer -->
    56         <copy todir="${basedir}/wrapped-installer/cdrom.app"><fileset dir="${mark2.home}/mac/Wrapper.app"/></copy>
    57         <copy todir="${basedir}/wrapped-installer/cdrom.app/Contents/Resources" file="${mark2.home}/greenstone2/icon/icon.icns"/>
    58         <chmod file="${basedir}/wrapped-installer/cdrom.app/Contents/MacOS/JavaApplicationStub" perm="ug+x"/>
    59 
    60         <!-- copy bundled files -->
    61         <copy todir="${basedir}/wrapped-installer/cdrom.app/Contents/Resources/Java" file="${basedir}/installer/cdrom.jar"/>
    62 
    63         <!-- substitute in real values -->
    64         <rsr file="${basedir}/wrapped-installer/cdrom.app/Contents/Info.plist" pattern="@jar@" replacement="cdrom.jar"/>
    65         <rsr file="${basedir}/wrapped-installer/cdrom.app/Contents/Info.plist" pattern="@version@" replacement="${version}"/>
    66     </target>
    67 
    68     <target name="archive-cdrom-components-and-installer">
    69         <tar destfile="products/cdrom-components-${version}-mac.tar.gz" compression="gzip">
    70             <tarfileset dir="components/tmp"><include name="cdrom/**/*"/></tarfileset>
    71             <tarfileset dir="wrapped-installer"><include name="cdrom.app/**/*"/></tarfileset>
    72         </tar>
    73     </target>
    74 
    7548</project>
Note: See TracChangeset for help on using the changeset viewer.