From e61535addfce8fe18b3179527af3754867c12574 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 25 Aug 2010 11:37:38 +0000 Subject: [PATCH] replace java.sun.com links where possible and remove some old cruft git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@989020 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/Tasks/checksum.html | 2 +- docs/manual/Tasks/concat.html | 4 +-- docs/manual/Tasks/depend.html | 2 +- docs/manual/Tasks/ear.html | 2 +- docs/manual/Tasks/echo.html | 2 +- docs/manual/Tasks/ejb.html | 2 +- docs/manual/Tasks/ftp.html | 6 ++--- docs/manual/Tasks/jar.html | 8 +++--- docs/manual/Tasks/jarlib-available.html | 4 +-- docs/manual/Tasks/jarlib-display.html | 4 +-- docs/manual/Tasks/jarlib-manifest.html | 4 +-- docs/manual/Tasks/jarlib-resolve.html | 4 +-- docs/manual/Tasks/java.html | 2 +- docs/manual/Tasks/javadoc.html | 14 +++++------ docs/manual/Tasks/javah.html | 2 +- docs/manual/Tasks/manifest.html | 4 +-- docs/manual/Tasks/mimemail.html | 4 +-- docs/manual/Tasks/property.html | 2 +- docs/manual/Tasks/signjar.html | 8 +----- docs/manual/Tasks/sql.html | 2 +- docs/manual/Tasks/tstamp.html | 6 ++--- docs/manual/Tasks/unzip.html | 2 +- docs/manual/Tasks/zip.html | 2 +- docs/manual/Types/assertions.html | 2 +- docs/manual/Types/extension.html | 4 +-- docs/manual/Types/extensionset.html | 4 +-- docs/manual/Types/mapper.html | 2 +- docs/manual/Types/regexp.html | 2 +- docs/manual/Types/xmlcatalog.html | 2 +- docs/manual/Types/zipfileset.html | 2 +- docs/manual/install.html | 19 ++++---------- docs/manual/platform.html | 25 ------------------- docs/manual/properties.html | 2 +- docs/manual/proxy.html | 2 +- docs/manual/running.html | 2 +- .../tutorial-tasks-filesets-properties.html | 8 +++--- xdocs/external.xml | 2 +- xdocs/faq.xml | 8 +++--- 38 files changed, 69 insertions(+), 109 deletions(-) diff --git a/docs/manual/Tasks/checksum.html b/docs/manual/Tasks/checksum.html index 5de3bfca3..d9e6e54e0 100644 --- a/docs/manual/Tasks/checksum.html +++ b/docs/manual/Tasks/checksum.html @@ -114,7 +114,7 @@ or set the fileext attribute. pattern Specifies the pattern to use as a pattern suitable for MessageFormat + href="http://download.oracle.com/javase/6/docs/api/java/text/MessageFormat.html">MessageFormat where {0} is replaced with the checksum and {1} with the file name. Since Ant 1.7.0 No - default is "{0}". diff --git a/docs/manual/Tasks/concat.html b/docs/manual/Tasks/concat.html index e2953d957..8201933ec 100644 --- a/docs/manual/Tasks/concat.html +++ b/docs/manual/Tasks/concat.html @@ -110,8 +110,8 @@ Resource Collections are used to encoding Specifies the encoding for the input files. Please see - http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html + href="http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html"> + http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html for a list of possible values. Defaults to the platform's default character encoding. diff --git a/docs/manual/Tasks/depend.html b/docs/manual/Tasks/depend.html index 7910f60f7..55017becf 100644 --- a/docs/manual/Tasks/depend.html +++ b/docs/manual/Tasks/depend.html @@ -43,7 +43,7 @@ compiler. This is generally faster than parsing the Java source.

To learn more about how this information is obtained from the class files, -please refer to the Java +please refer to the Java Virtual Machine Specification

diff --git a/docs/manual/Tasks/ear.html b/docs/manual/Tasks/ear.html index fe1199fe3..6b999a6f5 100644 --- a/docs/manual/Tasks/ear.html +++ b/docs/manual/Tasks/ear.html @@ -147,7 +147,7 @@ to a value other than its default, "add".

index whether to create an index + HREF="http://download.oracle.com/javase/1.5.0/docs/guide/jar/jar.html#JAR%20Index">index list to speed up classloading. This is a JDK 1.3+ specific feature. Unless you specify additional jars with nested indexjars elements, only the diff --git a/docs/manual/Tasks/echo.html b/docs/manual/Tasks/echo.html index b0bbae171..bf6edf3cd 100644 --- a/docs/manual/Tasks/echo.html +++ b/docs/manual/Tasks/echo.html @@ -62,7 +62,7 @@ ignored

append Append to an existing file (or - + open a new file / overwrite an existing file)? Default false. No; ignored unless output indicates a diff --git a/docs/manual/Tasks/ejb.html b/docs/manual/Tasks/ejb.html index 61b551dd3..28c6c5b39 100644 --- a/docs/manual/Tasks/ejb.html +++ b/docs/manual/Tasks/ejb.html @@ -49,7 +49,7 @@

Introduction

Ant provides a number of optional tasks for developing 1.x and 2.x -Enterprise Java Beans (EJBs). +Enterprise Java Beans (EJBs). In general these tasks are specific to the particular vendor's EJB Server.

The tasks support:
diff --git a/docs/manual/Tasks/ftp.html b/docs/manual/Tasks/ftp.html index c40c59088..3767b167c 100644 --- a/docs/manual/Tasks/ftp.html +++ b/docs/manual/Tasks/ftp.html @@ -303,7 +303,7 @@ try to set up a new connection.

serverTimeZoneConfig Specify as a Java - + TimeZone identifier, (e.g. GMT, America/Chicago or Asia/Jakarta) the timezone used by the server for timestamps. This enables timestamp dependency checking even when the server is in a different @@ -318,7 +318,7 @@ try to set up a new connection.

defaultDateFormatConfig Specify in Java - + SimpleDateFormat notation, (e.g. yyyy-MM-dd), the date format generally used by the FTP server to parse dates. In some cases this will be the only date format used. @@ -335,7 +335,7 @@ try to set up a new connection.

recentDateFormatConfig Specify in Java - + SimpleDateFormat notation, (e.g. MMM dd hh:mm) the date format used by the FTP server to parse dates less than a year old. If not specified (or specified as diff --git a/docs/manual/Tasks/jar.html b/docs/manual/Tasks/jar.html index 111bad42f..381f635ab 100644 --- a/docs/manual/Tasks/jar.html +++ b/docs/manual/Tasks/jar.html @@ -73,12 +73,12 @@ attribute of a zipfileset in a Zip task. The one difference is that if the include an empty one for you.)

Manifests are processed by the Jar task according to the -Jar file specification. +Jar file specification. Note in particular that this may result in manifest lines greater than 72 bytes being wrapped and continued on the next line.

The Jar task checks whether you specified package information according to the - + versioning specification.

Please note that the zip format allows multiple files of the same @@ -196,7 +196,7 @@ to a value other than its default, "add".

index whether to create an index + HREF="http://download.oracle.com/javase/1.5.0/docs/guide/jar/jar.html#JAR%20Index">index list to speed up classloading. This is a JDK 1.3+ specific feature. Unless you specify additional jars with nested indexjars elements, only the @@ -383,7 +383,7 @@ depend on your manifest:

The nested service element specifies a service. Services are described by - http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Service%20Provider. + http://download.oracle.com/javase/1.5.0/docs/guide/jar/jar.html#Service%20Provider. The approach is to have providers JARs include files named by the service provided, for example, META-INF/services/javax.script.ScriptEngineFactory diff --git a/docs/manual/Tasks/jarlib-available.html b/docs/manual/Tasks/jarlib-available.html index 73412df45..9e237edd0 100644 --- a/docs/manual/Tasks/jarlib-available.html +++ b/docs/manual/Tasks/jarlib-available.html @@ -35,8 +35,8 @@ works with extensions as defined by the "Optional Package" specification. Optional Package Versioning in the documentation bundle for your Java2 Standard Edition package, in file guide/extensions/versioning.html or online at - -http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html.

+ +http://download.oracle.com/javase/1.3/docs/guide/extensions/versioning.html

See the Extension and ExtensionSet documentation for further details

Parameters

diff --git a/docs/manual/Tasks/jarlib-display.html b/docs/manual/Tasks/jarlib-display.html index b9b21f606..6eb8eb303 100644 --- a/docs/manual/Tasks/jarlib-display.html +++ b/docs/manual/Tasks/jarlib-display.html @@ -35,8 +35,8 @@ works with extensions as defined by the "Optional Package" specification. Optional Package Versioning in the documentation bundle for your Java2 Standard Edition package, in file guide/extensions/versioning.html or online at -
-http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html.

+ +http://download.oracle.com/javase/1.3/docs/guide/extensions/versioning.html

See the Extension and ExtensionSet documentation for further details

Parameters

diff --git a/docs/manual/Tasks/jarlib-manifest.html b/docs/manual/Tasks/jarlib-manifest.html index cedb2656c..70e133d10 100644 --- a/docs/manual/Tasks/jarlib-manifest.html +++ b/docs/manual/Tasks/jarlib-manifest.html @@ -37,8 +37,8 @@ works with extensions as defined by the "Optional Package" specification. Optional Package Versioning in the documentation bundle for your Java2 Standard Edition package, in file guide/extensions/versioning.html or online at -
-http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html.

+ +http://download.oracle.com/javase/1.3/docs/guide/extensions/versioning.html

See the Extension and ExtensionSet documentation for further details

Parameters

diff --git a/docs/manual/Tasks/jarlib-resolve.html b/docs/manual/Tasks/jarlib-resolve.html index a00435c58..c9091e850 100644 --- a/docs/manual/Tasks/jarlib-resolve.html +++ b/docs/manual/Tasks/jarlib-resolve.html @@ -40,8 +40,8 @@ works with extensions as defined by the "Optional Package" specification. Optional Package Versioning in the documentation bundle for your Java2 Standard Edition package, in file guide/extensions/versioning.html or online at -
-http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html.

+ +http://download.oracle.com/javase/1.3/docs/guide/extensions/versioning.html

See the Extension and ExtensionSet documentation for further details

Parameters

diff --git a/docs/manual/Tasks/java.html b/docs/manual/Tasks/java.html index d1af418f4..0e0a69fa2 100644 --- a/docs/manual/Tasks/java.html +++ b/docs/manual/Tasks/java.html @@ -321,7 +321,7 @@ task is run. If you need to locate a JAR file relative to the directory the task will be run in, you need to explicitly create the full path to the JAR file.

When using the jar attribute, all classpath settings are -ignored according to Sun's +ignored according to Sun's specification. diff --git a/docs/manual/Tasks/javadoc.html b/docs/manual/Tasks/javadoc.html index fe560babf..d7d943ba5 100644 --- a/docs/manual/Tasks/javadoc.html +++ b/docs/manual/Tasks/javadoc.html @@ -703,7 +703,7 @@ with text contents, and the packages may be listed with nested

doclet

The doclet nested element is used to specify the -doclet +doclet that javadoc will use to process the input source files. A number of the standard javadoc arguments are actually arguments of the standard doclet. If these are specified in the javadoc task's attributes, they will be passed to the doclet specified in the @@ -767,7 +767,7 @@ not set the description attribute for those tags.

If this attribute is specified, this element will behave as an implicit fileset. The files included by this fileset should contain each tag definition on a separate line, as described in the - Javadoc reference guide: + Javadoc reference guide:
ejb.bean:t:XDoclet EJB Tag
 todo:a:To Do
Note: The Javadoc reference quide has double quotes around @@ -784,7 +784,7 @@ the javadoc program.

taglet

The taglet nested element is used to specify custom - taglets.

+ taglets.

Parameters
@@ -796,7 +796,7 @@ the javadoc program. @@ -837,7 +837,7 @@ arguments. Since Ant 1.6

<tag name="todo" scope="all" description="To do:"/> <group title="Group 1 Packages" packages="com.dummy.test.a*"/> <group title="Group 2 Packages" packages="com.dummy.test.b*:com.dummy.test.c*"/> - <link offline="true" href="http://java.sun.com/j2se/1.5.0/docs/api/" packagelistLoc="C:\tmp"/> + <link offline="true" href="http://download.oracle.com/javase/6/docs/api/" packagelistLoc="C:\tmp"/> <link href="http://developer.java.sun.com/developer/products/xml/docs/api/"/> </javadoc> @@ -860,7 +860,7 @@ arguments. Since Ant 1.6

<tag name="todo" scope="all" description="To do:"/> <group title="Group 1 Packages" packages="com.dummy.test.a*"/> <group title="Group 2 Packages" packages="com.dummy.test.b*:com.dummy.test.c*"/> - <link offline="true" href="http://java.sun.com/j2se/1.5.0/docs/api/" packagelistLoc="C:\tmp"/> + <link offline="true" href="http://download.oracle.com/javase/6/docs/api/" packagelistLoc="C:\tmp"/> <link href="http://developer.java.sun.com/developer/products/xml/docs/api/"/> </javadoc> @@ -883,7 +883,7 @@ arguments. Since Ant 1.6

<tag name="todo" scope="all" description="To do:"/> <group title="Group 1 Packages" packages="com.dummy.test.a*"/> <group title="Group 2 Packages" packages="com.dummy.test.b*:com.dummy.test.c*"/> - <link offline="true" href="http://java.sun.com/j2se/1.5.0/docs/api/" packagelistLoc="C:\tmp"/> + <link offline="true" href="http://download.oracle.com/javase/6/docs/api/" packagelistLoc="C:\tmp"/> <link href="http://developer.java.sun.com/developer/products/xml/docs/api/"/> </javadoc> diff --git a/docs/manual/Tasks/javah.html b/docs/manual/Tasks/javah.html index f84d54e32..b29041e9f 100644 --- a/docs/manual/Tasks/javah.html +++ b/docs/manual/Tasks/javah.html @@ -29,7 +29,7 @@

Generates JNI headers from a Java class.

When this task executes, it will generate the C header and source files that are needed to implement native methods. JNI operates differently depending on -whether JDK1.2 +whether JDK1.2 (or later) or pre-JDK1.2 systems are used.

diff --git a/docs/manual/Tasks/manifest.html b/docs/manual/Tasks/manifest.html index 2e182fec0..d4607b748 100644 --- a/docs/manual/Tasks/manifest.html +++ b/docs/manual/Tasks/manifest.html @@ -34,7 +34,7 @@ replacing or updating an existing file.

Manifests are processed according to the -Jar +Jar file specification.. Specifically, a manifest element consists of a set of attributes and sections. These sections in turn may contain attributes. Note in particular that this may result in manifest lines @@ -169,7 +169,7 @@ href="#attribute">attribute elements into sections.

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 -package +package version identification for the package common.

The manifest produced by the above would look like this:

diff --git a/docs/manual/Tasks/mimemail.html b/docs/manual/Tasks/mimemail.html index e81343d78..c0ec7b551 100644 --- a/docs/manual/Tasks/mimemail.html +++ b/docs/manual/Tasks/mimemail.html @@ -31,8 +31,8 @@

Description

Sends SMTP mail with MIME attachments. -JavaMail -and Java +JavaMail +and Java Activation Framework are required for this task.

Multiple files can be attached using FileSets.

Parameters

diff --git a/docs/manual/Tasks/property.html b/docs/manual/Tasks/property.html index b89844f94..3fb78ab42 100644 --- a/docs/manual/Tasks/property.html +++ b/docs/manual/Tasks/property.html @@ -252,7 +252,7 @@ about this feature level. This lets you have optional configuration files for every project, that team members can customize.
  • The rules for this format are laid down -by Sun. +by Sun. This makes it hard for Team Ant to field bug reports about it.
  • Trailing spaces are not stripped. It may have been what you wanted.
  • Want unusual characters? Escape them \u0456 or \" style. diff --git a/docs/manual/Tasks/signjar.html b/docs/manual/Tasks/signjar.html index c9aedf748..7053a4e8e 100644 --- a/docs/manual/Tasks/signjar.html +++ b/docs/manual/Tasks/signjar.html @@ -235,13 +235,7 @@ so the files will only be signed if they are not already signed.

    Timestamped JAR files are a new feature in Java1.5; a feature supported in Ant since -Ant 1.7. Ant does not yet support proxy setup for this singing process, and -the whole TSA feature is not tested yet. Furthermore, the - -official TSA documentation -warns that the API is subject to change. If a future version of Java changes the -API, Ant will break. It may be possible to hide changes if and when they occur, -but this can not be guaranteed. +Ant 1.7. Ant does not yet support proxy setup for this singing process.

    diff --git a/docs/manual/Tasks/sql.html b/docs/manual/Tasks/sql.html index 05c2da934..455a32e59 100644 --- a/docs/manual/Tasks/sql.html +++ b/docs/manual/Tasks/sql.html @@ -180,7 +180,7 @@ and abort execution and transaction and fail task.

  • diff --git a/docs/manual/Tasks/tstamp.html b/docs/manual/Tasks/tstamp.html index b71516af9..3a5a97be9 100644 --- a/docs/manual/Tasks/tstamp.html +++ b/docs/manual/Tasks/tstamp.html @@ -58,7 +58,7 @@ probably in an initialization target.

    The Tstamp task supports a <format> nested element that allows a property to be set to the current date and time in a given format. The date/time patterns are as defined in the Java -SimpleDateFormat class. +SimpleDateFormat class. The format element also allows offsets to be applied to the time to generate different time values.

    name The name of the taglet class - (e.g. + (e.g. com.sun.tools.doclets.ToDoTaglet) Yes
    Control whether the Java statement object will perform escape substitution.
    See Statement's + href="http://download.oracle.com/javase/6/docs/api/java/sql/Statement.html#setEscapeProcessing%28boolean%29">Statement's API docs for details. Since Ant 1.6.
    No (default=true)
    @@ -81,7 +81,7 @@ The format element also allows offsets to be applied to the time to generate dif - + @@ -112,7 +112,7 @@ The format element also allows offsets to be applied to the time to generate dif form is "language, country, variant" but either variant or variant and country may be omitted. For more information please refer to documentation for the - Locale + Locale class. diff --git a/docs/manual/Tasks/unzip.html b/docs/manual/Tasks/unzip.html index b7fb4b660..c968cb073 100644 --- a/docs/manual/Tasks/unzip.html +++ b/docs/manual/Tasks/unzip.html @@ -104,7 +104,7 @@ archive.

    the untar task.
    The character encoding that has been used for filenames inside the zip file. For a list of possible values see http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html.
    + href="http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html">http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html.
    Defaults to "UTF8", use the magic value native-encoding for the platform's default character encoding. diff --git a/docs/manual/Tasks/zip.html b/docs/manual/Tasks/zip.html index b78536822..882f69b58 100644 --- a/docs/manual/Tasks/zip.html +++ b/docs/manual/Tasks/zip.html @@ -149,7 +149,7 @@ archive.

    diff --git a/docs/manual/Types/assertions.html b/docs/manual/Types/assertions.html index afa12fc06..452c985e0 100644 --- a/docs/manual/Types/assertions.html +++ b/docs/manual/Types/assertions.html @@ -33,7 +33,7 @@ in <java> and

    Assertions are covered in the -J2SDK 1.4 documentation, +J2SDK 1.4 documentation, and the Java Language Specification. diff --git a/docs/manual/Types/extension.html b/docs/manual/Types/extension.html index 90b27657d..4f9943712 100644 --- a/docs/manual/Types/extension.html +++ b/docs/manual/Types/extension.html @@ -32,8 +32,8 @@ works with extensions as defined by the "Optional Package" specification. Optional Package Versioning in the documentation bundle for your Java2 Standard Edition package, in file guide/extensions/versioning.html or online at - -http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html.

    + +http://download.oracle.com/javase/1.3/docs/guide/extensions/versioning.html.

    Attributes

    The extension type supports the following attributes: diff --git a/docs/manual/Types/extensionset.html b/docs/manual/Types/extensionset.html index 3dd4b48fc..fdebd0429 100644 --- a/docs/manual/Types/extensionset.html +++ b/docs/manual/Types/extensionset.html @@ -30,8 +30,8 @@ works with extensions as defined by the "Optional Package" specification. Optional Package Versioning in the documentation bundle for your Java2 Standard Edition package, in file guide/extensions/versioning.html or online at - -http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html.

    + +http://download.oracle.com/javase/1.3/docs/guide/extensions/versioning.html.

    Nested Elements

    diff --git a/docs/manual/Types/mapper.html b/docs/manual/Types/mapper.html index 84448fa19..862708a2a 100644 --- a/docs/manual/Types/mapper.html +++ b/docs/manual/Types/mapper.html @@ -364,7 +364,7 @@ another dollar-sign in Ant.

    The regexp mapper needs a supporting library and an implementation of org.apache.tools.ant.util.regexp.RegexpMatcher that hides the specifics of the library. Ant comes with implementations for -the java.util.regex package of JDK 1.4 or higher, +the java.util.regex package, jakarta-regexp and jakarta-ORO. If you compile from sources and plan to use one of them, make sure the libraries are diff --git a/docs/manual/Types/regexp.html b/docs/manual/Types/regexp.html index 76a6a0ac3..ae5cd9cb5 100644 --- a/docs/manual/Types/regexp.html +++ b/docs/manual/Types/regexp.html @@ -58,7 +58,7 @@ Use the regular expression with id myregexp.

    Ant comes with wrappers for -the java.util.regex package of JDK 1.4, +the java.util.regex package, jakarta-regexp and jakarta-ORO, See installation dependencies diff --git a/docs/manual/Types/xmlcatalog.html b/docs/manual/Types/xmlcatalog.html index 67058aee1..03d6b9d5b 100644 --- a/docs/manual/Types/xmlcatalog.html +++ b/docs/manual/Types/xmlcatalog.html @@ -47,7 +47,7 @@ OASIS "Open Catalog" standard. The catalog entries are used both for Entity resolution and URI resolution, in accordance with the org.xml.sax.EntityResolver and javax.xml.transform.URIResolver interfaces as defined -in the Java API for XML +in the Java API for XML Processing (JAXP) Specification.

    For example, in a web.xml file, the DTD is referenced as:

    diff --git a/docs/manual/Types/zipfileset.html b/docs/manual/Types/zipfileset.html
    index ff84d7526..401a474ec 100644
    --- a/docs/manual/Types/zipfileset.html
    +++ b/docs/manual/Types/zipfileset.html
    @@ -93,7 +93,7 @@ directories.  Default is 755. since Ant 1.5.2.
           
    diff --git a/docs/manual/install.html b/docs/manual/install.html index 33dd1a223..8877a88e0 100644 --- a/docs/manual/install.html +++ b/docs/manual/install.html @@ -564,7 +564,7 @@ mechanism with -autoproxy.
  • With explicit JVM properties.

    These are documented by Sun, +href="http://download.oracle.com/javase/1.5.0/docs/guide/net/properties.html" target="_top">by Oracle, and control the proxy behaviour of the entire JVM. To set them in Ant, declare them in the ANT_OPTS environment variable. This is the best option for a non-mobile system. For a laptop, you have to change these settings as you @@ -986,23 +986,14 @@ you need jakarta-oro 2.0.8 or later, and commons-net<

  • - - - - - - + - + diff --git a/docs/manual/platform.html b/docs/manual/platform.html index a785992d2..be452fd15 100644 --- a/docs/manual/platform.html +++ b/docs/manual/platform.html @@ -31,31 +31,6 @@ You may need a bigger stack than default, especially if you are using the built XSLT engine. We recommend you use Apache Xalan; indeed, some tasks (JUnit report in XML, for example) may not work against the shipping XSL engine. -

    Java 1.2

    - - -You may sometimes see messages like -
    -A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
    -occurred in :
    -  'org/apache/tools/ant/Project.addReference
    -(Ljava/lang/String;Ljava/lang/Object;)V': Interpreting method.
    -  Please report this error in detail to
    -  http://java.sun.com/cgi-bin/bugreport.cgi
    -
    -These are caused by subtle incompatibilities between the Java1.4+ compiled -release; bugs in the Java runtime that Sun won't fix. Possible solutions:- -
      -
    1. Upgrade your JVM. -
    2. Recompile Ant on a Java1.2 machine -
    3. Add -Djava.compiler=NONE to -the value of your ANT_OPTS environment variable. This turns the JIT off. -
    4. Ignore the messages. -
    - - - -

    Unix and Linux

    diff --git a/docs/manual/tutorial-tasks-filesets-properties.html b/docs/manual/tutorial-tasks-filesets-properties.html index 7812cfea6..b6e28a814 100644 --- a/docs/manual/tutorial-tasks-filesets-properties.html +++ b/docs/manual/tutorial-tasks-filesets-properties.html @@ -836,7 +836,7 @@ is the same as directly after the cvs update (without our modifications).

    Test on JDK 1.2

    Until version 1.5 Ant must be able to run on a JDK 1.1. With version 1.6 this is not a requisite any more. But JDK 1.2 is a must-to-work-with. So we have to test that. You can download older -JDKs from Sun [8].

    +JDKs from Oracle [8].

    Clean the ANT_HOME variable, delete the build, bootstrap and dist directory and point JAVA_HOME to the JDK 1.2 home directory. Then do the build, set ANT_HOME @@ -849,7 +849,7 @@ and run ant test (like above).

    Checkstyle

    There are many things we have to ensure. Indentation with 4 spaces, blanks here and there, ... (all described in the Ant Task Guidelines [6] which -includes the Sun code style +includes the Sun code style [9]). Because there are so many things we would be happy to have a tool for do the checks. There is one: checkstyle. Checkstyle is available at Sourceforge [10] and Ant provides with the check.xml a buildfile which will do the job @@ -956,8 +956,8 @@ Now the new task is uploaded into the bug database.   [5] Tasks/java.html
      [6] http://ant.apache.org/ant_task_guidelines.html
      [7] http://ant.apache.org/cvs.html
    -  [8] http://java.sun.com/products/archive/index.html
    -  [9] http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
    +  [8] http://www.oracle.com/technetwork/java/archive-139210.html
    +  [9] http://www.oracle.com/technetwork/java/codeconvtoc-136057.html
      [10] http://checkstyle.sourceforge.net/
      [11] http://issues.apache.org/bugzilla/
      [12] http://issues.apache.org/bugzilla/createaccount.cgi
    diff --git a/xdocs/external.xml b/xdocs/external.xml index a41a58e1f..7d58f1356 100644 --- a/xdocs/external.xml +++ b/xdocs/external.xml @@ -1414,7 +1414,7 @@

    There are different sets of tasks to help build Java 2 Platform, Micro + href="http://www.oracle.com/technetwork/java/javame/overview/index.html">Java 2 Platform, Micro Edition (J2ME) applications.

    diff --git a/xdocs/faq.xml b/xdocs/faq.xml index 615adde2e..b19b6e547 100644 --- a/xdocs/faq.xml +++ b/xdocs/faq.xml @@ -1048,7 +1048,7 @@ shell-prompt> m4 foo.m4 > foo

    Ant implements the Java - Jar + Jar file specification. Please refer to the notes section where it discusses the maximum allowable length of a line and the concept of continuation characters. @@ -1294,7 +1294,7 @@ while() { BuildListener that sends out an email in the buildFinished() method. Will Glozer <will.glozer@jda.com> has written such a listener based - on JavaMail. + on JavaMail. The source is:

    Make sure that mail.jar from JavaMail and activation.jar from the - Java + Java Beans Activation Framework are in your CLASSPATH.

    @@ -1614,7 +1614,7 @@ mv /tmp/foo $ANT_HOME/bin/antRun

    Ant's class loader implementation uses Java's delegation model, see http://java.sun.com/products/jdk/1.2/docs/api/java/lang/ClassLoader.html + href="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html">http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html the paragraph

    The ClassLoader class uses a
    timezoneThe timezone to use for displaying time. The values are as defined by the Java TimeZone class.The timezone to use for displaying time. The values are as defined by the Java TimeZone class. No
    No
    encoding The character encoding to use for filenames inside the zip file. For a list of possible values see http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html. + href="http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html">http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html. Defaults to the platform's default character encoding.
    See also the discussion below
    No encoding The character encoding to use for filenames inside the zip file. For a list of possible values see http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html. + href="http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html">http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html. Defaults to the platform's default character encoding. Only supported by zipfileset. No
    mail.jar Mail task with Mime encoding, and the MimeMail taskhttp://java.sun.com/products/javamail/
    jsse.jar -Support for SMTP over TLS/SSL
    -in the Mail task
    -Already included Java 1.4+
    http://java.sun.com/products/jsse/http://www.oracle.com/technetwork/java/index-jsp-139225.html
    activation.jar Mail task with Mime encoding, and the MimeMail taskhttp://java.sun.com/products/javabeans/glasgow/jaf.htmlhttp://www.oracle.com/technetwork/java/javase/jaf-135115.html
    jdepend.jar name of a supported character set (e.g. UTF-8, ISO-8859-1, US-ASCII) use as default character set of email messages; use as default for source-, dest- and bundleencoding in translate
    - see JavaDoc of java.nio.charset.Charset + see JavaDoc of java.nio.charset.Charset for more information about character sets (not used in Ant, but has nice docs).