Changeset 17786 for release-kits/mark3


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

Location:
release-kits/mark3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • release-kits/mark3/ant-scripts/create-components.xml

    r17721 r17786  
    1313    <target name="prepare-components">
    1414        <antcall target="prepare-core-component" />
    15         <antcall target="prepare-sourcecode-component" />
    1615        <antcall target="prepare-ant-component" />
    1716        <antcall target="prepare-tomcat-component" />
    18         <antcall target="prepare-sourcecode-core-component" />
    1917        <antcall target="prepare-imagemagick-component" />
    2018        <antcall target="prepare-ghostscript-component" />
     19
     20        <!--<antcall target="prepare-sourcecode-component" />-->
    2121    </target>
    2222
    2323    <target name="compress-components">
    2424        <antcall target="compress-core-component" />
    25         <antcall target="compress-sourcecode-component" />
    2625        <antcall target="compress-ant-component" />
    2726        <antcall target="compress-tomcat-component" />
    28         <antcall target="compress-sourcecode-core-component" />
    2927        <antcall target="compress-imagemagick-component" />
    3028        <antcall target="compress-ghostscript-component" />
     29
     30        <!--<antcall target="compress-sourcecode-component" />-->
    3131    </target>
    3232
     
    7474    </target>
    7575   
    76     <!-- sourcecode-core -->
    77     <target name="prepare-sourcecode-core-component">
    78         <delete dir="components/tmp/sourcecode-core"/>
    79         <mkdir dir="components/tmp/sourcecode-core"/>
    80 
    81         <copy todir="components/tmp/sourcecode-core" overwrite="true">
    82             <fileset dir="distribution/source">
    83                 <include name="gli/**/*"/>
    84                 <include name="docs/**/*"/>
    85                 <include name="resources/**/*"/>
    86                 <include name="web/**/*"/>
    87                 <include name="gs2build/etc/**/*"/>
    88                 <include name="gs2build/setup.bash"/>
    89                 <include name="build.xml"/>
    90                 <include name="build.properties"/>
    91                 <include name="*.sh"/>
    92                 <include name="*.txt"/>
    93             </fileset>
    94         </copy>
    95         <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/>
    96     </target>
    97    
    98     <target name="compress-sourcecode-core-component">
    99         <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>
    100     </target>
    101 
    102 
    10376    <!-- sourcecode -->
    10477    <target name="prepare-sourcecode-component">
  • release-kits/mark3/ant-scripts/create-distribution.xml

    r17662 r17786  
    99        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distribution/greenstone3/gli"/></antcall>
    1010        <antcall target="insert-user-manual"/>
    11 
    12         <antcall target="copy-web-to-source-greenstone3" /> <!-- from gs3-targets -->
    1311
    1412        <ant target="create-distribution-1" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" inheritAll="false">
  • release-kits/mark3/installer/antinstall-config.xml

    r17742 r17786  
    4242    </page>
    4343
     44    <!-- start binary release -->
    4445    <page type="input" name="selector" displayText="">
    4546        <comment name="choose-components"/>
    4647
    47         <!-- start binary release core -->
    4848        <target
    4949            target="Installing Core System"
     
    5252            defaultValue="true"
    5353            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             />
    63         <!-- end source release core -->
    6454
    6555        <!-- start bundled components -->
     
    7767        <!-- end bundled components -->
    7868
    79         <!-- start sourcecode -->
    80         <target
    81             target="Installing Source Code"
    82             diskRequirement="@component.size.sourcecode@"
    83             defaultValue="false"
    84             displayText=""/>
    85         <!-- end sourcecode -->
    86 
    8769    </page>
     70    <!-- end binary release -->
    8871
    8972    <!-- start bundled components -->
  • release-kits/mark3/installer/build.xml

    r17715 r17786  
    6767    </target>
    6868
    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 
    95 
    96     <!-- Source -->
    97     <target name="Installing Source Code" depends="">
    98         <echo>Installing Source Code</echo>
    99         <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode.lzma"/></patternset></unzip>
    100         <sevenzip task="decode" input="${basedir}/sourcecode.lzma" output="${basedir}/sourcecode.comp"/>
    101         <delete file="sourcecode.lzma"/>
    102         <unzip src="${basedir}/sourcecode.comp" dest="${installDir}"/>
    103         <delete file="sourcecode.comp"/>
    104     </target>
    105 
    10669    <target name="Installing Tomcat">
    10770        <echo message="Installing Tomcat (packages/tomcat)"/>
Note: See TracChangeset for help on using the changeset viewer.