Bug#354878: ant-optional: Cannot use "scp" target

Bastian Kleineidam calvin at users.sourceforge.net
Wed Mar 1 17:59:01 UTC 2006


Package: ant-optional
Version: 1.6.5-5
Severity: normal

Despite having ant-optional and libjsch-java installed, I still get
an error message for the "scp" task. Am I missing something here or is
this a bug in the ant installation?

$ ant
Buildfile: build.xml

all:

BUILD FAILED
/home/calvin/temp/test/build.xml:5: Could not create task or type of
type: scp.

Ant could not find the task or a class this task relies upon.
[...]

Here is the build.xml file:
<?xml version="1.0" encoding="UTF-8" ?>
<project name="test" default="all" basedir=".">
        <target name="all">
                <scp file="t.t" todir="sub" failonerror="true" />
        </target>
</project>



Regards,
  Bastian

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-ap-lnx-bastiank7
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages ant-optional depends on:
ii  ant                         1.6.5-5      Java based build tool like make
ii  gij-4.0 [java1-runtime]     4.0.2-9      The GNU Java bytecode
interpreter
ii  kaffe                       2:1.1.6.91-2 A JVM to run Java bytecode
ii  kaffe-pthreads [kaffe]      2:1.1.6.91-2 A POSIX threads enabled
version of

ant-optional recommends no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list