ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23820] New: - include scanner setup non-nested filesets in debug output
Date Tue, 14 Oct 2003 17:46:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23820>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23820

include scanner setup non-nested filesets in debug output

           Summary: include scanner setup non-nested filesets in debug
                    output
           Product: Ant
           Version: 1.6Beta
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: hauser@acm.org


When doing
<classes dir="${build.dir}">
	<and>
		<filename name="**/*.class"/>
		<filename name="${build.resources.include}"/>
	   <not>
	        <filename
		     name="**//control/action/abc.class"/>
	   </not>
        </and>
</classes>
I only see
<<ZipFileSet: Setup scanner in dir /myProj/WEB-INF/classes with patternSet{
includes: [] excludes: [] }>> but the scanner for the <and> and the <not>
contained therein are not visible.

========================================================
Therefore my suggestion: make also those scanners of
 "non-nested filesets" visible in the debug output too!.
========================================================

Just for comparison: in the <war> task's main body, the fileset there results in
a nicely debuggable
<<fileset: Setup scanner in dir C:\myProj with patternSet{ includes: [**/*.*]
excludes: [*.war, **/*.nbattrs, ./
WEB-INF/web.*xml, **/WEB-INF/**/*.*, **/project-files/**/*.*, source/**/*.*,
build.*, include/**/*.*, misc/**/*.*] }>>

As to be expected, bracketing the above <and> with a <fileset> results in: 
<zipfileset> type doesn't support the nested "fileset" element.

P.S.: Also, I don't really understand the error
      [war] error while reading original manifest: error in opening zip file

related RFE http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23760

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message