jsch
jar与我的项目打包在一起。因此,我没有下载它,而是将其复制到ant库中。该构建将在首次运行时失败,这对我来说很好。它会第二次成功,因为jar将在库中并在启动时加载。
<target name="jschset" description="Set the jar"> <copy file="${lib}/jsch-0.1.48.jar" tofile="${ant.home}/lib/jsch-0.1.48.jar"/></target>
jsch
jar与我的项目打包在一起。因此,我没有下载它,而是将其复制到ant库中。该构建将在首次运行时失败,这对我来说很好。它会第二次成功,因为jar将在库中并在启动时加载。
<target name="jschset" description="Set the jar"> <copy file="${lib}/jsch-0.1.48.jar" tofile="${ant.home}/lib/jsch-0.1.48.jar"/></target>