mirror of https://github.com/apache/lucene.git
Use simplified javadocs fileset without restrict. This makes the macro useable with early ant versions, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497273 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e0890ccc71
commit
df48cae8e7
|
@ -1835,11 +1835,10 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
|
|||
<attribute name="docencoding" default="${file.encoding}"/>
|
||||
<sequential>
|
||||
<replace encoding="@{docencoding}" summary="true" taskname="patch-javadoc">
|
||||
<restrict>
|
||||
<fileset dir="@{dir}" casesensitive="false" includes="**/index.html,**/index.htm,**/toc.html,**/toc.htm"/>
|
||||
<fileset dir="@{dir}" casesensitive="false" includes="**/index.html,**/index.htm,**/toc.html,**/toc.htm">
|
||||
<!-- TODO: add encoding="@{docencoding}" to contains check, when we are on ANT 1.9.0: -->
|
||||
<not><contains text="function validURL(url) {" casesensitive="true" /></not>
|
||||
</restrict>
|
||||
</fileset>
|
||||
<replacetoken><![CDATA[function loadFrames() {]]></replacetoken>
|
||||
<replacevalue expandProperties="false"><![CDATA[if (targetPage != "" && !validURL(targetPage))
|
||||
targetPage = "undefined";
|
||||
|
|
Loading…
Reference in New Issue