Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345833 - org.eclipse.wst.xml.xpath2.processor.tests has mismatch of BREE and .classpath
Summary: org.eclipse.wst.xml.xpath2.processor.tests has mismatch of BREE and .classpath
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jesper Moller CLA
URL:
Whiteboard: PMC
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-14 21:13 EDT by David Williams CLA
Modified: 2011-05-17 02:48 EDT (History)
0 users

See Also:
david_williams: pmc_approved+
jesper: pmc_approved? (raghunathan.srinivasan)
jesper: pmc_approved? (naci.dai)
jesper: pmc_approved? (deboer)
jesper: pmc_approved? (neil.hauge)
jesper: pmc_approved? (kaloyan)
jesper: pmc_approved? (cbridgha)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2011-05-14 21:13:03 EDT
This bundle says 
Bundle-RequiredExecutionEnvironment: J2SE-1.5
in its manifest.mf file, which I am pretty sure is correct, since the code uses a number of "string".contains method throughout. 

But, says 1.4 in the .classpath file ... 
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>

I noticed this because I loaded up freshly, and got a LOT of compile errors, because the workspace is using .classpath value. 

And, there is a warning in manifest.mf file that says "doesn't mactch". 

I suggest the .classpath be udpated to match the manifest.mf. Was this an oversite? Was something trying to be accomplished?
Comment 1 Jesper Moller CLA 2011-05-16 04:34:02 EDT
This is an oversight, and since part of my developent happens on a Mac under Show Leopard which has no JDK1.4, this wasn't spotted by me anyway.

Should I fix+release this or does it require PMC+2 approval?



(Actually, I have prepared a patch allowing all of the tests to run under JDK 1.4, but didn't finish it in time for 3.3, so that's for later)
Comment 2 David Williams CLA 2011-05-16 10:40:26 EDT
It'd requires 1 PMC vote/review this week, and when it comes to unit test bundles, we're a little more relaxed. 

When you say "Should I fix+release this " ... if you mean fixing the .classpath file to match the BREE, then I would say yes. I would say to go ahead fix, and release, it but still "mark for PMC Review" just so there is better awareness of what's changing. (I would approve it quick, though). 

I think this important to fix since if someone "loads up the source" for our release (code or tests), it should compile cleanly! Guess it would if people didn't have a 1.4 jdk defined in their workbench, is what you are saying ... but, preferable to fix for those few like me :) that do.
Comment 3 Jesper Moller CLA 2011-05-17 02:35:48 EDT
Fixed and released as per previous comments.
Marked for PMC review.