Ignore:
Timestamp:
2008-11-07T14:36:58+13:00 (15 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

File:
1 edited

Legend:

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

    r17652 r17786  
    107107    </target>
    108108
    109     <target name="Installing Source Code Core">
    110 
    111         <!-- figure out the start menu path -->
    112         <getfreepath path="${win32.personal.programs_menu}\Greenstone-@version@" property="startmenu.path"/>       
    113         <path id="startmenu.path.path" path="${startmenu.path}"/>
    114         <pathconvert targetos="unix" property="startmenu.path.unix" refid="startmenu.path.path"/>
    115 
    116         <echo>basedir: ${basedir}</echo>
    117         <echo>installDir: ${installDir}</echo>
    118         <echo>antinstaller.jar: ${antinstaller.jar}</echo>
    119         <echo>startmenu.path: ${startmenu.path}</echo>
    120 
    121         <!-- create the installation directory -->
    122         <echo message="Creating Installation directory"/>
    123         <mkdir dir="${installDir}"/>
    124        
    125         <!-- extract 7za tool -->
    126         <unzip src="${antinstaller.jar}" dest="${basedir}">
    127             <patternset><include name="7za.exe"/></patternset>
    128         </unzip>
    129 
    130         <!-- install files -->
    131         <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode-core.lzma"/></patternset></unzip>
    132         <exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x sourcecode-core.lzma"/></exec>
    133         <delete file="sourcecode-core.lzma"/>
    134         <unzip src="${basedir}/sourcecode-core.comp" dest="${installDir}"/>
    135         <delete file="sourcecode-core.comp"/>
    136        
    137         <echo message="Filling in concrete values in config files"/>
    138         <rsr file="${installDir}/setup.bat" pattern="\*\*GSDLHOME\*\*" replacement="${installDir}"/>
    139                
    140         <echo message="Creating installation properties file"/>
    141         <echo file="${installDir}\etc\installation.properties">installed.startmenu.path:${startmenu.path.unix}</echo>
    142        
    143         <echo message="Finished"/>
    144        
    145     </target>
    146 
    147     <!-- Source -->
    148     <target name="Installing Source Code">
    149         <echo message="Installing Source Code"/>
    150         <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode.lzma"/></patternset></unzip>
    151         <exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x sourcecode.lzma"/></exec>
    152         <!--<sevenzip task="decode" input="${basedir}/sourcecode.lzma" output="${basedir}/sourcecode.comp"/>-->
    153         <delete file="sourcecode.lzma"/>
    154             <unzip src="${basedir}/sourcecode.comp" dest="${installDir}"/>
    155         <delete file="sourcecode.comp"/>
    156     </target>
    157 
    158109    <target name="Installing ImageMagick">
    159110        <echo message="Installing ImageMagick"/>
Note: See TracChangeset for help on using the changeset viewer.