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

Bug 335234

Summary: Compile failure using Indigo (3.7) bundles
Product: z_Archived Reporter: Eric Gwin <eric.gwin>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: shaun.smith, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch adds proper use of Equinox debug/trace framework.
none
Screenshot of Eclipse Run Configuration Tracing Tab
none
Patch adds proper use of Equinox debug/trace framework. none

Description Eric Gwin CLA 2011-01-24 14:03:02 EST
If the target platform is set to use 3.7 compilation for the org.eclipse.persistence.jpa.equinox.weaving bundle fails on class org.eclipse.persistence.jpa.equinox.weaving.WeavingConfigurator
with an error:

Description	Resource	Path	Location	Type
DEBUG cannot be resolved or is not a field	WeavingConfigurator.java	/org.eclipse.persistence.jpa.equinox.weaving/src/org/eclipse/persistence/jpa/equinox/weaving	line 25	Java Problem

Changing the target platform to 3.6 versions only resolves the issue. 

2.3 will be compiled against Indigo, so this will need to be fixed.
Comment 1 Shaun Smith CLA 2011-01-25 11:33:40 EST
Created attachment 187535 [details]
Patch adds proper use of Equinox debug/trace framework.
Comment 2 Shaun Smith CLA 2011-01-25 11:38:11 EST
Created attachment 187537 [details]
Screenshot of Eclipse Run Configuration Tracing Tab
Comment 3 Shaun Smith CLA 2011-01-25 11:39:13 EST
Caused by removal of "dead" (although public) code in Bug 319399 - Strip out dead code associated with Debug.debug.

We weren't logging properly anyway which is now resolved.  Debugging can now be enabled via the "Tracing" tab on an OSGi Run Configuration in Eclipse.  See https://bugs.eclipse.org/bugs/attachment.cgi?id=187537.
Comment 4 Shaun Smith CLA 2011-01-25 11:46:03 EST
Created attachment 187539 [details]
Patch adds proper use of Equinox debug/trace framework.

Added .options file to patch.
Comment 5 Shaun Smith CLA 2011-01-25 11:58:08 EST
Patch committed in SVN TX 8880.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:35:45 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink