First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 51099
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Keith Burch <codemaestro@adelphia.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
new-commons-cli-1.0-gentoo.diff updated patch file with additional changes to fix the build.xlm patch Keith Burch 2004-05-15 05:26 0000 4.30 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 51099 depends on: Show dependency tree
Bug 51099 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-14 16:15 0000
During the emerge of dev-java/commons-cli the compilation of the unit tests
fail due to a missing classpath directive.  Looking at the patch wich is
applied for the commons-cli build.xml file, it was missing the changes applied
for the classpath during the compile-test target.

Reproducible: Always
Steps to Reproduce:
1. include junit in the USE flags
2. emerge dev-java/commons-cli
3. test target fails during the build

Actual Results:  
I lost the output which was generated when looking for a fix



Expected Results:  
completed the unit tests successfully

------- Comment #1 From Keith Burch 2004-05-15 05:26:04 0000 -------
Created an attachment (id=31467) [edit]
updated patch file with additional changes to fix the build.xlm

Created a new patch file with the additional changes necessary to prevent the
test -compile target from failing.  I made the same type of changes as already
present elsewhere in the current patch file.

------- Comment #2 From Chris Aniszczyk (RETIRED) 2004-05-18 19:27:50 0000 -------
Thanks for the quick fix, it's in portage now.

Cheers

------- Comment #3 From Fong Chih 2004-07-10 22:59:44 0000 -------
When trying to emerge commons-cli-1.0-r4 with junit-3.8.1 and ant-1.5.4-r1, I
still get the error.

BUILD FAILED
file:/var/tmp/portage/commons-cli-1.0-r4/work/commons-cli-1.0/build.xml:54:
Could not create task or type of type: junit.

------- Comment #4 From Matt McKenzie 2004-07-16 19:42:16 0000 -------
Solution: re-emerge dev-java/ant. I had the exact same problem -

BUILD FAILED
file:/var/tmp/portage/commons-cli-1.0-r4/work/commons-cli-1.0/build.xml:54: Could not create task or type of type: junit.

For some reason dev-java/ant didn't have support built in for junit. Re-emerging dev-java/ant fixed it. The junit tests now run fine and commons-cli installs.

First Last Prev Next    No search results available      Search page      Enter new bug