continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r593066 - /maven/continuum/trunk/continuum-site/src/site/apt/documentation/1_1/installation/upgrade.apt
Date Thu, 08 Nov 2007 08:39:50 GMT
Author: evenisse
Date: Thu Nov  8 00:39:49 2007
New Revision: 593066

URL: http://svn.apache.org/viewvc?rev=593066&view=rev
Log:
[CONTINUUM-1547] Add an xsl file to remove testResults in builds.xml
Submitted by: Bastiaan Bakker

Modified:
    maven/continuum/trunk/continuum-site/src/site/apt/documentation/1_1/installation/upgrade.apt

Modified: maven/continuum/trunk/continuum-site/src/site/apt/documentation/1_1/installation/upgrade.apt
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-site/src/site/apt/documentation/1_1/installation/upgrade.apt?rev=593066&r1=593065&r2=593066&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-site/src/site/apt/documentation/1_1/installation/upgrade.apt
(original)
+++ maven/continuum/trunk/continuum-site/src/site/apt/documentation/1_1/installation/upgrade.apt
Thu Nov  8 00:39:49 2007
@@ -74,3 +74,22 @@
 ** 1.1-beta-4 import
 
     Before to import from an older version to 1.1-beta-4, you must open the builds.xml file
under backup directory and remove all <<'testResults'>> tags.
+    You can remove them with the following XSL:
+
++------------------------------------------+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output method="xml"/>
+ <xsl:template match="testResult"/>
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+</xsl:stylesheet>
++------------------------------------------+
+
+    And you can run it with this command:
+
++------------------------------------------+
+xsltproc copy.xsl builds.xml > fixed-builds.xml
++------------------------------------------+



Mime
View raw message