aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/ant/apache-ant-1.9.6/src/resources/org
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/ant/apache-ant-1.9.6/src/resources/org')
-rw-r--r--framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/taskdefs/javadoc-frame-injections-fix.txt37
-rw-r--r--framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/types/resources/comparators/antlib.xml33
-rw-r--r--framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/types/resources/selectors/antlib.xml53
3 files changed, 123 insertions, 0 deletions
diff --git a/framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/taskdefs/javadoc-frame-injections-fix.txt b/framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/taskdefs/javadoc-frame-injections-fix.txt
new file mode 100644
index 00000000..1f8c97a6
--- /dev/null
+++ b/framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/taskdefs/javadoc-frame-injections-fix.txt
@@ -0,0 +1,37 @@
+ if (targetPage != "" && !validURL(targetPage))
+ targetPage = "undefined";
+ function validURL(url) {
+ var pos = url.indexOf(".html");
+ if (pos == -1 || pos != url.length - 5)
+ return false;
+ var allowNumber = false;
+ var allowSep = false;
+ var seenDot = false;
+ for (var i = 0; i < url.length - 5; i++) {
+ var ch = url.charAt(i);
+ if ('a' <= ch && ch <= 'z' ||
+ 'A' <= ch && ch <= 'Z' ||
+ ch == '$' ||
+ ch == '_') {
+ allowNumber = true;
+ allowSep = true;
+ } else if ('0' <= ch && ch <= '9'
+ || ch == '-') {
+ if (!allowNumber)
+ return false;
+ } else if (ch == '/' || ch == '.') {
+ if (!allowSep)
+ return false;
+ allowNumber = false;
+ allowSep = false;
+ if (ch == '.')
+ seenDot = true;
+ if (ch == '/' && seenDot)
+ return false;
+ } else {
+ return false;
+ }
+ }
+ return true;
+ }
+ function loadFrames() {
diff --git a/framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/types/resources/comparators/antlib.xml b/framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/types/resources/comparators/antlib.xml
new file mode 100644
index 00000000..ae61b9dc
--- /dev/null
+++ b/framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/types/resources/comparators/antlib.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<antlib>
+ <typedef name="name"
+ classname="org.apache.tools.ant.types.resources.comparators.Name" />
+ <typedef name="size"
+ classname="org.apache.tools.ant.types.resources.comparators.Size" />
+ <typedef name="date"
+ classname="org.apache.tools.ant.types.resources.comparators.Date" />
+ <typedef name="exists"
+ classname="org.apache.tools.ant.types.resources.comparators.Exists" />
+ <typedef name="type"
+ classname="org.apache.tools.ant.types.resources.comparators.Type" />
+ <typedef name="content"
+ classname="org.apache.tools.ant.types.resources.comparators.Content" />
+ <typedef name="reverse"
+ classname="org.apache.tools.ant.types.resources.comparators.Reverse" />
+</antlib>
diff --git a/framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/types/resources/selectors/antlib.xml b/framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/types/resources/selectors/antlib.xml
new file mode 100644
index 00000000..0d0e5024
--- /dev/null
+++ b/framework/src/ant/apache-ant-1.9.6/src/resources/org/apache/tools/ant/types/resources/selectors/antlib.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<antlib>
+ <typedef name="and"
+ classname="org.apache.tools.ant.types.resources.selectors.And" />
+ <typedef name="compare"
+ classname="org.apache.tools.ant.types.resources.selectors.Compare" />
+ <typedef name="contains"
+ classname="org.apache.tools.ant.types.selectors.ContainsSelector" />
+ <typedef name="containsregexp"
+ classname="org.apache.tools.ant.types.selectors.ContainsRegexpSelector" />
+ <typedef name="date"
+ classname="org.apache.tools.ant.types.resources.selectors.Date" />
+ <typedef name="exists"
+ classname="org.apache.tools.ant.types.resources.selectors.Exists" />
+ <typedef name="instanceof"
+ classname="org.apache.tools.ant.types.resources.selectors.InstanceOf" />
+ <typedef name="majority"
+ classname="org.apache.tools.ant.types.resources.selectors.Majority" />
+ <typedef name="modified"
+ classname="org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector" />
+ <typedef name="name"
+ classname="org.apache.tools.ant.types.resources.selectors.Name" />
+ <typedef name="none"
+ classname="org.apache.tools.ant.types.resources.selectors.None" />
+ <typedef name="not"
+ classname="org.apache.tools.ant.types.resources.selectors.Not" />
+ <typedef name="or"
+ classname="org.apache.tools.ant.types.resources.selectors.Or" />
+ <typedef name="readable"
+ classname="org.apache.tools.ant.types.selectors.ReadableSelector" />
+ <typedef name="size"
+ classname="org.apache.tools.ant.types.resources.selectors.Size" />
+ <typedef name="type"
+ classname="org.apache.tools.ant.types.resources.selectors.Type" />
+ <typedef name="writable"
+ classname="org.apache.tools.ant.types.selectors.WritableSelector" />
+</antlib>