nico 01/02/14 02:58:25
Modified: docs/manual/CoreTasks javac.html
Log:
Added a note about how to use the srcdir-attribute (not include packages
there)
because this seems to become a very frequently asked question.
Revision Changes Path
1.3 +6 -1 jakarta-ant/docs/manual/CoreTasks/javac.html
Index: javac.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/javac.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- javac.html 2001/02/13 12:31:51 1.2
+++ javac.html 2001/02/14 10:58:24 1.3
@@ -50,7 +50,7 @@
</tr>
<tr>
<td valign="top">srcdir</td>
- <td valign="top">location of the java files.</td>
+ <td valign="top">location of the java files. (See Notes at the end)</td>
<td align="center" valign="top">Yes, unless nested
<code><src></code> elements are present.</td>
</tr>
<tr>
@@ -240,6 +240,11 @@
<p><b>Note:</b> 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.</p>
+
+<p><b>Note:</b> If you wish to compile only source-files located in some
packages below a
+common root you should not include these packages in the srcdir-attribute.
Use include/exclude-attributes
+or elements to filter for these packages. If you include part of your
package-structure inside the srcdir-attribute
+(or nested src-elements) Ant will start to recompile your sources everytime
you call it.</p>
<hr>
<p align="center">Copyright © 2000,2001 Apache Software Foundation. All
rights