ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rhino" <rhi...@sympatico.ca>
Subject FTP task crashes - why?
Date Sat, 17 Dec 2005 23:56:08 GMT
I am getting this crash in the middle of an FTP task; it is trying to copy a 
directory containing 50 or 60 files in a variety of subdirectories from my 
PC to a remote server:

fileset: Setup scanner in dir 
E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\javadoc with 
patternSet{ includes: [] excludes: [] }

[ftp] transferring 
E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\javadoc\allclasses-frame.html

[ftp] File 
E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\javadoc\allclasses-frame.html 
copied to www3.sympatico.ca

[ftp] transferring 
E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\javadoc\allclasses-noframe.html

[ftp] File 
E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\javadoc\allclasses-noframe.html 
copied to www3.sympatico.ca

[ftp] transferring 
E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\javadoc\ca\maximal\common\Palette.html

[ftp] creating remote directory ca

[ftp] creating remote directory ca/maximal

[ftp] creating remote directory ca/maximal/common

[ftp] File 
E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\javadoc\ca\maximal\common\Palette.html

copied to www3.sympatico.ca

[ftp] transferring 
E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\javadoc\ca\maximal\common\StringFormatter.html

[ftp] disconnecting

[antcall] Exiting 
E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\xml\build.xml.

BUILD FAILED

E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\xml\build.xml:304: The 
following error occurred while executing this line:

E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\xml\build.xml:368: error 
during FTP transfer: org.apache.commons.net.io.CopyStreamException: 
IOException caught while copying.

at 
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)

at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)

at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)

at 
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)

at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)

at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

Caused by: 
E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\xml\build.xml:368: error 
during FTP transfer: org.apache.commons.net.io.CopyStreamException: 
IOException caught while copying.

at org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)

at 
org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)

at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)

... 12 more

--- Nested Exception ---

E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\xml\build.xml:368: error 
during FTP transfer: org.apache.commons.net.io.CopyStreamException: 
IOException caught while copying.

at org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2014)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)

at 
org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)

at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)

at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)

at 
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)

at org.apache.tools.ant.Project.executeTargets(Project.java:1068)

at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)

at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

It looks like it got as far as the fourth file in the directory, although it 
doesn't seem to be transferring the files in any obvious order. I don't see 
anything that tells me explicitly what the nature of the IOException is - 
directory full? corrupted file? etc? - so I'm not sure how to figure out 
what to fix.

How do I determine what the problem is?

Rhino



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.1/206 - Release Date: 16/12/2005


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message