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=10431>.
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=10431

copy task: includes vs. include

           Summary: copy task: includes vs. include
           Product: Ant
           Version: 1.5Beta3
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hmmm, usually

    <copy todir="${build}/classes" includeEmptyDirs="false">
        <fileset dir="${src}" excludes="**/*.java,**/*.html"
        includes="**/resources/**"/>
    </copy>

should do the same as 

    <copy todir="${build}/classes" includeEmptyDirs="false">
        <fileset dir="${src}"/>
           <exclude name="**/*.java,**/*.html"/>
           <include name="**/resources/**"/>
        </fileset>
    </copy>

The first one does, what I want (i.e. only include resources
directories, but do not include their *.java and *.html files), 
the second not :(

Did I misunderstand something or is this a bug ?

Regards,
jens.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to