Show
Ignore:
Timestamp:
31.10.2008 15:08:31 (11 years ago)
Author:
oranfry
Message:

started source releases

Files:
1 modified

Legend:

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

    r17609 r17652  
    3434        <delete file="core.comp"/> 
    3535 
    36         <!-- rename greenstone3-build.xml back to build.xml --> 
    37         <move file="${installDir}/greenstone3-build.xml" tofile="${installDir}/build.xml" overwrite="true"/> 
    38  
    3936        <echo message="Setting Binaries to Executable"/> 
    4037        <chmod dir="${installDir}" includes="*.sh" perm="775"/> 
     
    6360        <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 
    6461 
    65  
    66         <!-- in the gs3-setup.sh file, set ANT_HOME and put it in PATH (no need anymore)--> 
    67         <!--<echo>In the gs3-setup.sh file, set ANT_HOME and put it in PATH</echo> 
    68         <exec executable="echo" output="${installDir}/gs3-setup.sh" append="true"> 
    69             <arg line="export ANT_HOME=${installDir}/packages/ant; export PATH=$ANT_HOME/bin:$PATH;"/> 
    70         </exec>--> 
    71  
    72         <!-- delete unneeded files -->       
    73         <echo message="Deleting some extraneous files"/> 
    74         <delete dir="${installDir}/resources/icons"/> 
    75         <delete file="${installDir}/resources/*.png"/> 
    76  
    7762        <echo>Creating installation properties file</echo> 
    7863        <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo> 
     
    8166 
    8267    </target> 
     68 
     69    <!-- sourcecode core system --> 
     70    <target name="Installing Source Code Core"> 
     71 
     72        <echo>Installing Source Code Core</echo> 
     73        <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode-core.lzma"/></patternset></unzip> 
     74        <sevenzip task="decode" input="${basedir}/sourcecode-core.lzma" output="${basedir}/sourcecode-core.comp"/> 
     75        <delete file="sourcecode-core.lzma"/> 
     76        <unzip src="${basedir}/sourcecode-core.comp" dest="${installDir}"/> 
     77        <delete file="sourcecode-core.comp"/> 
     78 
     79        <echo>Setting up global properties</echo> 
     80        <copy file="${installDir}/resources/java/global.properties.in" tofile="${installDir}/web/WEB-INF/classes/global.properties" overwrite="true"/> 
     81        <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 
     82        <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.server@(.*)" replacement="$1localhost$2" /> 
     83        <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.port@(.*)" replacement="$1${tomcat.port}$2" /> 
     84 
     85        <echo>Setting up log4j properties</echo> 
     86        <copy file="${installDir}/resources/java/log4j.properties.in" tofile="${installDir}/web/WEB-INF/classes/log4j.properties" overwrite="true"/> 
     87        <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 
     88 
     89        <echo>Creating installation properties file</echo> 
     90        <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo> 
     91 
     92 
     93    </target> 
     94 
    8395 
    8496    <!-- Source -->