diff --git a/docs/faq.html b/docs/faq.html index 31ba33241..d1adb1322 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -771,6 +771,9 @@ +

With Ant >= 1.5, you can also use nested + <compilerarg> elements with the + <javac> task.

@@ -1290,8 +1293,8 @@ shell-prompt> cat < foo your build file uses, this is done inside the XML declaration.

By default the parser assumes you are using the UTF-8 - encoding instead of your platform's default. For most western - european contries you should set the encoding to + encoding instead of your platform's default. For most Western + European countries you should set the encoding to ISO-8859-1. To do so, make the very first line of you build file read like

@@ -1666,7 +1669,7 @@ public class BuildMonitor implements BuildListener { * Determine the status of the build and the actions to follow, now that * the build has completed. * - * @param e Event describing the build tatus. + * @param e Event describing the build status. */ public void buildFinished(BuildEvent e) { Throwable th = e.getException(); @@ -1994,7 +1997,7 @@ mv /tmp/foo $ANT_HOME/bin/antRun is in CLASSPATH as well.

To solve this, you have two major options:

    -
  1. put all external libaries you need in +
  2. put all external libraries you need in CLASSPATH as well this is not what you want, otherwise you wouldn't have found this FAQ entry.
  3. diff --git a/docs/manual/CoreTasks/javac.html b/docs/manual/CoreTasks/javac.html index 2ad288778..7eaa23417 100644 --- a/docs/manual/CoreTasks/javac.html +++ b/docs/manual/CoreTasks/javac.html @@ -1,4 +1,4 @@ - + @@ -21,7 +21,7 @@ will have no knowledge about nested classes, classes that are named different from the source file, and so on. See the <depend> task for dependency checking based on other than just -existence/modification times. +existence/modification times.

    When the source files are part of a package, the directory structure of the source tree should follow the package hierarchy.

    @@ -47,7 +47,7 @@ setting the compiler attribute, specific to the current <javac> task. Valid values for either the build.compiler property or the compiler -attribute are:

    +attribute are:

    -

    The default is javac1.x with x depending on the JDK version you use while you are running Ant. If you wish to use a different compiler interface than those @@ -98,7 +97,6 @@ classpath of the <javac> task, and does not release them. The side effect of this is that you will not be able to delete or move those files later on in the build. The workaround is to fork when invoking the compiler.

    -

    Parameters

    @@ -109,7 +107,7 @@ invoking the compiler.

    + note below.) @@ -492,7 +490,7 @@ using. This problem may occur with all JDKs < 1.2.

    Jikes Notes

    -Jikes supports some extra options, which can be set be defining +

    Jikes supports some extra options, which can be set be defining the properties shown below prior to invoking the task. The setting for each property will be in affect for all <javac> tasks throughout the build. @@ -559,7 +557,6 @@ while all others are false.

    srcdir Location of the java files. (See the - Note below.) Yes, unless nested <src> elements are present.
    -


    Copyright © 2000-2002 Apache Software Foundation. diff --git a/xdocs/faq.xml b/xdocs/faq.xml index 980b53009..bc0888117 100644 --- a/xdocs/faq.xml +++ b/xdocs/faq.xml @@ -270,6 +270,10 @@ +

    With Ant >= 1.5, you can also use nested + <compilerarg> elements with the + <javac> task.

    + @@ -580,8 +584,8 @@ shell-prompt> cat < foo declaration.

    By default the parser assumes you are using the UTF-8 - encoding instead of your platform's default. For most western - european contries you should set the encoding to + encoding instead of your platform's default. For most Western + European countries you should set the encoding to ISO-8859-1. To do so, make the very first line of you build file read like

    @@ -802,7 +806,7 @@ public class BuildMonitor implements BuildListener { * Determine the status of the build and the actions to follow, now that * the build has completed. * - * @param e Event describing the build tatus. + * @param e Event describing the build status. */ public void buildFinished(BuildEvent e) { Throwable th = e.getException(); @@ -1041,7 +1045,7 @@ mv /tmp/foo $ANT_HOME/bin/antRun

    To solve this, you have two major options:

      -
    1. put all external libaries you need in +
    2. put all external libraries you need in CLASSPATH as well this is not what you want, otherwise you wouldn't have found this FAQ entry.