Ignore:
Timestamp:
2010-06-30T10:24:48+12:00 (14 years ago)
Author:
sjm84
Message:

Several upgrades to the release kits have been made including: optional Apache and the ability to create installers with extensions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/kits/rk2/installer/build.xml

    r22131 r22325  
    120120        <!-- if linux|mac -->
    121121        <chmod dir="${installDir}/bin/${shell.name}" includes="**/*" perm="775"/>
    122         <chmod dir="${installDir}/apache-httpd/${shell.name}/bin" includes="*" perm="775"/>
    123         <chmod dir="${installDir}/apache-httpd/${shell.name}" includes="*.sh" perm="775"/>
    124122        <!-- /if -->
    125123
     
    155153            >cgiarg          shortname=l argdefault=${language}</echo>
    156154
    157         <!-- if linux|mac -->
    158         <echo>Setting up apache web server</echo>
    159         <exec dir="${installDir}" executable="${installDir}/apache-httpd/${shell.name}/install-bindist.sh">
    160             <arg value="${installDir}/apache-httpd/${shell.name}"/>
    161         </exec>
    162         <!-- /if -->
    163 
    164155        <echo message="Creating installation properties file"/>
    165156        <!-- if linux|mac -->
     
    170161        <!-- /if -->
    171162       
     163    </target>
     164
     165    <!-- Apache HTTPD  -->
     166    <target name="Installing Apache Web Server">
     167      <echo>Installing the Apache Web Server</echo>
     168     
     169      <!-- start web -->
     170      <unzip src="${antinstaller.jar}" dest="${basedir}">
     171        <patternset>
     172          <include name="apachehttpd.lzma"/>
     173        </patternset>
     174      </unzip>
     175
     176      <!-- if linux|mac -->
     177      <sevenzip task="decode" input="${basedir}/apachehttpd.lzma" output="${basedir}/imagemagick.comp"/>
     178      <!-- /if -->
     179      <!-- if windows -->
     180      <exec dir="${basedir}" executable="${basedir}/7za.exe">
     181        <arg line="x apachehttpd.lzma"/>
     182      </exec>
     183      <!-- /if -->
     184      <!-- end web -->
     185
     186      <!-- start cdrom -->
     187      <copy todir="${installDir}">
     188        <fileset dir="${orig.dir}/Software/apache-httpd"/>
     189      </copy>
     190      <!-- end cdrom -->
     191
     192      <!-- if linux|mac -->
     193      <chmod dir="${installDir}/apache-httpd/${shell.name}/bin" includes="*" perm="775"/>
     194      <chmod dir="${installDir}/apache-httpd/${shell.name}" includes="*.sh" perm="775"/>
     195      <echo>Setting up apache web server</echo>
     196      <exec dir="${installDir}" executable="${installDir}/apache-httpd/${shell.name}/install-bindist.sh">
     197        <arg value="${installDir}/apache-httpd/${shell.name}"/>
     198      </exec>
     199      <!-- /if -->
    172200    </target>
    173201
Note: See TracChangeset for help on using the changeset viewer.