I have done some tests (using javadoc directly)
javadoc does not copy the files from doc-files automatically if it has
not been ordered to generate documentation for the package
ie
javadoc -sourcepath src -d doc src/blah/util/*.java
will not copy the doc-files
but javadoc -sourcepath src -d doc blah.util
will copy the doc-files
Seems that bug ID 4340814 on java has been closed and fixed on 1.2 but
has been back in 1.3 / 1.4
in 1.3.1_03 and 1.4.0_01 the bug was present
in 1.3.1_04 this bug still is present, but in jdk 1.4.0_02 it has been
solved again.
When using this jdk ant will copy the doc-files if the sourcepath is
also specified. (Just like javadoc does!)
Ergo this doesn't seem a bug in ANT.more
Target using for the test
<target name="docs">
<javadoc sourcepath="code" destdir="docs" source="1.4">
<fileset dir="code">
<include name="**/*.java"/>
<exclude name="**/UniqueString.java"/>
</fileset>
</javadoc>
</target>
Kind Regards, Martijn
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>