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 di...@apache.org on 2004/10/07 13:19:43 UTC
cvs commit: ws-axis/java build.xml
dims 2004/10/07 04:19:43
Modified: java build.xml
Log:
Fix for AXIS-1592 - support multiple resource bundles in build.xml
from Peter Smith <pe...@fast.fujitsu.com.au>
Revision Changes Path
1.251 +8 -6 ws-axis/java/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/ws-axis/java/build.xml,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -r1.250 -r1.251
--- build.xml 10 Sep 2004 19:55:50 -0000 1.250
+++ build.xml 7 Oct 2004 11:19:43 -0000 1.251
@@ -175,16 +175,18 @@
toDir="${build.dest}"/>
<copy file="${src.dir}/simplelog.properties"
toDir="${build.dest}"/>
- <copy file="${src.dir}/org/apache/axis/i18n/resource.properties"
- toDir="${build.dest}/org/apache/axis/i18n"/>
+ <copy toDir="${build.dest}/org/apache/axis/i18n">
+ <fileset dir="${src.dir}/org/apache/axis/i18n" includes="resource*.properties"/>
+ </copy>
<tstamp>
<format property="build.time" pattern="MMM dd, yyyy (hh:mm:ss z)" locale="en"/>
</tstamp>
- <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}"/>
+ <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>
<tstamp/>
<jar jarfile="${build.lib}/${name}.jar" basedir="${build.dest}" >