Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338185 - Core Resource Variable Resolvers that do not specify the 'class' attribute are not displayed
Summary: Core Resource Variable Resolvers that do not specify the 'class' attribute ar...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.6.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.8 M5   Edit
Assignee: Serge Beauchamp CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 04:14 EST by Serge Beauchamp CLA
Modified: 2012-01-19 14:17 EST (History)
1 user (show)

See Also:
serge: review? (Szymon.Brandys)


Attachments
patch (3.20 KB, patch)
2011-02-25 07:18 EST, Serge Beauchamp CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Serge Beauchamp CLA 2011-02-25 04:14:37 EST
Core Resource Variable Resolvers that do not specify the optional 'class' attribute are not displayed, and a stack trace is shown to the console.
Comment 1 Serge Beauchamp CLA 2011-02-25 04:17:13 EST
For example, the following ext point does not work:

 <extension
         point="org.eclipse.core.resources.variableResolvers">
      <variableResolver
            variable="PLUGINS"
            value="${ECLIPSE_HOME}/plugins">
      </variableResolver>
   </extension>
Comment 2 Serge Beauchamp CLA 2011-02-25 07:18:32 EST
Created attachment 189789 [details]
patch

Here's a patch including a regression test
Comment 3 Serge Beauchamp CLA 2011-02-25 07:20:29 EST
Szymon, can you review this path please?
Comment 4 Serge Beauchamp CLA 2011-12-01 11:08:22 EST
setting target to 3.8M5
Comment 5 Serge Beauchamp CLA 2012-01-19 14:17:53 EST
Now committed to git's repository, in main.  Should this bug be committed to another branch?