Bug 161566

Summary: [JUnit] API: container name for JUnit container
Product: [Eclipse Project] JDT Reporter: Julien Canches <julien.canches>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, markus.kell.r, paulslau
Version: 3.2Keywords: api
Target Milestone: 3.6 M6   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 301363    
Attachments:
Description Flags
Fix
none
fix daniel_megert: iplog+, daniel_megert: review+

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.