Browse Source

JDK 1.2 is EOL and documentation is no more available. Point to JDK 5 API

PR: 37203

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@327676 13f79535-47bb-0310-9956-ffa450edef68
master
Stephane Bailliez 19 years ago
parent
commit
32f2e37a95
11 changed files with 18 additions and 18 deletions
  1. +1
    -1
      docs/faq.html
  2. +2
    -2
      docs/manual/CoreTasks/concat.html
  3. +3
    -3
      docs/manual/CoreTasks/javadoc.html
  4. +2
    -2
      docs/manual/CoreTasks/manifest.html
  5. +1
    -1
      docs/manual/CoreTasks/unzip.html
  6. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/AntStructure.java
  7. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/LoadFile.java
  8. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/LoadProperties.java
  9. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Zip.java
  10. +1
    -1
      src/main/org/apache/tools/zip/ZipFile.java
  11. +2
    -2
      src/main/org/apache/tools/zip/ZipOutputStream.java

+ 1
- 1
docs/faq.html View File

@@ -1666,7 +1666,7 @@ mv /tmp/foo $ANT_HOME/bin/antRun
<code>org.apache.tools.ant.taskdefs.XSLTLiaison</code>
class.</p>
<p>Ant's class loader implementation uses Java's
delegation model, see <a href="http://java.sun.com/products/jdk/1.2/docs/api/java/lang/ClassLoader.html">http://java.sun.com/products/jdk/1.2/docs/api/java/lang/ClassLoader.html</a>
delegation model, see <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html">http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html</a>
the paragraph</p>
<blockquote>The <code>ClassLoader</code> class uses a
delegation model to search for classes and resources. Each


+ 2
- 2
docs/manual/CoreTasks/concat.html View File

@@ -70,8 +70,8 @@ Resource Collection</a>s are used to
<td valign="top">encoding</td>
<td valign="top">
Specifies the encoding for the input files. Please see <a
href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html">
http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html</a>
href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">
http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html</a>
for a list of possible values. Defaults to the platform's
default character encoding.
</td>


+ 3
- 3
docs/manual/CoreTasks/javadoc.html View File

@@ -758,7 +758,7 @@ arguments</a>. <em>Since Ant 1.6</em></p>
&lt;tag name=&quot;todo&quot; scope=&quot;all&quot; description=&quot;To do:&quot;/&gt;
&lt;group title=&quot;Group 1 Packages&quot; packages=&quot;com.dummy.test.a*&quot;/&gt;
&lt;group title=&quot;Group 2 Packages&quot; packages=&quot;com.dummy.test.b*:com.dummy.test.c*&quot;/&gt;
&lt;link offline=&quot;true&quot; href=&quot;http://java.sun.com/products/jdk/1.2/docs/api/&quot; packagelistLoc=&quot;C:\tmp&quot;/&gt;
&lt;link offline=&quot;true&quot; href=&quot;http://java.sun.com/j2se/1.5.0/docs/api/&quot; packagelistLoc=&quot;C:\tmp&quot;/&gt;
&lt;link href=&quot;http://developer.java.sun.com/developer/products/xml/docs/api/&quot;/&gt;
&lt/javadoc&gt;</pre>

@@ -781,7 +781,7 @@ arguments</a>. <em>Since Ant 1.6</em></p>
&lt;tag name=&quot;todo&quot; scope=&quot;all&quot; description=&quot;To do:&quot;/&gt;
&lt;group title=&quot;Group 1 Packages&quot; packages=&quot;com.dummy.test.a*&quot;/&gt;
&lt;group title=&quot;Group 2 Packages&quot; packages=&quot;com.dummy.test.b*:com.dummy.test.c*&quot;/&gt;
&lt;link offline=&quot;true&quot; href=&quot;http://java.sun.com/products/jdk/1.2/docs/api/&quot; packagelistLoc=&quot;C:\tmp&quot;/&gt;
&lt;link offline=&quot;true&quot; href=&quot;http://java.sun.com/j2se/1.5.0/docs/api/&quot; packagelistLoc=&quot;C:\tmp&quot;/&gt;
&lt;link href=&quot;http://developer.java.sun.com/developer/products/xml/docs/api/&quot;/&gt;
&lt/javadoc&gt;</pre>

@@ -804,7 +804,7 @@ arguments</a>. <em>Since Ant 1.6</em></p>
&lt;tag name=&quot;todo&quot; scope=&quot;all&quot; description=&quot;To do:&quot;/&gt;
&lt;group title=&quot;Group 1 Packages&quot; packages=&quot;com.dummy.test.a*&quot;/&gt;
&lt;group title=&quot;Group 2 Packages&quot; packages=&quot;com.dummy.test.b*:com.dummy.test.c*&quot;/&gt;
&lt;link offline=&quot;true&quot; href=&quot;http://java.sun.com/products/jdk/1.2/docs/api/&quot; packagelistLoc=&quot;C:\tmp&quot;/&gt;
&lt;link offline=&quot;true&quot; href=&quot;http://java.sun.com/j2se/1.5.0/docs/api/&quot; packagelistLoc=&quot;C:\tmp&quot;/&gt;
&lt;link href=&quot;http://developer.java.sun.com/developer/products/xml/docs/api/&quot;/&gt;
&lt/javadoc&gt;</pre>



+ 2
- 2
docs/manual/CoreTasks/manifest.html View File

@@ -58,7 +58,7 @@ line.</p>
</table>

<h3>Nested elements</h3>
<h4><a name="attribute">attribute</h4></h4>
<h4><a name="attribute">attribute</a></h4>
<p>One attribute for the manifest file. Those attributes that are
not nested into a section will be added to the "Main" section.</p>
<table border="1" cellpadding="2" cellspacing="0">
@@ -121,7 +121,7 @@ href="#attribute">attribute</a> elements into sections.</p>
attribute will take the value of the Ant property ${user.name}. The
same is true for the ${version} and ${TODAY} properties. This example
produces a MANIFEST.MF that contains
<a href="http://java.sun.com/products/jdk/1.2/docs/guide/versioning/index.html">package
<a href="http://java.sun.com/j2se/1.5.0/docs/guide/versioning/">package
version identification</a> for the package <code>common</code>.</p>

<p>The manifest produced by the above would look like this:</p>


+ 1
- 1
docs/manual/CoreTasks/unzip.html View File

@@ -69,7 +69,7 @@ nested element.</p>
the <code>untar</code> task.<br>
The character encoding that has been used for filenames
inside the zip file. For a list of possible values see <a
href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html">http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html</a>.<br>
href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html</a>.<br>
Defaults to &quot;UTF8&quot;, use the magic value
<code>native-encoding</code> for the platform's default character
encoding.</td>


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/AntStructure.java View File

@@ -84,7 +84,7 @@ public class AntStructure extends Task {
} catch (UnsupportedEncodingException ue) {
/*
* Plain impossible with UTF8, see
* http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html
* http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html
*
* fallback to platform specific anyway.
*/


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/LoadFile.java View File

@@ -68,8 +68,8 @@ public class LoadFile extends Task {
* encoding. <p>
*
* For a list of possible values see
* <a href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html">
* http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html
* <a href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">
* http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html
* </a>.</p>
*
* @param encoding The new Encoding value


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/LoadProperties.java View File

@@ -90,8 +90,8 @@ public class LoadProperties extends Task {
* encoding. <p>
*
* For a list of possible values see
* <a href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html">
* http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html
* <a href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">
* http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html
* </a>.</p>
*
* @param encoding The new Encoding value


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Zip.java View File

@@ -291,7 +291,7 @@ public class Zip extends MatchingTask {
* default encoding.
*
* <p>For a list of possible values see <a
* href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html">http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html</a>.</p>
* href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html</a>.</p>
* @param encoding the encoding name
*/
public void setEncoding(String encoding) {


+ 1
- 1
src/main/org/apache/tools/zip/ZipFile.java View File

@@ -79,7 +79,7 @@ public class ZipFile {
* The encoding to use for filenames and the file comment.
*
* <p>For a list of possible values see <a
* href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html">http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html</a>.
* href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html</a>.
* Defaults to the platform's default character encoding.</p>
*/
private String encoding = null;


+ 2
- 2
src/main/org/apache/tools/zip/ZipOutputStream.java View File

@@ -185,7 +185,7 @@ public class ZipOutputStream extends FilterOutputStream {
* The encoding to use for filenames and the file comment.
*
* <p>For a list of possible values see <a
* href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html">http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html</a>.
* href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html</a>.
* Defaults to the platform's default character encoding.</p>
*
* @since 1.3
@@ -276,7 +276,7 @@ public class ZipOutputStream extends FilterOutputStream {
* The encoding to use for filenames and the file comment.
*
* <p>For a list of possible values see <a
* href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html">http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html</a>.
* href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html</a>.
* Defaults to the platform's default character encoding.</p>
* @param encoding the encoding value
* @since 1.3


Loading…
Cancel
Save