I have installed several additional Ant Tasks like dev-java/ant-junit or dev-java/ant-jsch. But since the upgrade to version 1.8.4 Ant doesn't load the tasks when they are defined in a build file. Reproducible: Always Actual Results: It prints an error message that the Task cannot be found. The following log is from my Bamboo build server. But executing the build file from command line results in the same error. /var/atlassian/application-data/bamboo/xml-data/build-dir/API-DEV-DEPLOYSTAGING/bamboo.deploy.xml:53: Problem: failed to create task or type sshexec 20-Jun-2012 15:22:38 Cause: the class org.apache.tools.ant.taskdefs.optional.ssh.SSHExec was not found. 20-Jun-2012 15:22:38 This looks like one of Ant's optional components. 20-Jun-2012 15:22:38 Action: Check that the appropriate optional JAR exists in 20-Jun-2012 15:22:38 -/usr/share/ant-core/lib 20-Jun-2012 15:22:38 -/var/atlassian/application-data/bamboo/.ant/lib 20-Jun-2012 15:22:38 -a directory added on the command line with the -lib argument Expected Results: Ant should find the additional Ant Tasks. Masking all the packages found in bug report https://bugs.gentoo.org/show_bug.cgi?id=417909#c2 fixes the problem for me.
Missed a hardcoded version in the wrapper script, this caused ant to not use any optional tasks when used outside of ebuilds unless explicitly requested. Fixed in -r1, thanks for the report. *ant-core-1.8.4-r1 (21 Jun 2012) 21 Jun 2012; Ralph Sennhauser <sera@gentoo.org> +ant-core-1.8.4-r1.ebuild: Fix hardcoded version in wrapper script. #422741 @amd64,x86: Please stabilize =dev-java/ant-core-1.8.4-r1, thanks.
amd64 stable
x86 stable. Last arch, closing.