axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r556717 - /webservices/axis2/trunk/java/modules/codegen/pom.xml
Date Mon, 16 Jul 2007 20:11:48 GMT
Author: dims
Date: Mon Jul 16 13:11:46 2007
New Revision: 556717

URL: http://svn.apache.org/viewvc?view=rev&rev=556717
Log:
Generate the version and the timestamp in the xsl's so that they will show up in the generated
code

Modified:
    webservices/axis2/trunk/java/modules/codegen/pom.xml

Modified: webservices/axis2/trunk/java/modules/codegen/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/pom.xml?view=diff&rev=556717&r1=556716&r2=556717
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/codegen/pom.xml Mon Jul 16 13:11:46 2007
@@ -94,5 +94,34 @@
                 </includes>
             </testResource>
         </testResources>
+        <plugins>
+            <plugin>
+                <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>
+                                <copy toDir="${basedir}/target/classes/" overwrite="true"
filtering="on">
+                                    <fileset dir="${basedir}/src/" includes="**/*.xsl"/>
+                                    <filterset begintoken="#" endtoken="#">
+                                        <filter token="axisVersion" value="${version}"/>
+                                        <filter token="today" value=" Built on : ${build.time}"/>
+                                    </filterset>
+                                </copy>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
     </build>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message