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

Bug 54726

Summary: Fix schema reference in launch shortcut extension
Product: [Eclipse Project] Platform Reporter: Chris Tilt <chris>
Component: DebugAssignee: Darin Swanson <Darin_Swanson>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: darin.eclipse, dirk_baeumer
Version: 3.0   
Target Milestone: 3.0 M9   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 51981    
Bug Blocks:    

Description Chris Tilt CLA 2004-03-12 18:25:50 EST
The launch shortcut extension now uses XML expression language to describe
enablement of contextual launch menu additions. The <enablement> element schema
is described by core.expressions and we should reference that from debug/ui so
that instances will validate.
Comment 1 Chris Tilt CLA 2004-03-15 17:19:46 EST
Dirk, what do I need to do to reference your schema fragments?
Thanks, Chris
Comment 2 Dirk Baeumer CLA 2004-03-16 03:27:38 EST
This is currently not possible. I am waiting for a fix from PDE (see bug 
51981).
Comment 3 Darin Wright CLA 2004-04-07 17:43:01 EDT
PDE added support to include schemas accross plug/in boundaries. So the debug 
extension points using the
expression language could make use of this feature via:

   <include 
schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage
.mxsd"/>
Comment 4 Jared Burns CLA 2004-04-19 17:54:51 EDT
From your last comment, Darin, I gather that you know where this element belongs? I couldn't find 
anything in the ISV doc and tried pasting it all over the place with no effect. :-/ Where should it go?
Comment 5 Dirk Baeumer CLA 2004-04-20 04:05:04 EDT
Jared, it goes into the concrete schema file. You might want to look at the 
schemas in ltk.core.
Comment 6 Jared Burns CLA 2004-04-20 18:37:58 EDT
I reopened the bug that blocks this one. The <include> element didn't work when I tried it. Then I 
noticed that it doesn't work for refactoring either.
Comment 7 Dirk Baeumer CLA 2004-04-21 03:52:17 EDT
Jared,

the only warnigs I see are for the XML element <contextualLaunch>. All the 
refactoring extensios are fine in jdt.debug.ui. Am I missing something ? I am 
still using 200404131323
Comment 8 Jared Burns CLA 2004-04-21 11:33:52 EDT
I see the same warnings on the refactoring and contextual launch extensions. Do 
you know if there's any voodoo required to make sure PDE's honoring the 
<include> tag from the schema? Some options that need to be set, the right 
plugins checked out as source, an action that needs to be run, etc.?
Comment 9 Dirk Baeumer CLA 2004-04-21 12:06:44 EDT
You need to use the correct version of Eclipse for developement. I use 
I20040420.
Comment 10 Jared Burns CLA 2004-04-21 12:54:26 EDT
Same here. :-/ I'm on Linux-GTK, but I can't imagine that making a difference.
Comment 11 Jared Burns CLA 2004-04-29 17:07:32 EDT
Fixed in org.eclipse.debug.ui/schema/launchShortcuts.exsd. There are still two warnings that 
show up in the JDT Debug UI plugin.xml. I've filed bug 60508 against PDE UI to address this issue.

Please verify, DarinS.
Comment 12 Darin Swanson CLA 2004-05-03 00:28:12 EDT
Verified.