Hi everyone, I have a gradle script which uploads files via SSH as suggested in http://mrhaki.blogspot.com/2009/12/gradle-goodness-using-optional-ant-task.html. My code is exactly the same as the one there, except for username, host, password info. I am also declaring newer versions of ant-jsch and jsch. (However, I tried with the same ones as mentioned in that web page and the problem persists).
This works perfectly in 1.0-milestone-1 and 1.0-milestone-2, but in 1.0-milestone-3 it fails with: * What went wrong: Execution failed for task ':backofficeWeb:uploadArtifacts'. Cause: taskdef A class needed by class org.apache.tools.ant.taskdefs.optional.ssh.Scp cannot be found: com/jcraft/jsch/Logger using the classloader AntClassLoader[C:\Users\rpiaggio\.gradle\cache\org.apache.ant\ant-jsch\jars\ant-jsch-1.8.2.jar;C:\Users\rpiaggio\.gradle\cache\com.jcraft\jsch\jars\jsch-0.1.42.jar;C:\Users\rpiaggio\.gradle\cache\org.apache.ant\ant\jars\ant-1.8.2.jar;C:\Users\rpiaggio\.gradle\cache\org.apache.ant\ant-launcher\jars\ant-launcher-1.8.2.jar] Cause: com/jcraft/jsch/Logger Cause: com.jcraft.jsch.Logger Which is confusing, since com.jcraft.jsch.Logger is actually in jsch-0.1.42.jar, which is in the classpath. Is this a gradle bug or am I missing something? Thank you! -- View this message in context: http://gradle.1045684.n5.nabble.com/Cannot-get-ant-task-with-external-dependendencies-to-work-in-1-0-milestone-3-tp4442545p4442545.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
