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 13:22:51 UTC

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

Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Thu, 7 Oct 2004 4:21 AM

Applied patch to CVS.

thanks,
dims
---------------------------------------------------------------------
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: Closed
   Priority: Minor
 Resolution: FIXED

    Project: Axis
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Peter Smith

    Created: Wed, 6 Oct 2004 8:20 PM
    Updated: Thu, 7 Oct 2004 4:21 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