Browse Source

Use HTTPS links when available

master
Gintas Grigelionis 7 years ago
parent
commit
3e61185e19
7 changed files with 15 additions and 15 deletions
  1. +4
    -4
      src/main/org/apache/tools/ant/launch/Locator.java
  2. +1
    -1
      src/main/org/apache/tools/ant/types/DTDLocation.java
  3. +1
    -1
      src/main/org/apache/tools/ant/types/ResourceLocation.java
  4. +3
    -3
      src/main/org/apache/tools/ant/types/XMLCatalog.java
  5. +2
    -2
      src/main/org/apache/tools/ant/types/resolver/ApacheCatalogResolver.java
  6. +3
    -3
      src/main/org/apache/tools/ant/types/resolver/package.html
  7. +1
    -1
      src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java

+ 4
- 4
src/main/org/apache/tools/ant/launch/Locator.java View File

@@ -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.
* <p>
* 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:
* <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=183283">Exception if installation path has spaces</a>.
* <p>
@@ -157,7 +157,7 @@ public final class Locator {
* <p>Prior to Java 1.4,<!-- TODO is JDK version actually relevant? -->
* 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
* characters not supported by URI Reference syntax should be escaped.
*


+ 1
- 1
src/main/org/apache/tools/ant/types/DTDLocation.java View File

@@ -21,7 +21,7 @@ package org.apache.tools.ant.types;
* <p>Helper class to handle the DTD nested element. Instances of
* this class correspond to the <code>PUBLIC</code> catalog entry type
* 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>
*
* <p>Possible Future Enhancement: Bring the Ant element name into


+ 1
- 1
src/main/org/apache/tools/ant/types/ResourceLocation.java View File

@@ -24,7 +24,7 @@ import java.net.URL;
* <code>&lt;entity&gt;</code> nested elements. These correspond to
* the <code>PUBLIC</code> and <code>URI</code> catalog entry types,
* 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>
*
* <p>Possible Future Enhancements:</p>


+ 3
- 3
src/main/org/apache/tools/ant/types/XMLCatalog.java View File

@@ -50,7 +50,7 @@ import org.xml.sax.XMLReader;
/**
* <p>This data type provides a catalog of resource locations (such as
* 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
* both for Entity resolution and URI resolution, in accordance with
* 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
* catalog file, the xml-commons resolver library ("resolver.jar")
* 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
* 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
* in the classpath, external catalog files, specified in
* <code>&lt;catalogpath&gt;</code> paths, will be ignored and a warning will


+ 2
- 2
src/main/org/apache/tools/ant/types/resolver/ApacheCatalogResolver.java View File

@@ -40,9 +40,9 @@ import org.apache.xml.resolver.tools.CatalogResolver;
* <p>The {@link org.apache.tools.ant.types.resolver.ApacheCatalog
* ApacheCatalog} class is used to parse external catalog files, which
* 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
* 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>
*
* <p>For each entry found in an external catalog file, if any, an


+ 3
- 3
src/main/org/apache/tools/ant/types/resolver/package.html View File

@@ -20,16 +20,16 @@ Ant integration with xml-commons resolver.
<p>These classes enhance the <code>&lt;xmlcatalog&gt;</code> datatype
to support external catalog files using the xml-commons resolver, in
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
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.resolver.ApacheCatalogResolver
@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>

+ 1
- 1
src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java View File

@@ -115,7 +115,7 @@ import org.apache.tools.ant.util.ResourceUtils;
* comparison.</p>
*
* <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>
* &lt;target name="generate-and-upload-site"&gt;
* &lt;echo&gt; generate the site using forrest &lt;/echo&gt;


Loading…
Cancel
Save