Changeset 19006 for release-kits/shared


Ignore:
Timestamp:
2009-04-16T13:37:26+12:00 (15 years ago)
Author:
oranfry
Message:

changed the release kits to use the new shared code structure

Location:
release-kits/shared
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/core

    • Property svn:externals set to
  • release-kits/shared/core/ant-scripts/init.xml

    r18929 r19006  
    5252
    5353        <!-- our classes -->
    54         <fileset dir="${rk.home}">
    55             <include name="ant-scripts/tasks/antelope/AntelopeTasks_3.4.2.jar"/>
    56             <include name="ant-scripts/tasks/orangevolt/roxes-win32forjava-1.1.1.jar"/>
    57             <include name="ant-scripts/tasks/orangevolt/orangevolt-ant-tasks-1.3.8.jar"/>
    58             <include name="ant-scripts/tasks/svnant/lib/ganymed.jar"/>
    59             <include name="ant-scripts/tasks/svnant/lib/svnClientAdapter.jar"/>
    60             <include name="ant-scripts/tasks/svnant/lib/svnant.jar"/>
    61             <include name="ant-scripts/tasks/svnant/lib/svnjavahl.jar"/>
    62             <include name="ant-scripts/tasks/svnant/lib/svnkit.jar"/>
    63             <include name="ant-scripts/tasks/greenstone/anttasks.jar"/>
    64             <include name="ant-scripts/tasks/7z-ant/7z.jar"/>
     54        <fileset dir="${rk.home}/core">
     55            <include name="ant-tasks/antelope/AntelopeTasks_3.4.2.jar"/>
     56            <include name="ant-tasks/orangevolt/roxes-win32forjava-1.1.1.jar"/>
     57            <include name="ant-tasks/orangevolt/orangevolt-ant-tasks-1.3.8.jar"/>
     58            <include name="ant-tasks/svnant/lib/ganymed.jar"/>
     59            <include name="ant-tasks/svnant/lib/svnClientAdapter.jar"/>
     60            <include name="ant-tasks/svnant/lib/svnant.jar"/>
     61            <include name="ant-tasks/svnant/lib/svnjavahl.jar"/>
     62            <include name="ant-tasks/svnant/lib/svnkit.jar"/>
     63            <include name="ant-tasks/greenstone/anttasks.jar"/>
     64            <include name="ant-tasks/7z-ant/7z.jar"/>
    6565            <include name="lib/crypt.jar"/>
    6666            <include name="lib/serializer.jar"/>
     
    6868            <include name="lib/xercesImpl.jar"/>
    6969            <include name="lib/xml-apis.jar"/>
    70             <include name="packages/ant-installer/lib/ant-installer-ext.jar"/>
    71             <include name="packages/ant-installer/lib/ant-installer.jar"/>
     70            <include name="ant-installer/lib/ant-installer-ext.jar"/>
     71            <include name="ant-installer/lib/ant-installer.jar"/>
    7272        </fileset>
    7373
     
    8787   
    8888    <!-- DATES IN DIFFERENT LANGUAGES -->
    89     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="ar.Dates.${current.month}" outputProperty="month.ar"/>
    90     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="ca.Dates.${current.month}" outputProperty="month.ca"/>
    91     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="el.Dates.${current.month}" outputProperty="month.el"/>
    92     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="es.Dates.${current.month}" outputProperty="month.es"/>
    93     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="fr.Dates.${current.month}" outputProperty="month.fr"/>
    94     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="lv.Dates.${current.month}" outputProperty="month.lv"/>
    95     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="mr.Dates.${current.month}" outputProperty="month.mr"/>
    96     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="ro.Dates.${current.month}" outputProperty="month.ro"/>
    97     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="ru.Dates.${current.month}" outputProperty="month.ru"/>
    98     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="vi.Dates.${current.month}" outputProperty="month.vi"/>
    99     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="zh.Dates.${current.month}" outputProperty="month.zh"/>
    100     <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="default.Dates.${current.month}" outputProperty="month.default"/>
     89    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="ar.Dates.${current.month}" outputProperty="month.ar"/>
     90    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="ca.Dates.${current.month}" outputProperty="month.ca"/>
     91    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="el.Dates.${current.month}" outputProperty="month.el"/>
     92    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="es.Dates.${current.month}" outputProperty="month.es"/>
     93    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="fr.Dates.${current.month}" outputProperty="month.fr"/>
     94    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="lv.Dates.${current.month}" outputProperty="month.lv"/>
     95    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="mr.Dates.${current.month}" outputProperty="month.mr"/>
     96    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="ro.Dates.${current.month}" outputProperty="month.ro"/>
     97    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="ru.Dates.${current.month}" outputProperty="month.ru"/>
     98    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="vi.Dates.${current.month}" outputProperty="month.vi"/>
     99    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="zh.Dates.${current.month}" outputProperty="month.zh"/>
     100    <get-property-value propertiesFile="${rk.home}/core/lib/dates.properties" propertyName="default.Dates.${current.month}" outputProperty="month.default"/>
     101
    101102    <!--
    102103    <echo level="info">Current Date</echo>
     
    177178            installConfig="${basedir}/installer/antinstall-config-binary.xml"
    178179            buildFile="${basedir}/installer/build.xml"
    179             antInstallLib="${rk.home}/packages/ant-installer/lib"
    180             antLib="${rk.home}/packages/ant/lib"
     180            antInstallLib="${rk.home}/core/ant-installer/lib"
     181            antLib="${rk.home}/core/ant/lib"
    181182            validateConfig="true"
    182183            icons="bluecurve">
     
    199200            installConfig="${basedir}/installer/antinstall-config-minimal.xml"
    200201            buildFile="${basedir}/installer/build.xml"
    201             antInstallLib="${rk.home}/packages/ant-installer/lib"
    202             antLib="${rk.home}/packages/ant/lib"
     202            antInstallLib="${rk.home}/core/ant-installer/lib"
     203            antLib="${rk.home}/core/ant/lib"
    203204            validateConfig="true"
    204205            icons="bluecurve">
     
    219220            installConfig="${basedir}/installer/antinstall-config-source.xml"
    220221            buildFile="${basedir}/installer/build.xml"
    221             antInstallLib="${rk.home}/packages/ant-installer/lib"
    222             antLib="${rk.home}/packages/ant/lib"
     222            antInstallLib="${rk.home}/core/ant-installer/lib"
     223            antLib="${rk.home}/core/ant/lib"
    223224            validateConfig="true"
    224225            icons="bluecurve">
     
    247248            implementation="sun"
    248249            encoding="UTF-8"
    249             src="${rk.home}/language-strings"
     250            src="${rk.home}/core/language-strings"
    250251            dest="${basedir}/installer/classes/resources"/>
    251252
     
    348349        <!-- copile to build -->
    349350        <javac
    350             srcdir="${rk.home}/uninstaller"
     351            srcdir="${rk.home}/core/uninstaller"
    351352            destdir="${basedir}/compiled/uninstaller/build" />
    352353
     
    354355        <native2ascii
    355356            implementation="sun"
    356             src="${rk.home}/language-strings"
     357            src="${rk.home}/core/language-strings"
    357358            dest="${basedir}/compiled/uninstaller/build/resources"/>
    358359
     
    360361        <jar
    361362            destfile="${basedir}/compiled/uninst.jar"
    362             manifest="${rk.home}/uninstaller/manifest.mf"
     363            manifest="${rk.home}/core/uninstaller/manifest.mf"
    363364            basedir="${basedir}/compiled/uninstaller/build" />
    364365
     
    367368    <!-- copy the uninstaller script from the rk to web distribution -->
    368369    <target name="insert-uninstaller">
    369         <copy file="${rk.home}/uninstaller/Uninstall.${script-format}" todir="distributions/web" />
     370        <copy file="${rk.home}/core/uninstaller/Uninstall.${script-format}" todir="distributions/web" />
    370371    </target>
    371372
  • release-kits/shared/core/build.xml

    r18997 r19006  
    33
    44    <target name="compile">
    5         <ant dir="ant-scripts/tasks/greenstone" inheritAll="false">
    6             <property name="crypt.jar" value="${basedir}/lib/crypt.jar"/>
     5        <ant dir="ant-tasks/greenstone" inheritAll="false">
     6            <property name="crypt.jar" value="lib/crypt.jar"/>
    77        </ant>
    88    </target>
  • release-kits/shared/linux/rk

    r18904 r19006  
    11#!/bin/bash
    22function show_title() {
    3     echo    "O---------------------------------------------O"
    4     echo    "|                                             |"
    5     echo -n "|   $rk_name ";
    6     for a in `seq 0 $(( 40 - ${#rk_name} ))`; do echo -n " "; done; echo "|"
    7     echo -n "|   $rk_fullname ";
    8     for a in `seq 0 $(( 40 - ${#rk_fullname} ))`; do echo -n " "; done; echo "|"
    9     echo    "|                                             |"
    10     echo    "O---------------------------------------------O"
     3    echo "O---------------------------------------------O"
     4    echo
     5    echo "   $rk_name ";
     6    echo "   $rk_fullname ";
     7    echo
     8    echo "O---------------------------------------------O"
     9
     10    #for a in `seq 0 $(( 40 - ${#rk_name} ))`; do echo -n " "; done; echo "|"
     11    #for a in `seq 0 $(( 40 - ${#rk_fullname} ))`; do echo -n " "; done; echo "|"
     12
    1113}
    1214
     
    6264#work out the classpath
    6365CLASSPATH=$JAVA_HOME/lib/tools.jar
    64 for file in $RK_HOME/lib/*.jar; do
     66for file in $RK_HOME/core/lib/*.jar; do
    6567    CLASSPATH=$CLASSPATH:$file
    6668done
    67 for file in $RK_HOME/packages/ant/lib/*.jar; do
     69for file in $RK_HOME/core/ant/lib/*.jar; do
    6870    CLASSPATH=$CLASSPATH:$file
    6971done
    70 for file in $RK_HOME/packages/ant-installer/lib/*.jar; do
     72for file in $RK_HOME/core/ant-installer/lib/*.jar; do
    7173    CLASSPATH=$CLASSPATH:$file
    7274done
    73 CLASSPATH=$CLASSPATH:$RK_HOME/packages/ant-installer/classes
     75CLASSPATH=$CLASSPATH:$RK_HOME/core/ant-installer/classes
    7476
    7577export CLASSPATH
    7678
    7779#set ANT_HOME
    78 export ANT_HOME=$RK_HOME/packages/ant
     80export ANT_HOME=$RK_HOME/core/ant
    7981export ANT_OPTS=-Xmx800M
    8082
Note: See TracChangeset for help on using the changeset viewer.