Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335234 - Compile failure using Indigo (3.7) bundles
Summary: Compile failure using Indigo (3.7) bundles
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-24 14:03 EST by Eric Gwin CLA
Modified: 2022-06-09 10:35 EDT (History)
2 users (show)

See Also:


Attachments
Patch adds proper use of Equinox debug/trace framework. (1.42 KB, patch)
2011-01-25 11:33 EST, Shaun Smith CLA
no flags Details | Diff
Screenshot of Eclipse Run Configuration Tracing Tab (22.55 KB, image/jpeg)
2011-01-25 11:38 EST, Shaun Smith CLA
no flags Details
Patch adds proper use of Equinox debug/trace framework. (1.80 KB, patch)
2011-01-25 11:46 EST, Shaun Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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