13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

226Chapter 9Ant: An Introducti<strong>on</strong>our applicati<strong>on</strong> 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 JDKversi<strong>on</strong> you are using. This is ant’s default behavior.srcdirLocati<strong>on</strong> of the Java source files.destdirLocati<strong>on</strong> to store the class files.includesComma- or space-separated list of files (opti<strong>on</strong>ally using wildcards) thatmust be included; all .java files are included when this attribute is notspecified.excludesComma- or space-separated list of files (opti<strong>on</strong>ally using wildcards) thatmust be excluded; no files (except default excludes) are excluded whenomitted.classpathThe classpath to use.sourcepathThe sourcepath to use; defaults to the value of the srcdir attribute or t<strong>on</strong>ested src elements. To suppress the sourcepath switch, usesourcepath="".classpathrefThe classpath to use, given as a reference to a path defined elsewhere.extdirsLocati<strong>on</strong> of installed extensi<strong>on</strong>s.nowarnIndicates whether the -nowarn switch should be passed to the compiler;defaults to off (i.e., warnings are shown).9. The <strong>on</strong>e place you are likely to need to set this is when you are using a recent JDK to compileapplets that you wish to work in Netscape 4.0 and IE 4.0 and older browsers. But this bookdoesn’t teach you Java applets. We swear.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!