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 2002/07/03 05:16:29 UTC
DO NOT REPLY [Bug 10431] New: -
copy task: includes vs. include
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: ant-dev@jakarta.apache.org
ReportedBy: elkner@linofee.org
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>