You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/07 12:30:51 UTC

[jira] Commented: (AXIS-1592) support multiple resource bundles in build.xml

The following comment has been added to this issue:

     Author: Ias
    Created: Thu, 7 Oct 2004 3:29 AM
       Body:
I think this is a good idea. In addition, it would be good to have more resource bundles apart from the default one to prove that the idea actually works. 
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1592?page=comments#action_53801

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1592

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1592
    Summary: support multiple resource bundles in build.xml
       Type: Improvement

     Status: Unassigned
   Priority: Minor

    Project: Axis
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Peter Smith

    Created: Wed, 6 Oct 2004 8:20 PM
    Updated: Thu, 7 Oct 2004 3:29 AM
Environment: Win2000 svr
axis-1_2beta3

Description:
The Axis build.xml should support building axis.jar with multiple locale resource bundles. Currently it is hardwired to just the default "resource.properties" so fails to pick up any other bundles added by developer.

For example,

CHANGE

    <copy file="${src.dir}/org/apache/axis/i18n/resource.properties"
          toDir="${build.dest}/org/apache/axis/i18n"/>

TO

    <copy toDir="${build.dest}/org/apache/axis/i18n">
        <fileset dir="${src.dir}/org/apache/axis/i18n" includes="resource*.properties"/>
    </copy>

AND CHANGE

    <replace file="${build.dest}/org/apache/axis/i18n/resource.properties"
             token="#today#" value="${build.time}"/>
    <replace file="${build.dest}/org/apache/axis/i18n/resource.properties"
             token="#axisVersion#" value="${axis.version}"/>

TO

   <replace dir="${build.dest}/org/apache/axis/i18n">
       <include name="resource*.properties"/>
       <replacefilter token="#today#" value="${build.time}"/>
       <replacefilter token="#axisVersion#" value="${axis.version}"/>
   </replace>
    


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira