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 2008/05/01 20:17:44 UTC

svn commit: r652603 - /webservices/axis2/branches/java/1_4/modules/documentation/pom.xml

Author: dims
Date: Thu May  1 11:17:44 2008
New Revision: 652603

URL: http://svn.apache.org/viewvc?rev=652603&view=rev
Log:
fix the label for the version in the generated html files

Modified:
    webservices/axis2/branches/java/1_4/modules/documentation/pom.xml

Modified: webservices/axis2/branches/java/1_4/modules/documentation/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_4/modules/documentation/pom.xml?rev=652603&r1=652602&r2=652603&view=diff
==============================================================================
--- webservices/axis2/branches/java/1_4/modules/documentation/pom.xml (original)
+++ webservices/axis2/branches/java/1_4/modules/documentation/pom.xml Thu May  1 11:17:44 2008
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.apache.axis2</groupId>
         <artifactId>axis2-parent</artifactId>
-        <version>1.4-SNAPSHOT</version>
+        <version>1.4</version>
         <relativePath>../parent/pom.xml</relativePath>
     </parent>
 
@@ -403,6 +403,81 @@
                             <goal>run</goal>
                         </goals>
                     </execution>
+                    <execution>
+                        <id>package</id>
+                        <phase>process-resources</phase>
+                        <configuration>
+                            <tasks>
+                                <copy toDir="target/xdocs-changed/${docs.folder.version}">
+                                    <fileset dir="xdocs/@axis2_version_dir@">
+                                        <exclude name="**/*.xml"/>
+                                    </fileset>
+                                </copy>
+                                <filter filtersfile="xdocs/dynamic-labels.properties"/>
+                                <copy toDir="target/xdocs-changed/${docs.folder.version}" filtering="on" overwrite="true">
+                                    <globmapper from="*.xml" to="*.xml"/>
+                                    <fileset dir="xdocs/@axis2_version_dir@"/>
+                                </copy>
+                                
+                                <copy toDir="target/xdocs-changed" filtering="on" overwrite="true">
+                                    <globmapper from="*.xml" to="*.xml"/>
+                                    <fileset dir="xdocs">
+                                        <exclude name="@axis2_version_dir@/**"/>
+                                        <exclude name="**/*.gif"/>
+                                        <exclude name="**/*.jpg"/>
+                                        <exclude name="**/*.png"/>
+                                    </fileset>
+                                </copy>
+                                
+                                <copy toDir="target/xdocs-changed" filtering="off" overwrite="true">
+                                    <fileset dir="xdocs">
+                                        <exclude name="@axis2_version_dir@/**"/>
+                                        <include name="**/*.gif"/>
+                                        <include name="**/*.jpg"/>
+                                        <include name="**/*.png"/>
+                                        <include name="**/*.css"/>
+                                        <include name="**/*.xsd"/>
+                                        <include name="**/*.cgi"/>
+                                        <include name="**/*.properties"/>
+                                    </fileset>
+                                </copy>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>rename-site</id>
+                        <phase>install</phase>
+                        <configuration>
+                            <tasks>
+                            <filter filtersfile="xdocs/dynamic-labels.properties"/>
+                            <copy toDir="target/site2" filtering="on" overwrite="true">
+                                <globmapper from="*.html" to="*.html"/>
+                                <fileset dir="target/site">
+                                    <include name="**/*.html"/>
+                                </fileset>
+                            </copy>
+                            <copy toDir="target/site2" filtering="off" overwrite="true">
+                                <fileset dir="target/site">
+                                    <exclude name="**/*.html"/>
+                                </fileset>
+                            </copy>    
+                            <delete dir="target/site"/>
+                            <mkdir dir="target/site"/>
+                            <copy toDir="target/site" filtering="off" overwrite="true">
+                                <fileset dir="target/site2"/>
+                            </copy>    
+                            <delete dir="target/site2"/>
+                            <delete dir="target/xdocs-changed"/>
+                            
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
                 </executions>
             </plugin>
         </plugins>



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