Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 280951 - [JUnit] unable to add JUnit library to build path on Linux
Summary: [JUnit] unable to add JUnit library to build path on Linux
Status: RESOLVED DUPLICATE of bug 276111
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-19 16:28 EDT by Joel Bartley CLA
Modified: 2009-06-20 02:27 EDT (History)
2 users (show)

See Also:


Attachments
Shows problem on Linux (25.67 KB, image/png)
2009-06-19 16:28 EDT, Joel Bartley CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***