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/wirk3/installer/build.xml

    r17814 r17815  
    198198         
    199199    </target> 
     200 
     201    <target name="Source Release" depends=""> 
     202 
     203        <!-- create the installation directory --> 
     204        <echo message="Creating Installation directory"/> 
     205        <mkdir dir="${installDir}"/> 
     206 
     207        <!-- extract 7za tool --> 
     208        <unzip src="${antinstaller.jar}" dest="${basedir}"> 
     209            <patternset><include name="7za.exe"/></patternset> 
     210        </unzip> 
     211 
     212        <echo>Installing Source Release</echo> 
     213        <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="source-release.lzma"/></patternset></unzip> 
     214        <exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x source-release.lzma"/></exec> 
     215        <delete file="source-release.lzma"/> 
     216        <unzip src="${basedir}/source-release.comp" dest="${installDir}"/> 
     217        <delete file="source-release.comp"/> 
     218 
     219        <!-- set gsdlhome in gs2build setup.bat --> 
     220        <echo message="Setting %GSDLHOME% in gs2build\setup.bat"/> 
     221        <rsr file="${installDir}/gs2build/setup.bat" pattern="\*\*GSDLHOME\*\*" replacement="${installDir.local}\gs2build" /> 
     222 
     223        <!-- set up global properties --> 
     224        <echo message="Setting up global properties"/> 
     225        <copy file="${installDir}/resources/java/global.properties.in" tofile="${installDir}/web/WEB-INF/classes/global.properties" overwrite="true"/> 
     226        <rsr file="${installDir}/web/WEB-INF/classes/global.properties"> 
     227            <job pattern="@gsdl3home@" replacement="${installDir.unix}/web" /> 
     228            <job pattern="@tomcat.server@" replacement="${tomcat.server}" /> 
     229            <job pattern="@tomcat.port@" replacement="${tomcat.port}" /> 
     230        </rsr> 
     231 
     232        <!-- set up log4j properties--> 
     233        <echo message="Setting up log4j properties"/> 
     234        <copy file="${installDir}/resources/java/log4j.properties.in" tofile="${installDir}/web/WEB-INF/classes/log4j.properties" overwrite="true"/> 
     235        <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="@gsdl3home@" replacement="${installDir.unix}/web"/> 
     236 
     237        <echo>Create usage.txt</echo> 
     238        <echo file="${installDir}/gs2build/etc/usage.txt"></echo> 
     239 
     240        <echo message="Creating installation properties file"/> 
     241        <echo file="${installDir}\installation.properties">installed.startmenu.path:${startmenu.path.unix}</echo> 
     242         
     243    </target> 
     244 
     245 
    200246     
    201247</project>