From d09b8e3f4d92f370efd4c02be485566ffc48ce69 Mon Sep 17 00:00:00 2001 From: Nico Seessle Date: Thu, 26 Apr 2001 23:31:43 +0000 Subject: [PATCH] Added a note about how Ant (the javac task) finds the files that need a rebuild. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268975 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/javac.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/manual/CoreTasks/javac.html b/docs/manual/CoreTasks/javac.html index 3c3abff3c..0b627af2b 100644 --- a/docs/manual/CoreTasks/javac.html +++ b/docs/manual/CoreTasks/javac.html @@ -13,6 +13,10 @@

The source and destination directory will be recursively scanned for Java source files to compile. Only Java files that have no corresponding class file or where the class file is older than the java file will be compiled.

+

Note: Ant uses only the names of the source and class files to find +the classes that need a rebuild. It will not scan the source and therefor +will have no knowledge about nested classes, classes that are named different +from the source file and so on.

The directory structure of the source tree should follow the package hierarchy.

It is possible to refine the set of files that are being compiled/copied.