You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Edward Ciramella <ec...@upromise.com> on 2004/04/01 22:35:39 UTC

ant scp task...

Can anyone help me?  I'm trying to use a very simple scp command via ant - below is my project file and the results.  I have the following jars in my anthome/lib directory:
 
jce1_2_2.jar
jsch-0.1.14.jar
local_policy.jar
sunjce_provider.jar
US_export_policy.jar
 
<project name="MyProject" default="dist" basedir=".">
<target name="dist">
  <scp todir="${username}:${password}@red-flash:/home/builds/">
    <fileset dir="/">
  <include name="*15.0.28.0*"/>
 </fileset>
  </scp>

</target>
</project>
 
C:\ej-testing>call ant -version
Apache Ant version 1.6.1 compiled on February 12 2004
Buildfile: scp.xml
dist:
      [scp] Connecting to red-flash:22
      [scp] java.security.NoSuchAlgorithmException: DH KeyPairGenerator not available
BUILD FAILED
C:\ej-testing\scp.xml:5: java.lang.NullPointerException