Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 422741 - Ant does only found its core tasks since upgrade to dev-java/ant-1.8.4
Summary: Ant does only found its core tasks since upgrade to dev-java/ant-1.8.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: STABLE, STABLEREQ
Depends on:
Blocks:
 
Reported: 2012-06-21 08:35 UTC by Christian Kaps
Modified: 2012-06-26 08:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Kaps 2012-06-21 08:35:14 UTC
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.
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2012-06-21 15:44:57 UTC
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.
Comment 2 Agostino Sarubbo gentoo-dev 2012-06-22 11:06:46 UTC
amd64 stable
Comment 3 Jeff (JD) Horelick (RETIRED) gentoo-dev 2012-06-26 08:06:26 UTC
x86 stable. Last arch, closing.