diff --git a/docs/index.html b/docs/index.html index f236ec0e0..efa2dd3d5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3205,9 +3205,9 @@ inclusion/exclusion of files works, and how to write patterns.
For JDK 1.1/1.2 is classic the default. For JDK 1.3 is modern the default. -If you whish to use a different compiler interface then one of the four -supplied, then write a class that implements the CompilerAdapter interface +
For JDK 1.1/1.2, classic is the default. For JDK 1.3, modern is the default. +If you wish to use a different compiler interface than one of the four +supplied, write a class that implements the CompilerAdapter interface (package org.apache.tools.ant.taskdefs.compilers). Supply the full classname in the "build.compiler" property.
@@ -3225,37 +3225,37 @@ classname in the "build.compiler" property.yes
| no
); default excludes are used when omitted.off
.off
.off
.1.1
or 1.2
).no
.no
.true
.
<fileset>
(dir
becomes srcdir
) as well as the nested
<include>
, <exclude>
and
<patternset>
elements.
-src
, classpath
, bootclasspath
and extdirs
Javac
's srcdir, classpath,
bootclasspath and extdirs attributes are PATH like structure and can also be set via nested
-src, classpath, bootclasspath and
-extdirs elements respectively.
<src>
,
+<classpath>
,
+<bootclasspath>
and
+<extdirs>
elements, respectively.
<javac srcdir="${src}" @@ -3364,8 +3365,9 @@ href="#path">PATH like structure and can also be set via nested classpath="xyz.jar" debug="on" />-
compiles all .java files under the directory ${src}
, and stores
-the .class files in the directory ${build}
.
+
compiles all .java
files under the ${src}
+directory, and stores
+the .class
files in the ${build}
directory.
The classpath used contains xyz.jar
, and debug information is on.
<javac srcdir="${src}"
destdir="${build}"
@@ -3374,12 +3376,13 @@ The classpath used contains xyz.jar
, and debug information is on.
classpath="xyz.jar"
debug="on"
/>
-compiles .java files under the directory ${src}
, and stores the
-.class files in the directory ${build}
.
+
compiles .java
files under the ${src}
+directory, and stores the
+.class
files in the ${build}
directory.
The classpath used contains xyz.jar
, and debug information is on.
Only files under mypackage/p1
and mypackage/p2
are
used. Files in the mypackage/p1/testpackage
directory are excluded
-form compilation and copy.
<javac srcdir="${src}:${src2}" destdir="${build}" @@ -3389,8 +3392,10 @@ form compilation and copy. debug="on" />-
is the same as the previous example with the addition of a second source path, defined by
-the propery src2
. This can also be represented using nested elements as follows
+
is the same as the previous example, with the addition of a second
+source path, defined by
+the property src2
. This can also be represented using nested
+<src>
elements as follows:
<javac destdir="${build}"
classpath="xyz.jar"
@@ -3402,9 +3407,9 @@ the propery src2
. This can also be represented using nested element
<exclude name="mypackage/p1/testpackage/**"/>
</javac>
-Note: If you are using Ant on Windows and a new DOS-Window pops up -for every use of an external compiler this may be a problem of the JDK you are using. -This problem may occur with all JDK's < 1.2.
+Note: If you are using Ant on Windows and a new DOS window pops up +for every use of an external compiler, this may be a problem of the JDK you are using. +This problem may occur with all JDKs < 1.2.