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

Bug 314049

Summary: compiler errors in two jsf bundles
Product: [WebTools] Java Server Faces Reporter: David Williams <david_williams>
Component: CoreAssignee: Cameron Bateman <cameron.bateman>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: raghunathan.srinivasan
Version: unspecified   
Target Milestone: 3.2 RC4   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description David Williams CLA 2010-05-23 14:22:56 EDT
After recently moving up to another ide dev. env, I started getting many (hundreds) of "problem markers" due to two jsf test bundles. Missing imports, something about the @Test annotation. 

org.eclipse.jst.jsf.core.tests
org.eclipse.jst.jsf.test.util

I'm not sure why these didn't show up before, or if there are other, better fixes, but it appears the bundles _require_ JUnit 4.x. If I change the manifest.mf to prereq org.junit 4.5 (instead of 3.8) then the problem markers go away. Not sure if there's other solutions, or not. 

If they do really require junit 4.x, then the manifest.mf should accurately reflect that.
Comment 1 Cameron Bateman CLA 2010-05-25 02:35:23 EDT
The last time I tried to rev the lower bound on the JUnit requirement above 3.8 it broke the build.  I will revisit.
Comment 2 Cameron Bateman CLA 2010-05-25 18:42:58 EDT
I can't repro this locally and the build server seems ok.  Can you still reproduce?
Comment 3 David Williams CLA 2010-05-28 19:15:44 EDT
No, I don't see any longer. After "setting back" the prereq version by using "replace with ... " latest from head. 

So, not sure what the issue was/is. 

Thanks,