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 2007/07/13 20:33:32 UTC
svn commit: r556093 - /webservices/axis2/trunk/java/modules/kernel/pom.xml
Author: dims
Date: Fri Jul 13 11:33:31 2007
New Revision: 556093
URL: http://svn.apache.org/viewvc?view=rev&rev=556093
Log:
use ant filter to generate the timestamp and the version information in the resource.properties
Modified:
webservices/axis2/trunk/java/modules/kernel/pom.xml
Modified: webservices/axis2/trunk/java/modules/kernel/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/pom.xml?view=diff&rev=556093&r1=556092&r2=556093
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/kernel/pom.xml Fri Jul 13 11:33:31 2007
@@ -198,6 +198,24 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
+ <execution>
+ <id>process-resources</id>
+ <phase>process-resources</phase>
+ <configuration>
+ <tasks>
+ <tstamp>
+ <format property="build.time" pattern="MMM dd, yyyy (hh:mm:ss z)" locale="en"/>
+ </tstamp>
+ <filter token="axisVersion" value="${version}"/>
+ <filter token="TODAY" value="${build.time}"/>
+ <copy toDir="${basedir}/target/classes/org/apache/axis2/i18n" overwrite="true"
+ filtering="on" file="${basedir}/src/org/apache/axis2/i18n/resource.properties"/>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
<execution>
<id>process-test-resources</id>
<phase>process-test-resources</phase>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org