You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2013/06/27 13:32:18 UTC

svn commit: r1497306 - /ant/site/ant/production/manual/Tasks/javadoc.html

Author: bodewig
Date: Thu Jun 27 11:32:17 2013
New Revision: 1497306

URL: http://svn.apache.org/r1497306
Log:
allow macro to be used in even older versions of Ant - submitted by Uwe Schindler

Modified:
    ant/site/ant/production/manual/Tasks/javadoc.html

Modified: ant/site/ant/production/manual/Tasks/javadoc.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/javadoc.html?rev=1497306&r1=1497305&r2=1497306&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/javadoc.html (original)
+++ ant/site/ant/production/manual/Tasks/javadoc.html Thu Jun 27 11:32:17 2013
@@ -910,11 +910,10 @@ arguments</a>. <em>Since Ant 1.6</em></p
     &lt;attribute name="docencoding" default="${file.encoding}"/>
     &lt;sequential>
       &lt;replace encoding="@{docencoding}" summary="true" taskname="patch-javadoc">
-        &lt;restrict>
-          &lt;fileset dir="@{dir}" casesensitive="false" includes="**/index.html,**/index.htm,**/toc.html,**/toc.htm"/>
+        &lt;fileset dir="@{dir}" casesensitive="false" includes="**/index.html,**/index.htm,**/toc.html,**/toc.htm">
           &lt;!-- TODO: add encoding="@{docencoding}" to contains check, when we are on ANT 1.9.0: -->
           &lt;not>&lt;contains text="function validURL(url) {" casesensitive="true" />&lt;/not>
-        &lt;/restrict>
+        &lt;/fileset>
         &lt;replacetoken>&lt;![CDATA[function loadFrames() {]]>&lt;/replacetoken>
         &lt;replacevalue expandProperties="false">&lt;![CDATA[if (targetPage != "" && !validURL(targetPage))
         targetPage = "undefined";