Ignore:
Timestamp:
2008-10-31T15:08:31+13:00 (16 years ago)
Author:
oranfry
Message:

started source releases

File:
1 edited

Legend:

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

    r17646 r17652  
    4242        <chmod dir="${installDir}/packages/jre/bin" includes="*" perm="775"/>       
    4343
    44 
    45         <echo>Renaming greenstone3-build.xml back to build.xml</echo>
    46         <move file="${installDir}/greenstone3-build.xml" tofile="${installDir}/build.xml" overwrite="true"/>
    47 
    4844        <echo>Setting Binaries to Executable</echo>
    4945        <chmod dir="${installDir}" includes="*.sh" perm="775"/>
     
    6965        <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" />
    7066
    71         <echo>Deleting some unneeded files</echo>
    72         <delete dir="${installDir}/resources/icons"/>
    73         <delete file="${installDir}/resources/*.png"/>
    74 
    7567        <echo>Creating installation properties file</echo>
    7668        <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo>
     
    7971
    8072    </target>
     73
     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
    8199
    82100    <!-- Source -->
Note: See TracChangeset for help on using the changeset viewer.