Ignore:
Timestamp:
2008-11-06T15:11:37+13:00 (15 years ago)
Author:
oranfry
Message:

dont fail if jre is not bundled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/lirk2/installer/build.xml

    r17700 r17754  
    2222    </condition>
    2323
     24    <target name="bootstrap" if="bundled.java.exists">
     25        <mkdir dir="${installDir}"/>
     26        <copy todir="${installDir}/packages/jre" failonerror="false">
     27            <fileset dir="../@linux-java.extracted@"/>
     28        </copy>
     29        <chmod dir="${installDir}/packages/jre/bin" includes="*" perm="775"/>       
     30    </target>
    2431
    2532    <!-- core system -->
    26     <target name="Installing Core System">
     33    <target name="Installing Core System" depends="bootstrap">
    2734
    28         <echo>basedir: ${basedir}</echo>
    29         <echo>installDir: ${installDir}</echo>
    30         <echo>antinstaller.jar: ${antinstaller.jar}</echo>
    31 
    32         <echo>Creating Installation directory</echo>
    3335        <mkdir dir="${installDir}"/>
    3436
     
    4345        <copy tofile="${installDir}/cgi-bin/oaiserver" file="${installDir}/bin/linux/oaiserver"/>
    4446        <copy tofile="${installDir}/cgi-bin/library" file="${installDir}/bin/linux/library"/>
    45 
    46         <!-- jre -->
    47         <copy todir="${installDir}/packages/jre" failonerror="false">
    48             <fileset dir="../@linux-java.extracted@"/>
    49         </copy>
    50         <chmod dir="${installDir}/packages/jre/bin" includes="*" perm="775"/>       
    5147
    5248        <echo>Setting Binaries to Executable</echo>
Note: See TracChangeset for help on using the changeset viewer.