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

Copy task does not copy empty directories

           Summary: Copy task does not copy empty directories
           Product: Ant
           Version: 1.6Beta
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The Ant copy task doesn't copy empty subdirectories, despite regardless of the 
value of the includeEmptyDirs attribute.  Here's a test build file.

<?xml version="1.0"?>
<project name="CopyTest" default="copyTest" basedir=".">
    <target name="copyTest" depends="">
        <mkdir dir="target"/>
        <mkdir dir="source"/>
        <mkdir dir="source/empty"/>
        <echo file="source/readme.txt">
            Copying Empty Directories doesn't Work
        </echo>
        <copy todir="target" overwrite="false" verbose="true" flatten="false" 
includeEmptyDirs="true">
            <fileset dir="source" includes="**/*.*"/>
        </copy>
    </target>
</project>

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

Reply via email to