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

COPY task on Win NT across Network drive fails

           Summary: COPY task on Win NT across Network drive fails
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When you use an empty <copy> task with todir and file attrbutes and the todir
folder is on a Mapped drive on another windows system, but the copy is initiated
from an NT system, the copy fails with no errors or warnings.

For example:
<copy file="c:/temp/local.jar" todir="M:/test"/>
Where M is a mapped drive to another Windows system.

The above task will report no errors or warnings, but will also not run.
If you modify this slightly:
<copy todir="M:/test">
  <fileset dir="c:/temp">
    <include name="local.jar"/>
  </filest>
</copy>

The modified version works.

I can work with the modified version, it just gets to be a pain because the
error only happens when you initiate the copy from a Windows NT system and we
have many because we need to validate that the software works on NT for our
customers.  The same copy that failed above on NT will work on Windows 2000 and
XP (haven't tested on other platforms)

Thanks,
Rey

Reply via email to