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 20003] New: - <fileset>/<patternset> or manual broken...
Date Sat, 17 May 2003 14:19:12 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=20003>.
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=20003

<fileset>/<patternset> or manual broken...

           Summary: <fileset>/<patternset> or manual broken...
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: trash@code-sourcery.de


Hi,

When trying to run the <copy> task with the following <fileset>

---------------SNIP-----------------------
        <fileset dir="${resin.webapps}/somedir">
                <patternset>
                        <include name="*.jsp"/>
                        <include name="*.html"/>
                        <include name="*.css"/>
                        <include name="**/images/*"/>
                        <include name="**/usermanagement/*"/>
                        <include name="**/planning/*"/>
                        <include name="**/messaging/*">
                        <include name="*/admin/*"/>
                </patternset>
        </fileset>
-----------SNAP-------------------

I get the error

Class org.apache.tools.ant.types.PatternSet$NameEntry doesn't support the nested
"include" element.

According to your documentation on <fileset>/<patternset>, the above should work
(if I'm not mistaken...).

I'm trying to run this on an x86, SuSE Linux 8.1, SUN Java "1.4.1_01" ...

Mime
View raw message