Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29972 - [apache-ant] missing scp task (jsch)

Attached to Project: Arch Linux
Opened by Nitro (nitr0) - Tuesday, 22 May 2012, 09:29 GMT
Last edited by Guillaume ALAUX (galaux) - Sunday, 10 June 2012, 13:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After upgrading last apache-ant package in my system the "scp" task doesn't work anymore. Ant complains that the corresponding class(es) are missing.

Additional info:

apache-ant 1.8.3-2

Steps to reproduce:

Upgrade apache-ant and try to run a <scp/> task.

Fix:

I downloaded the PKGBUILD and rebuilt the package on my system. It fixed the issue. After looking into /usr/share/apache-ant/lib/ant-jsch.jar packaged in the release:

META-INF/
META-INF/MANIFEST.MF
META-INF/LICENSE.txt
META-INF/NOTICE.txt

This jar is missing all the java classes.

I presume that the build machine producing the binary package had no jsch.jar installed and therefore the build process didn't include this optional task.
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Sunday, 10 June 2012, 13:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 1.8.4-1
Comment by Fredrik Hammar (hammy) - Friday, 25 May 2012, 13:06 GMT
/usr/share/java/apache-ant/ant-apache-bsf.jar is also empty in 1.8.3-2,
which affects scriptmapper and probably other tasks.

Loading...