Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 280951

Summary: [JUnit] unable to add JUnit library to build path on Linux
Product: [Eclipse Project] JDT Reporter: Joel Bartley <bartleyj>
Component: UIAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, Olivier_Thomann
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Shows problem on Linux none

Description Joel Bartley CLA 2009-06-19 16:28:20 EDT
Created attachment 139663 [details]
Shows problem on Linux

Using Eclipse 3.5 RC4, I created a java project and tried to add the JUnit library container the java build path of the project's preferences.  In the dialog I was presented with 2 options: JUnit 3 and JUnit 4.  What I saw ( also see attachment ) was

Current Location: Not found
Source Location: Not found

My primary platform is Linux, so I thought to try it on Windows and there I saw what I expected

Current Location: <the path to the junit bundle's jar>
Source Location: Not found

In both cases, I used the the "Eclipse IDE for Java EE Developers" packages.  I also tried the "Eclipse IDE for Java Developers" package as well just as a sanity check.

In searching bugzilla, the closest hit I could find was bug 274041 but it doesn't apply to my case as I have no spaces in my eclipse install directory (/opt/eclipse/eclipse-3.5RC4 ) nor in my workspace directory ( ~/local/workspaces/eclipse-3.5/test ) and in any case, I'm using a build that contains the fix for that bug.
Comment 1 Olivier Thomann CLA 2009-06-19 19:29:25 EDT
Moving to JDT/UI
Comment 2 Dani Megert CLA 2009-06-20 02:26:28 EDT

*** This bug has been marked as a duplicate of bug 276111 ***