You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matt Coarr <mc...@mitre.org> on 2000/07/21 15:25:21 UTC

javac task in apache and copying files

When using the javac task in ant, the a message is returned that
"[Javac] The implicit copying of support files by javac has been
deprecated.  Use the copydir task to copy support files explicitly."

However there doesn't appear to be a parameter to turn this off.  I
tried putting a copydir tag both nested within the javac task and before
the javac task.  Nesting doesnt work ("class
org.apache.tools.ant.taskdefs.Javac does not support nested copydir
properties") and putting the copydir before javac doesn't get rid of the
message.

Is the best option just to put an includes (**/*.java) parameter on the
javac task?  (It's really strange that a proactive action is required to
avoid deprecated behavior.)

Thanks for the help,
Matt