You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/05/17 16:19:12 UTC

DO NOT REPLY [Bug 20003] New: - / or manual broken...

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" ...