Ignore:
Timestamp:
2008-06-27T17:05:35+12:00 (16 years ago)
Author:
oranfry
Message:

in all release kits, get the current month in all languages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/ant-scripts/init.xml

    r16231 r16242  
    11<?xml version="1.0" encoding="utf-8" ?>
    22<project name="rk-init">
    3 
    43
    54    <!-- load in static properties from build.properties -->
     
    6968    <taskdef name="installer" classname="org.tp23.antinstaller.taskdefs.Installer" classpathref="project.classpath"/>
    7069
     70    <!-- DATES IN DIFFERENT LANGUAGES -->
     71    <!-- relies on ${current.month} being set by the release kits build.xml file -->
     72    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="ar.Dates.${current.month}" outputProperty="month.ar"/>
     73    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="ca.Dates.${current.month}" outputProperty="month.ca"/>
     74    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="el.Dates.${current.month}" outputProperty="month.el"/>
     75    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="es.Dates.${current.month}" outputProperty="month.es"/>
     76    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="fr.Dates.${current.month}" outputProperty="month.fr"/>
     77    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="lv.Dates.${current.month}" outputProperty="month.lv"/>
     78    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="mr.Dates.${current.month}" outputProperty="month.mr"/>
     79    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="ro.Dates.${current.month}" outputProperty="month.ro"/>
     80    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="ru.Dates.${current.month}" outputProperty="month.ru"/>
     81    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="vi.Dates.${current.month}" outputProperty="month.vi"/>
     82    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="zh.Dates.${current.month}" outputProperty="month.zh"/>
     83    <get-property-value propertiesFile="${rk.home}/lib/dates.properties" propertyName="default.Dates.${current.month}" outputProperty="month.default"/>
     84    <!--
     85    <echo level="info">Current Date</echo>
     86    <echo level="info">ar: ${month.ar} ${current.year}</echo>
     87    <echo level="info">ca: ${month.el} ${current.year}</echo>
     88    <echo level="info">el: ${month.el} ${current.year}</echo>
     89    <echo level="info">es: ${month.es} ${current.year}</echo>
     90    <echo level="info">fr: ${month.fr} ${current.year}</echo>
     91    <echo level="info">lv: ${month.lv} ${current.year}</echo>
     92    <echo level="info">mr: ${month.mr} ${current.year}</echo>
     93    <echo level="info">ro: ${month.ro} ${current.year}</echo>
     94    <echo level="info">ru: ${month.ru} ${current.year}</echo>
     95    <echo level="info">vi: ${month.vi} ${current.year}</echo>
     96    <echo level="info">zh: ${month.zh} ${current.year}</echo>
     97    <echo level="info">default: (${month.default} ${current.year})</echo>
     98    -->
    7199
    72100    <!-- CHECKS PRE-CONDITIONS  -->
Note: See TracChangeset for help on using the changeset viewer.