Return-Path:
With Ant >= 1.5, you can also use nested
+ <compilerarg>
elements with the
+ <javac>
task.
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
CLASSPATH
as well.
To solve this, you have two major options:
CLASSPATH
as well this is not what you want,
otherwise you wouldn't have found this FAQ entry.<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 @@<javac>
task.
Valid values for either the
build.compiler
property or the compiler
-attribute are:
+attribute are:
classic
(the standard compiler of JDK 1.1/1.2) –
javac1.1
and
@@ -56,7 +56,7 @@
javac1.3
and
javac1.4
can be used as aliases.jikes
(the Jikes
+ href="http://oss.software.ibm.com/developerworks/opensource/jikes/" target="_top">Jikes
compiler).jvc
(the Command-Line Compiler from Microsoft's SDK
for Java / Visual J++) – microsoft
can be used
@@ -69,7 +69,6 @@
extJavac
(run either modern or classic in a JVM of
its own).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 @@
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.
srcdir | Location of the java files. (See the - Note below.) | + note below.)Yes, unless nested <src> elements are present. |
Copyright © 2000-2002 Apache Software Foundation. 1.21 +8 -4 jakarta-ant/xdocs/faq.xml Index: faq.xml =================================================================== RCS file: /home/cvs/jakarta-ant/xdocs/faq.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- faq.xml 30 Jul 2002 14:52:10 -0000 1.20 +++ faq.xml 30 Jul 2002 15:00:40 -0000 1.21 @@ -270,6 +270,10 @@ +
With Ant >= 1.5, you can also use nested
+ <compilerarg>
elements with the
+ <javac>
task.
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
To solve this, you have two major options:
CLASSPATH
as well this is not what you want,
otherwise you wouldn't have found this FAQ entry.