Summary: | erroronmissingdir not supported by javac task | ||
---|---|---|---|
Product: | Ant | Reporter: | Tim Dean <TimothyMDean> |
Component: | Core tasks | Assignee: | Ant Notifications List <notifications> |
Status: | NEW --- | ||
Severity: | normal | CC: | lbreisacher |
Priority: | P2 | ||
Version: | 1.7.1 | ||
Target Milestone: | --- | ||
Hardware: | Macintosh | ||
OS: | Mac OS X 10.4 |
Description
Tim Dean
2009-03-01 19:54:27 UTC
svn revision 772556 fixes the manual I haven't made up my mind on whether <javac> should support erroronmissingdir at all. Ant Documentation 1.7.1: <zipfileset> supports all attributes of <fileset> in addition to those listed below. Unfortunately, <zipfileset> doesn't support erroronmissingdir ZipFileSet does support erroronmissingdir (it comes in inherited from AbstractFileSet). If javac is not going to support erroronmissingdir, then how *does* one tell javac to ignore a directory? The use case I've got is this: I have several components to compile, so I wrote a macrodef to do the compile. Some of the components have more than one src directory (e.g. src, gen/src), but others do not (just src, no gen/src). I want to put both src and gen/src on the javac srcdir and have it simply ignore a missing directory. I've tried various combinations of <src> and srcdir and <fileset> to no avail. |