Changeset 17650

Show
Ignore:
Timestamp:
31.10.2008 13:40:50 (11 years ago)
Author:
oranfry
Message:

installer config changes for source releases in lirk2

Location:
release-kits/lirk2/installer
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • release-kits/lirk2/installer/antinstall-config.xml

    r17646 r17650  
    4545        <comment name="choose-components"/> 
    4646 
     47        <!-- start binary release core --> 
    4748        <target 
    4849            target="Installing Core System" 
     
    5152            defaultValue="true" 
    5253            force="true"/> 
     54        <!-- end binary release core --> 
     55 
     56        <!-- start source release core --> 
     57        <target 
     58            target="Installing Source Code Core" 
     59            diskRequirement="@component.size.sourcecode-core@" 
     60            displayText="" 
     61            defaultValue="true" 
     62            force="true"/> 
     63        <!-- end source release core --> 
    5364 
    5465        <!-- start bundled components --> 
     
    6475            target="Installing Source Code" 
    6576            diskRequirement="@component.size.sourcecode@" 
    66             defaultValue="false" 
     77            defaultValue="true" 
    6778            displayText=""/> 
    6879        <!-- end sourcecode --> 
     
    7081    </page> 
    7182 
     83    <!-- start binary release core --> 
    7284    <page type="input" name="admin-password" displayText=""> 
    7385        <comment name="admin-password-expl"/> 
    7486        <text property="admin.password" defaultValue="" displayText=""/> 
    7587    </page> 
     88    <!-- end binary release core --> 
    7689 
    7790    <page type="progress" name="progress" showTargets="true" displayText=""/> 
  • release-kits/lirk2/installer/build.xml

    r17646 r17650  
    9595        <rsr file="${installDir}/etc/main.cfg" pattern="^status .*" replacement="status enabled"/> 
    9696 
    97         <echo>Deleting some unneeded files</echo> 
    98         <delete dir="${installDir}/resources/icons"/> 
    99         <delete file="${installDir}/resources/*.png"/> 
    100  
    10197        <echo>Creating installation properties file</echo> 
    10298        <echo file="${installDir}/etc/installation.properties">#this file is just a placeholder for now</echo> 
     
    105101 
    106102    </target> 
     103 
     104    <!-- sourcecode core system --> 
     105    <target name="Installing Source Code Core"> 
     106 
     107        <echo>Installing Source Code Core</echo> 
     108        <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode-core.lzma"/></patternset></unzip> 
     109        <sevenzip task="decode" input="${basedir}/sourcecode-core.lzma" output="${basedir}/sourcecode-core.comp"/> 
     110        <delete file="sourcecode-core.lzma"/> 
     111        <unzip src="${basedir}/sourcecode-core.comp" dest="${installDir}"/> 
     112        <delete file="sourcecode-core.comp"/> 
     113 
     114        <echo>Set the installation locale in config files</echo> 
     115        <rsr file="${installDir}/setup.bash" pattern="^gsdllang=.*" replacement="gsdllang=${language}"/> 
     116        <rsr file="${installDir}/gli/gli.sh" pattern="^glilang=.*" replacement="glilang=${language}"/> 
     117        <rsr file="${installDir}/gli/gems.sh" pattern="^glilang=.*" replacement="glilang=${language}"/> 
     118 
     119        <rsr 
     120            file="${installDir}/gli/classes/xml/config.xml" 
     121            pattern="(&lt;Argument name=&quot;general.locale&quot;&gt;).*(&lt;/Argument&gt;)" 
     122            replacement="$1${language}$2"/> 
     123 
     124        <echo file="${installDir}/etc/main.cfg" append="true" 
     125            >cgiarg          shortname=l argdefault=${language}</echo> 
     126 
     127        <rsr file="${installDir}/etc/main.cfg" pattern="^status .*" replacement="status enabled"/> 
     128 
     129        <echo>Creating installation properties file</echo> 
     130        <echo file="${installDir}/etc/installation.properties">#this file is just a placeholder for now</echo> 
     131 
     132    </target> 
     133 
    107134 
    108135    <!-- source code -->