Show
Ignore:
Timestamp:
11.11.2008 15:34:58 (11 years ago)
Author:
oranfry
Message:

the targets to intall the source releases on mac and windows

Files:
1 modified

Legend:

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

    r17814 r17815  
    107107 
    108108 
     109    <target name="Source Release" depends=""> 
     110 
     111        <!-- create the installation directory --> 
     112        <echo message="Creating Installation directory"/> 
     113        <mkdir dir="${installDir}"/> 
     114 
     115        <echo>Installing Source Release</echo> 
     116        <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="source-release.lzma"/></patternset></unzip> 
     117        <sevenzip task="decode" input="${basedir}/source-release.lzma" output="${basedir}/source-release.comp"/> 
     118        <delete file="source-release.lzma"/> 
     119        <unzip src="${basedir}/source-release.comp" dest="${installDir}"/> 
     120        <delete file="source-release.comp"/> 
     121 
     122        <echo message="Setting Binaries to Executable"/> 
     123        <chmod dir="${installDir}" includes="*.sh,*.bash" perm="775"/> 
     124        <chmod dir="${installDir}/bin/darwin" includes="*" perm="775"/> 
     125        <chmod dir="${installDir}/bin" includes="*" perm="775"/> 
     126        <chmod dir="${installDir}/cgi-bin" includes="*" perm="775"/> 
     127        <chmod dir="${installDir}/bin/script" includes="**/*" perm="775"/> 
     128        <chmod dir="${installDir}/gli" includes="*.sh" perm="775"/> 
     129        <echo/> 
     130 
     131        <echo message="Filling in concrete values in config files"/> 
     132        <rsr file="${installDir}/cgi-bin/gsdlsite.cfg" pattern="\*\*GSDLHOME\*\*" replacement="${installDir}"/> 
     133        <rsr file="${installDir}/cgi-bin/gsdlsite.cfg" pattern="^(#?httpprefix).*" replacement="$1 /gsdl"/> 
     134        <rsr file="${installDir}/cgi-bin/gsdlsite.cfg" pattern="^(#?httpimg).*" replacement="$1 /gsdl/images"/> 
     135        <echo/> 
     136 
     137        <echo>Create usage.txt</echo> 
     138        <echo file="${installDir}/etc/usage.txt"></echo> 
     139 
     140        <echo>Creating installation properties file</echo> 
     141        <echo file="${installDir}/etc/installation.properties">#this file is just a placeholder for now</echo> 
     142 
     143        <echo message="Finished"/> 
     144 
     145    </target> 
     146 
     147 
    109148 
    110149</project>