Bug 161566 - [JUnit] API: container name for JUnit container
Summary: [JUnit] API: container name for JUnit container
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 3.6 M6   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks: 301363
  Show dependency tree
 
Reported: 2006-10-19 10:01 EDT by Julien Canches CLA
Modified: 2010-03-03 08:00 EST (History)
3 users (show)

See Also:


Attachments
Fix (9.62 KB, patch)
2010-03-02 15:58 EST, Markus Keller CLA
no flags Details | Diff
fix (5.56 KB, patch)
2010-03-02 23:59 EST, Deepak Azad CLA
daniel_megert: iplog+
daniel_megert: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Canches CLA 2006-10-19 10:01:30 EDT
When I generate code that has JUnit as a requirement, I used to add a JUNIT_HOME/junit.jar entry to the project classpath.
Now that a JUnit container is available, I would need instead to add the JUnit container entry to the classpath. This enhancement request is about making the this container path publicly available, to allow plugins to add this container to a project classpath.
(Typically, publishing the contants org.eclipse.jdt.internal.junit.buildpathJUnitContainerInitializer.JUNIT?_PATH would do the trick).
Comment 1 Jerome Lanneluc CLA 2006-10-19 10:08:28 EDT
Moving to JDT UI
Comment 2 Paul Slauenwhite CLA 2010-01-29 11:47:10 EST
Any update on the request?
Comment 3 Markus Keller CLA 2010-01-29 20:01:08 EST
I'll do this for 3.6.
Comment 4 Paul Slauenwhite CLA 2010-01-31 14:42:33 EST
(In reply to comment #3)
> I'll do this for 3.6.

Thanks.
Comment 5 Markus Keller CLA 2010-03-02 15:58:13 EST
Created attachment 160686 [details]
Fix
Comment 6 Markus Keller CLA 2010-03-02 16:05:29 EST
Fixed in HEAD.
Comment 7 Deepak Azad CLA 2010-03-02 23:59:45 EST
Created attachment 160730 [details]
fix

The previous patch leaves some compile errors in o.e.jdt.ui.tests. This patch should solve the problem.
Comment 8 Dani Megert CLA 2010-03-03 03:23:20 EST
Comment on attachment 160730 [details]
fix

Thanks Deepak.
Comment 9 Markus Keller CLA 2010-03-03 08:00:55 EST
Forgot to tell: The new constants are in org.eclipse.jdt.junit.JUnitCore.