ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49341] New: Copy of largish files across network using ant copy gives insufficient system resources error
Date Wed, 26 May 2010 09:17:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49341

           Summary: Copy of largish files across network using ant copy
                    gives insufficient system resources error
           Product: Ant
           Version: 1.8.1
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: sue.pharoah@aquilauk.co.uk


I can copy smallish files ( e.g. 20M )using this snippet which copies a single
file from one machine to another but cannot copy a file of 90M. I can copy this
file using the Windows copy command however without any problems.
i.e. copy my.zip \\myhost\mydir

      <target name="test" description="publish file">
           <property name="myhost" value="\\myhost"/>
           <property name="mydir" value="mydir"/>
           <property name="todirectory" value="${myhost}\${mydir}"/>
       <echo message="copying  to ${todirectory}"/>
       <mkdir dir="${todirectory}"/>
       <copy file="my.zip" todir="${todirectory}"/>
       </target>

The error was failed to copy my.zip to \\myhost\mydir due to Insufficient
system resources exist to complete the requested service.

The exact same script worked fine in ant 1.7.0.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message