Show
Ignore:
Timestamp:
07.11.2008 14:36:58 (11 years ago)
Author:
oranfry
Message:

shifted the responsibility for the source release to the linux release kit. Made the source release contain a single component with the core and sourcecode mixed together

Files:
1 modified

Legend:

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

    r17765 r17786  
    7272    </target> 
    7373 
    74     <!-- sourcecode core system --> 
    75     <target name="Installing Source Code Core"> 
    76  
    77         <echo>Installing Source Code Core</echo> 
    78         <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode-core.lzma"/></patternset></unzip> 
    79         <sevenzip task="decode" input="${basedir}/sourcecode-core.lzma" output="${basedir}/sourcecode-core.comp"/> 
    80         <delete file="sourcecode-core.lzma"/> 
    81         <unzip src="${basedir}/sourcecode-core.comp" dest="${installDir}"/> 
    82         <delete file="sourcecode-core.comp"/> 
    83  
    84         <echo>Setting up global properties</echo> 
    85         <copy file="${installDir}/resources/java/global.properties.in" tofile="${installDir}/web/WEB-INF/classes/global.properties" overwrite="true"/> 
    86         <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 
    87         <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.server@(.*)" replacement="$1localhost$2" /> 
    88         <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.port@(.*)" replacement="$1${tomcat.port}$2" /> 
    89  
    90         <echo>Setting up log4j properties</echo> 
    91         <copy file="${installDir}/resources/java/log4j.properties.in" tofile="${installDir}/web/WEB-INF/classes/log4j.properties" overwrite="true"/> 
    92         <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 
    93  
    94         <echo>Creating installation properties file</echo> 
    95         <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo> 
    96  
    97     </target> 
    98  
    99  
    100     <!-- Source --> 
    101     <target name="Installing Source Code" depends=""> 
    102  
    103         <echo>Installing Source Code</echo> 
    104         <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode.lzma"/></patternset></unzip> 
    105         <sevenzip task="decode" input="${basedir}/sourcecode.lzma" output="${basedir}/sourcecode.comp"/> 
    106         <delete file="sourcecode.lzma"/> 
    107         <unzip src="${basedir}/sourcecode.comp" dest="${installDir}"/> 
    108         <delete file="sourcecode.comp"/> 
    109  
    110     </target> 
    111  
    11274    <!-- imagemagick --> 
    11375    <target name="Installing ImageMagick"> 
     
    160122    </target> 
    161123 
     124    <!-- source release --> 
     125    <target name="Source Release"> 
     126 
     127        <echo>Installing Source Release</echo> 
     128        <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="source-release.lzma"/></patternset></unzip> 
     129        <sevenzip task="decode" input="${basedir}/source-release.lzma" output="${basedir}/source-release.comp"/> 
     130        <delete file="source-release.lzma"/> 
     131        <unzip src="${basedir}/source-release.comp" dest="${installDir}"/> 
     132        <delete file="source-release.comp"/> 
     133 
     134        <echo>Setting up global properties</echo> 
     135        <copy file="${installDir}/resources/java/global.properties.in" tofile="${installDir}/web/WEB-INF/classes/global.properties" overwrite="true"/> 
     136        <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 
     137        <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.server@(.*)" replacement="$1localhost$2" /> 
     138        <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.port@(.*)" replacement="$1${tomcat.port}$2" /> 
     139 
     140        <echo>Setting up log4j properties</echo> 
     141        <copy file="${installDir}/resources/java/log4j.properties.in" tofile="${installDir}/web/WEB-INF/classes/log4j.properties" overwrite="true"/> 
     142        <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 
     143 
     144        <echo>Creating installation properties file</echo> 
     145        <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo> 
     146 
     147    </target> 
     148 
     149 
    162150</project>