ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wannheden, Knut" <knut.wannhe...@paranor.ch>
Subject default includes of <javac> task
Date Thu, 30 May 2002 13:12:32 GMT
Hi,

In the manual it is stated that if the "includes" attribute is omitted for
the <javac> task, all .java files are included.

If this is interpreted as "the default value is **/*.java" then the
documentation is not entirely correct.  I find it somewhat annoying that
<javac> outputs (in verbose mode) lines of the form:

	Foo.properties skipped - don't know how to handle it

for all files with different extension than .java.  So to avoid this i set
the value to **/*.java.

Another question: The behaviour of most Ant tasks when called with a
<fileset> not matching any files seems to be to don't do anything.  Maybe
the tasks should in verbose mode output a message that there is nothing to
do.  What do you think?

Regards,

--
knut

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message