ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12999] - failonerror does not work on Copy task
Date Wed, 25 Sep 2002 18:42:04 GMT
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=12999>.
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=12999

failonerror does not work on Copy task





------- Additional Comments From cmcfarland@onebox.com  2002-09-25 18:42 -------
Here is the error output for copying just one file to the same restricted 
directory structure. At least the stacktrace states "Access Denied", which is 
more straightforward than the original stacktrace I sent you.

     [copy] Copying 1 file to \\Twcsrv13\rdata\Inet_Global\Standards & 
Templates\GASS\Builds
     [copy] Copying C:\ChrisFiles\projects\twc\GASS\antbuild\versions\GASS-
1.8.5.1.jar to \\Twcsrv13\rdata\Inet_Global\Standards & 
Templates\GASS\Builds\GASS.jar

BUILD FAILED
file:C:/ChrisFiles/projects/twc/GASS/antbuild/build.xml:319: Failed to copy 
C:\ChrisFiles\projects\twc\GASS\antbuild\versions\GASS-1.8.5.1.jar to \\Twcsrv13
\rdata\Inet_Global\Standards & Templates\GASS\Builds\GASS.jar due to \\Twcsrv13
\rdata\Inet_Global\Standards & Templates\GASS\Builds\GASS.jar (Access is denied)
	at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:534)
	at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:368)
	at org.apache.tools.ant.Task.perform(Task.java:317)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:334)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
	at org.apache.tools.ant.Main.runBuild(Main.java:610)
	at org.apache.tools.ant.Main.start(Main.java:196)
	at org.apache.tools.ant.Main.main(Main.java:235)
--- Nested Exception ---
java.io.FileNotFoundException: \\Twcsrv13\rdata\Inet_Global\Standards & 
Templates\GASS\Builds\GASS.jar (Access is denied)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
	at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:395)
	at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:225)
	at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:527)
	at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:368)
	at org.apache.tools.ant.Task.perform(Task.java:317)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:334)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
	at org.apache.tools.ant.Main.runBuild(Main.java:610)
	at org.apache.tools.ant.Main.start(Main.java:196)
	at org.apache.tools.ant.Main.main(Main.java:235)

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message