Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 294196 - Junit plugin test launcher creates incorrect dev file
Summary: Junit plugin test launcher creates incorrect dev file
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 3.6 M4   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 294211
Blocks:
  Show dependency tree
 
Reported: 2009-11-04 08:38 EST by Paul Webster CLA
Modified: 2009-11-19 11:51 EST (History)
2 users (show)

See Also:


Attachments
patch (1.95 KB, patch)
2009-11-19 11:51 EST, Darin Wright CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2009-11-04 08:38:42 EST
Build I20091029-0840

I'm launch a junit plugin test for tests+plugin that have a BREE of 1.4 with a 1.4 JVM.

We have a 1.5 fragment.  When I validate plugins it correctly says that the fragment will not be included.

But when it launches, it fails with 
java.lang.UnsupportedClassVersionError: org/eclipse/e4/core/services/internal/annotations/AnnotationsSupport (Unsupported major.minor version 49.0)

When I look at the dev file, it contains this, which is incorrect for this launch configuration.

org.eclipse.e4.core.services=/opt/pwebster/workspaces/e4/org.eclipse.e4.core.services.annotations/bin,bin

It's still inserting the 1.5 fragment bin into the classpath. I would imagine this problem would effect regular Eclipse Application launches as well.

PW
Comment 1 Oleg Besedin CLA 2009-11-04 10:58:29 EST
See the example in the bug 294211.
Comment 2 Darin Wright CLA 2009-11-19 11:51:10 EST
Created attachment 152604 [details]
patch

Corresponding PDE patch for fix to bug 294211 in Equinox.
Comment 3 Darin Wright CLA 2009-11-19 11:51:38 EST
Released to HEAD.