Author: gk
Date: Tue May 7 16:26:27 2024
New Revision: 1917551
URL: http://svn.apache.org/viewvc?rev=1917551&view=rev
Log:
- Fix or workaroudn for TORQUE-367 and MPLUGIN-517.
Modified:
db/torque/trunk/README.md
db/torque/trunk/torque-site/src/ant/build.xml
Modified: db/torque/trunk/README.md
URL:
http://svn.apache.org/viewvc/db/torque/trunk/README.md?rev=1917551&r1=1917550&r2=1917551&view=diff
==============================================================================
--- db/torque/trunk/README.md (original)
+++ db/torque/trunk/README.md Tue May 7 16:26:27 2024
@@ -95,7 +95,8 @@ although they are build for inspection i
If a generated xml file in torque-site/target is not well-formed it could not
be transformed by xsl.
-Tip:
+Due to this torque-site/src/ant/build.xml was changed with two more
replacements (only target/maven-plugin-site):
+
(1) Add a closing tag </a> after any <a>-Element immediately preceding an
opening section element and
(2) remove one closing </a>, where </a></a> (two closing tags) occur and
run
Modified: db/torque/trunk/torque-site/src/ant/build.xml
URL:
http://svn.apache.org/viewvc/db/torque/trunk/torque-site/src/ant/build.xml?rev=1917551&r1=1917550&r2=1917551&view=diff
==============================================================================
--- db/torque/trunk/torque-site/src/ant/build.xml (original)
+++ db/torque/trunk/torque-site/src/ant/build.xml Tue May 7 16:26:27 2024
@@ -92,6 +92,16 @@
<replacetoken><![CDATA[ ]]></replacetoken>
<replacevalue> </replacevalue>
</replace>
+ <!-- workaround for TORQUE-367 and MPLUGIN-517 -->
+ <replaceregexp flags="g">
+ <regexp pattern="(<a
name="[^"]+">)(<section>)"/>
+ <substitution expression="\1</a>\2"/>
+ <fileset dir="${basedir}/target/maven-plugin-site" includes="*.xml"/>
+ </replaceregexp>
+ <replace dir="${basedir}/target/maven-plugin-site" includes="*.xml">
+ <replacetoken><![CDATA[</a></a>]]></replacetoken>
+ <replacevalue><![CDATA[</a>]]></replacevalue>
+ </replace>
</target>
<target name="merge-content">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]