You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/03/02 04:54:28 UTC
DO NOT REPLY [Bug 46783] New: erroronmissingdir not supported by
javac task
https://issues.apache.org/bugzilla/show_bug.cgi?id=46783
Summary: erroronmissingdir not supported by javac task
Product: Ant
Version: 1.7.1
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: tim.dean@earthlink.net
According to the Ant 1.7.1 documentation, the javac task "forms an implicit
FileSet and supports all attributes of <fileset> (dir becomes srcdir) as well
as the nested <include>, <exclude> and <patternset> elements."
The FileSet element has added the erroronmissingdir attribute in Ant 1.7.1, but
it does not appear to be supported by the javac task. I believe this is a bug,
and that <javac> should support this new attribute. At the very least, the
current behavior does not match the documentation.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 46783] erroronmissingdir not supported by javac
task
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46783
--- Comment #2 from Andy <du...@gatech.edu> 2009-07-23 12:53:51 PST ---
Ant Documentation 1.7.1:
<zipfileset> supports all attributes of <fileset> in addition to those listed
below.
Unfortunately, <zipfileset> doesn't support erroronmissingdir
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 46783] erroronmissingdir not supported by javac
task
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46783
--- Comment #4 from Lee Breisacher <lb...@seagullsw.com> 2011-01-12 19:57:20 EST ---
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.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 46783] erroronmissingdir not supported by javac
task
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46783
--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2009-05-07 01:54:23 PST ---
svn revision 772556 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=772556 ) fixes the manual
I haven't made up my mind on whether <javac> should support erroronmissingdir
at all.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 46783] erroronmissingdir not supported by javac
task
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46783
--- Comment #3 from Stefan Bodewig <bo...@apache.org> 2009-07-30 07:01:20 PST ---
ZipFileSet does support erroronmissingdir (it comes in inherited from
AbstractFileSet).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 46783] erroronmissingdir not supported by javac
task
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46783
Lee Breisacher <lb...@seagullsw.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lbreisacher@seagullsw.com
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.