@@ -36,9 +36,9 @@ import java.util.stream.Stream; | |||||
* It is used at boot time in the launcher, and cannot make use of any of Ant's other classes. | * It is used at boot time in the launcher, and cannot make use of any of Ant's other classes. | ||||
* <p> | * <p> | ||||
* This is a surprisingly brittle piece of code, and has had lots of bugs filed against it: | * This is a surprisingly brittle piece of code, and has had lots of bugs filed against it: | ||||
* <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42275">running ant off a network share can cause Ant to fail</a>, | |||||
* <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=8031">use File.toURI().toURL().toExternalForm()</a>, | |||||
* <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42222">Locator implementation not encoding URI strings properly: spaces in paths</a>. | |||||
* <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=42275">running ant off a network share can cause Ant to fail</a>, | |||||
* <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=8031">use File.toURI().toURL().toExternalForm()</a>, | |||||
* <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=42222">Locator implementation not encoding URI strings properly: spaces in paths</a>. | |||||
* It also breaks Eclipse 3.3 Betas: | * It also breaks Eclipse 3.3 Betas: | ||||
* <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=183283">Exception if installation path has spaces</a>. | * <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=183283">Exception if installation path has spaces</a>. | ||||
* <p> | * <p> | ||||
@@ -157,7 +157,7 @@ public final class Locator { | |||||
* <p>Prior to Java 1.4,<!-- TODO is JDK version actually relevant? --> | * <p>Prior to Java 1.4,<!-- TODO is JDK version actually relevant? --> | ||||
* swallows '%' that are not followed by two characters.</p> | * swallows '%' that are not followed by two characters.</p> | ||||
* | * | ||||
* See <a href="http://www.w3.org/TR/xml11/#dt-sysid">dt-sysid</a> | |||||
* See <a href="https://www.w3.org/TR/xml11/#dt-sysid">dt-sysid</a> | |||||
* which makes some mention of how | * which makes some mention of how | ||||
* characters not supported by URI Reference syntax should be escaped. | * characters not supported by URI Reference syntax should be escaped. | ||||
* | * | ||||
@@ -21,7 +21,7 @@ package org.apache.tools.ant.types; | |||||
* <p>Helper class to handle the DTD nested element. Instances of | * <p>Helper class to handle the DTD nested element. Instances of | ||||
* this class correspond to the <code>PUBLIC</code> catalog entry type | * this class correspond to the <code>PUBLIC</code> catalog entry type | ||||
* of the <a | * of the <a | ||||
* href="http://oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
* href="https://oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
* OASIS "Open Catalog" standard</a>.</p> | * OASIS "Open Catalog" standard</a>.</p> | ||||
* | * | ||||
* <p>Possible Future Enhancement: Bring the Ant element name into | * <p>Possible Future Enhancement: Bring the Ant element name into | ||||
@@ -24,7 +24,7 @@ import java.net.URL; | |||||
* <code><entity></code> nested elements. These correspond to | * <code><entity></code> nested elements. These correspond to | ||||
* the <code>PUBLIC</code> and <code>URI</code> catalog entry types, | * the <code>PUBLIC</code> and <code>URI</code> catalog entry types, | ||||
* respectively, as defined in the <a | * respectively, as defined in the <a | ||||
* href="http://oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
* href="https://oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
* OASIS "Open Catalog" standard</a>.</p> | * OASIS "Open Catalog" standard</a>.</p> | ||||
* | * | ||||
* <p>Possible Future Enhancements:</p> | * <p>Possible Future Enhancements:</p> | ||||
@@ -50,7 +50,7 @@ import org.xml.sax.XMLReader; | |||||
/** | /** | ||||
* <p>This data type provides a catalog of resource locations (such as | * <p>This data type provides a catalog of resource locations (such as | ||||
* DTDs and XML entities), based on the <a | * DTDs and XML entities), based on the <a | ||||
* href="http://oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
* href="https://oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
* OASIS "Open Catalog" standard</a>. The catalog entries are used | * OASIS "Open Catalog" standard</a>. The catalog entries are used | ||||
* both for Entity resolution and URI resolution, in accordance with | * both for Entity resolution and URI resolution, in accordance with | ||||
* the {@link org.xml.sax.EntityResolver EntityResolver} and {@link | * the {@link org.xml.sax.EntityResolver EntityResolver} and {@link | ||||
@@ -62,9 +62,9 @@ import org.xml.sax.XMLReader; | |||||
* external catalog file(s), or both. In order to use an external | * external catalog file(s), or both. In order to use an external | ||||
* catalog file, the xml-commons resolver library ("resolver.jar") | * catalog file, the xml-commons resolver library ("resolver.jar") | ||||
* must be in your classpath. External catalog files may be either <a | * must be in your classpath. External catalog files may be either <a | ||||
* href="http://oasis-open.org/committees/entity/background/9401.html"> | |||||
* href="https://oasis-open.org/committees/entity/background/9401.html"> | |||||
* plain text format</a> or <a | * plain text format</a> or <a | ||||
* href="http://www.oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
* href="https://www.oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
* XML format</a>. If the xml-commons resolver library is not found | * XML format</a>. If the xml-commons resolver library is not found | ||||
* in the classpath, external catalog files, specified in | * in the classpath, external catalog files, specified in | ||||
* <code><catalogpath></code> paths, will be ignored and a warning will | * <code><catalogpath></code> paths, will be ignored and a warning will | ||||
@@ -40,9 +40,9 @@ import org.apache.xml.resolver.tools.CatalogResolver; | |||||
* <p>The {@link org.apache.tools.ant.types.resolver.ApacheCatalog | * <p>The {@link org.apache.tools.ant.types.resolver.ApacheCatalog | ||||
* ApacheCatalog} class is used to parse external catalog files, which | * ApacheCatalog} class is used to parse external catalog files, which | ||||
* can be in either <a | * can be in either <a | ||||
* href="http://oasis-open.org/committees/entity/background/9401.html"> | |||||
* href="https://oasis-open.org/committees/entity/background/9401.html"> | |||||
* plain text format</a> or <a | * plain text format</a> or <a | ||||
* href="http://www.oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
* href="https://www.oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
* XML format</a>.</p> | * XML format</a>.</p> | ||||
* | * | ||||
* <p>For each entry found in an external catalog file, if any, an | * <p>For each entry found in an external catalog file, if any, an | ||||
@@ -20,16 +20,16 @@ Ant integration with xml-commons resolver. | |||||
<p>These classes enhance the <code><xmlcatalog></code> datatype | <p>These classes enhance the <code><xmlcatalog></code> datatype | ||||
to support external catalog files using the xml-commons resolver, in | to support external catalog files using the xml-commons resolver, in | ||||
accordance with the | accordance with the | ||||
<a href="http://oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
<a href="https://oasis-open.org/committees/entity/spec-2001-08-06.html"> | |||||
OASIS "Open Catalog" standard</a>. They will be used if and only if | OASIS "Open Catalog" standard</a>. They will be used if and only if | ||||
the xml-commons resolver library is available on the classpath.</p> | the xml-commons resolver library is available on the classpath.</p> | ||||
@see <A HREF="http://xml.apache.org/commons">Apache xml-commons Project</A> | |||||
@see <a href="https://xml.apache.org/commons">Apache xml-commons Project</a> | |||||
@see org.apache.tools.ant.types.XMLCatalog | @see org.apache.tools.ant.types.XMLCatalog | ||||
@see org.apache.tools.ant.types.resolver.ApacheCatalogResolver | @see org.apache.tools.ant.types.resolver.ApacheCatalogResolver | ||||
@see org.apache.tools.ant.types.resolver.ApacheCatalog | @see org.apache.tools.ant.types.resolver.ApacheCatalog | ||||
@author <A HREF="mailto:cstrong@arielpartners.com">Craeg Strong</A> | |||||
@author <a href="mailto:cstrong@arielpartners.com">Craeg Strong</a> | |||||
</body> | </body> |
@@ -115,7 +115,7 @@ import org.apache.tools.ant.util.ResourceUtils; | |||||
* comparison.</p> | * comparison.</p> | ||||
* | * | ||||
* <p>A useful scenario for this selector is inside a build environment | * <p>A useful scenario for this selector is inside a build environment | ||||
* for homepage generation (e.g. with <a href="http://forrest.apache.org/"> | |||||
* for homepage generation (e.g. with <a href="https://forrest.apache.org/"> | |||||
* Apache Forrest</a>).</p><pre> | * Apache Forrest</a>).</p><pre> | ||||
* <target name="generate-and-upload-site"> | * <target name="generate-and-upload-site"> | ||||
* <echo> generate the site using forrest </echo> | * <echo> generate the site using forrest </echo> | ||||