Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2376 - Using JUnit with Ant
Summary: Using JUnit with Ant
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
: 2441 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-03 02:04 UTC by Thomas L. Bevan
Modified: 2002-07-18 20:23 UTC (History)
1 user (show)

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 Thomas L. Bevan 2002-05-03 02:04:58 UTC
JUnit specific tasks cannot be used with ANT  
even though both packages are installed.  
Normally, JUnit could be run from ANT by placing  
a copy of the jar into the ANT ext directory.  
However, this doesn't exist in the Gentoo disto!  
 
Could the ant run script be modified to rectify this?
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-05-08 18:37:46 UTC
*** Bug 2441 has been marked as a duplicate of this bug. ***
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-06-19 09:30:30 UTC
Send me the smallest tarball of files that exhibit this problem, and I will fix it.
Comment 3 Ryan Shaw 2002-07-17 01:46:44 UTC
the junit tasks seem to be missing from the optional.jar in the ant package.
do: jar -tvf optional.jar and you will see only the empty directory.
Comment 4 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-07-18 20:23:31 UTC
I followed the JUnit installation instructions, but as I don't have any projects
handy which use junit, I could not test it.

Please merge junit-3.7-r1 and test. If it doesn't work, reopen this bug and
attach a small sample project (or point me to one) that exhibits the bug in action.