sshexec (libjsch-java) is not directly usable after installation of ant-optional

Bug #811137 reported by Hendy Irawan
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ant (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Even if ant-optional and libjsch-java packages have been installed, I still need to do:

sudo ln -s /usr/share/java/jsch.jar /usr/share/ant/lib/

to use 'sshexec' task, otherwise ant will complain of missing JAR.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ant 1.8.1-1
ProcVersionSignature: Ubuntu 2.6.38-10.44+kamal~mjgbacklight4-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
Architecture: amd64
Date: Fri Jul 15 23:26:49 2011
Dependencies:
 libjaxp1.3-java 1.3.05-1ubuntu1
 libxerces2-java 2.9.1-4.1ubuntu2
InstallationMedia: Pinguy OS 11.04 64-Bit - Release amd64
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=id_ID.UTF-8
 LC_MESSAGES=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ant
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Carlos Correia (carlos-m16e) wrote :

I can also confirm this bug. It happens with both versions of Ant (1.8.1 and 1.7.1) in Natty.

I had to remove jsch.jar from /usr/share/ant/lib and make a symlink to /usr/share/java/jsch.jar:

cd /usr/share/ant/lib
rm ant-jsch.jar
ln -s ../../java/jsch.jar ant-jsch.jar

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ant (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.