Java Reference
In-Depth Information
our application using the GNU Compiler for Java, but for now, and in general,
you will not set this property, 9 compiling with the default compiler for the JDK
version you are using. This is ant 's default behavior.
srcdir
Location of the Java source files.
destdir
Location to store the class files.
includes
Comma- or space-separated list of files (optionally using wildcards) that
must be included; all .java files are included when this attribute is not
specified.
excludes
Comma- or space-separated list of files (optionally using wildcards) that
must be excluded; no files (except default excludes) are excluded when
omitted.
classpath
The classpath to use.
sourcepath
The sourcepath to use; defaults to the value of the srcdir attribute or to
nested src elements. To suppress the sourcepath switch, use
sourcepath="" .
classpathref
The classpath to use, given as a reference to a path defined elsewhere.
extdirs
Location of installed extensions.
nowarn
Indicates whether the -nowarn switch should be passed to the compiler;
defaults to off (i.e., warnings are shown).
9. The one place you are likely to need to set this is when you are using a recent JDK to compile
applets that you wish to work in Netscape 4.0 and IE 4.0 and older browsers. But this topic
doesn't teach you Java applets. We swear.
Search WWH ::




Custom Search