Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290468 - dev-util/netbeans-6.8_beta unable to work with junit tests
Summary: dev-util/netbeans-6.8_beta unable to work with junit tests
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
Depends on:
Reported: 2009-10-25 16:18 UTC by Petteri Räty (RETIRED)
Modified: 2009-10-25 19:11 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2009-10-25 16:18:53 UTC
Trying to work with junit tests gives me:$CompletionFailure: class file for org.hamcrest.Matcher not found

betelgeuse@pena ~ $ netbeans-6.8 
>Log Session: Sunday, October 25, 2009 6:16:08 PM EET                          
>System Info:                                                                  
  Product Version         = NetBeans IDE 6.8 Beta (Build 091025)               
  Operating System        = Linux version 2.6.31-gentoo-r2 running on i386     
  Java; VM; Vendor        = 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_16-b01                        
  Java Home               = /opt/sun-jdk-                                           
  System Locale; Encoding = en_US (nb); UTF-8                                                   
  Home Directory          = /home/betelgeuse                                                    
  Current Directory       = /home/betelgeuse                                                    
  User Directory          = /home/betelgeuse/.netbeans/6.8beta                                  
  Installation            = /usr/share/netbeans-6.8/nb6.8                                       
  Boot & Ext. Classpath   = /opt/sun-jdk-                                                                                                                                                           
  Application Classpath   = /home/betelgeuse/.netbeans/6.8beta/lib/jfluid-server-15.jar:/home/betelgeuse/.netbeans/6.8beta/lib/jfluid-server-cvm.jar:/home/betelgeuse/.netbeans/6.8beta/lib/jfluid-server.jar:/home/betelgeuse/.netbeans/6.8beta/lib/locale/jfluid-server_ja.jar:/home/betelgeuse/.netbeans/6.8beta/lib/locale/jfluid-server_pt_BR.jar:/home/betelgeuse/.netbeans/6.8beta/lib/locale/jfluid-server_zh_CN.jar:/usr/share/netbeans-6.8/platform11/lib/boot.jar:/usr/share/netbeans-6.8/platform11/lib/org-openide-modules.jar:/usr/share/netbeans-6.8/platform11/lib/org-openide-util.jar:/opt/sun-jdk-     
  Startup Classpath       = /usr/share/netbeans-6.8/platform11/core/core.jar:/usr/share/netbeans-6.8/platform11/core/org-openide-filesystems.jar:/usr/share/netbeans-6.8/nb6.8/core/org-netbeans-upgrader.jar:/usr/share/netbeans-6.8/nb6.8/core/locale/core_nb.jar

<lots of output>

SEVERE [org.openide.util.Exceptions]$CompletionFailure: class file for org.hamcrest.Matcher not found
Comment 1 Miroslav Šulc gentoo-dev 2009-10-25 19:11:28 UTC
upstream uses junit-4.5 with dependencies, so their junit jar contains also some hamcrest classes which our system junit does not contain. i changed the ebuild so it uses upstream bundled junit jar. netbeans-6.8-beta-r1 fixes the problem.