Is there a way to specify the location of a local jsch.jar from within build.xml?
问题 build.xml contains <scp> and <sshexec> tasks, so I provide jsch.jar and other libraries in the same directory together with build.xml. The following taskdef: <taskdef name="scp" classname="org.apache.tools.ant.taskdefs.optional.ssh.Scp" classpath="WebContent/WEB-INF/lib/jsch-0.1.43.jar" /> throws an error A class needed by class org.apache.tools.ant.taskdefs.optional.ssh.Scp cannot be found: com/jcraft/jsch/UserInfo I cannot modify the standard Ant installation (e.g. put jsch.jar in ant lib