axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r652606 - /webservices/axis2/trunk/java/modules/documentation/pom.xml
Date Thu, 01 May 2008 18:19:22 GMT
Author: dims
Date: Thu May  1 11:19:22 2008
New Revision: 652606

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

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

Modified: webservices/axis2/trunk/java/modules/documentation/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/documentation/pom.xml?rev=652606&r1=652605&r2=652606&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/documentation/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/documentation/pom.xml Thu May  1 11:19:22 2008
@@ -387,6 +387,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


Mime
View raw message