sshexec (libjsch-java) is not directly usable after installation of ant-optional
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/
to use 'sshexec' task, otherwise ant will complain of missing JAR.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ant 1.8.1-1
ProcVersionSign
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
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=id_ID.UTF-8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: ant
UpgradeStatus: No upgrade log present (probably fresh install)
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