ntrib-1.0b3.jar: [taskdef] java.io.FileNotFoundException: C:\ant-contrib-1.0b3.jar (Access is denied) [taskdef] at java.util.zip.ZipFile.open(Native Method) [taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:114) [taskdef] at java.util.jar.JarFile.<init>(JarFile.java:135) [taskdef] at java.util.jar.JarFile.<init>(JarFile.java:99) [taskdef] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:1006) [taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:149) [taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.<init>(AntClassLoader.java:110) [taskdef] at org.apache.tools.ant.AntClassLoader.findResources(AntClassLoader.java:953) [taskdef] at org.apache.tools.ant.AntClassLoader.getNamedResources(AntClassLoader.java:922) [taskdef] at org.apache.tools.ant.loader.AntClassLoader5.getResources(AntClassLoader5.java:58) [taskdef] at org.apache.tools.ant.taskdefs.Definer.resourceToURLs(Definer.java:360) [taskdef] at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:246) [taskdef] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) [taskdef] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [taskdef] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [taskdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [taskdef] at java.lang.reflect.Method.invoke(Method.java:597) [taskdef] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [taskdef] at org.apache.tools.ant.Task.perform(Task.java:348) [taskdef] at org.apache.tools.ant.Target.execute(Target.java:435) [taskdef] at org.apache.tools.ant.Target.performTasks(Target.java:456) [taskdef] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) [taskdef] at org.apache.tools.ant.Project.executeTarget(Project.java:1364) [taskdef] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [taskdef] at org.apache.tools.ant.Project.executeTargets(Project.java:1248) [taskdef] at org.apache.tools.ant.Main.runBuild(Main.java:851) [taskdef] at org.apache.tools.ant.Main.startAnt(Main.java:235) [taskdef] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) [taskdef] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
How about
DEL C:\ant-contrib-1.0b3.jar
COPY %ANT_HOME%\ant-contrib-1.0b3.jar C:\ant-contrib-1.0b3.jar
That source location (%ANT_HOME%) may not be the location to find the ant-contrib jar file, but if that is not the location, I suspect you can find it elsewhere on your system, or download it again.
I thought I remembered a facility in Windows which would allow a user to copy or modify files in otherwise secured locations, without actually making those files or their changes visible to any other user. If something like that had happened in this case, then the original user who copied the file to C:\ might be able to see it while other users would not be able to see it. Unfortunately, my few minutes of google search did not find any indication that there is such a facility.
Mark Waite