Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-09-23 07:59:16 +0000
committerEike Stepper2011-09-23 07:59:16 +0000
commit4ad83b76e0b781e2a1bd1b41f18fbae58b134ca9 (patch)
tree071b507163736a00ccba4e7746d6284d3e6dc973 /plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant
parenta805a0204ec7e1f23cdca8a05bcc2acac8a3a64e (diff)
downloadcdo-4ad83b76e0b781e2a1bd1b41f18fbae58b134ca9.tar.gz
cdo-4ad83b76e0b781e2a1bd1b41f18fbae58b134ca9.tar.xz
cdo-4ad83b76e0b781e2a1bd1b41f18fbae58b134ca9.zip
fixed PRE tags
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant17
1 files changed, 16 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant b/plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant
index aade6dc05c..9b8fcbe2c4 100644
--- a/plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant
+++ b/plugins/org.eclipse.emf.cdo.releng.doc/buildTemplate.ant
@@ -121,19 +121,34 @@
</fileset>
</copy>
+ <!-- Remove generation dates that clutter the SVN dirty states -->
<replaceregexp match="&lt;!-- Generated by javadoc .*--&gt;" replace="">
<fileset refid="desthtml" />
</replaceregexp>
-
<replaceregexp match="CONTENT=&quot;[^&quot;]+&quot;" replace="CONTENT=&quot;&quot;">
<fileset refid="desthtml" />
</replaceregexp>
+ <!-- Add book.css -->
<replaceregexp match="(&lt;LINK REL =&quot;stylesheet&quot; TYPE=&quot;text/css&quot; HREF=&quot;([\./]*)stylesheet.css&quot; TITLE=&quot;Style&quot;&gt;)"
replace="&lt;LINK REL =&quot;stylesheet&quot; TYPE=&quot;text/css&quot; HREF=&quot;\2../html/book.css&quot; TITLE=&quot;Style&quot;&gt;${line.separator}\1">
<fileset refid="desthtml" />
</replaceregexp>
+ <!-- Remove malicious PRE blocks -->
+ <replaceregexp match="&lt;HR&gt;\s+?&lt;DL&gt;\s+?&lt;DT&gt;&lt;PRE&gt;(.*?)&lt;/DL&gt;\s+?&lt;/PRE&gt;"
+ replace="&lt;HR&gt;${line.separator}&lt;DL&gt;${line.separator} &lt;DT&gt;\1${line.separator}&lt;/DL&gt;${line.separator}${line.separator}">
+ <fileset refid="desthtml" />
+ </replaceregexp>
+
+ <!-- Change DT to DD -->
+ <replaceregexp match="&lt;DT&gt;extends " replace="${line.separator} &lt;DD&gt;extends ">
+ <fileset refid="desthtml" />
+ </replaceregexp>
+ <replaceregexp match="&lt;DT&gt;implements " replace="${line.separator} &lt;DD&gt;implements ">
+ <fileset refid="desthtml" />
+ </replaceregexp>
+
<java classname="org.eclipse.emf.cdo.releng.doc.java.MakeHrefsRelative"
dir="${basedir}"
fork="true"

Back to the top