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 4681] New: - War 'classes' parameter ignores the 'exclude' tag
Date Tue, 06 Nov 2001 18:05:03 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=4681>.
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=4681

War 'classes' parameter ignores the 'exclude' tag

           Summary: War 'classes' parameter ignores the 'exclude' tag
           Product: Ant
           Version: 1.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: em@etunnels.com
                CC: em@etunnels.com


Consider the simple war task definition below.
In the help it explains the nested 'classes' element specifies 
a 'FileSet',and I expected the same behaviour. Couldn't get to work 
the 'exclude' parameter as in 'FileSet' though.

<war warfile="${build.dir}/${war}" webxml="${src.root}/etc/web.xml">
  <lib dir="${build.dir}/lib" excludes="**/MyExcludedLib*,**/MyExcludedLib2*"/>
      
  <classes dir="${build.dir}/classes">
    <exclude name="com/foo/product/*.class"/>
  </classes>
</war>

Thanks,
Emil Marceta

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


Mime
View raw message