Summary: | Cannot add classpath variables when starting with -pluginCustomization option | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Maarten Coene <maarten_coene> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.1.2 | ||||||
Target Milestone: | 3.2 RC1 | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Maarten Coene
2006-03-14 10:03:23 EST
((IScopeContext) new InstanceScope()).getNode(JavaCore.PLUGIN_ID) doesn't contain the key "org.eclipse.jdt.core.classpathVariable.JAVA_REPOSITORY". Moving to Platform Runtime. The plug-in customization mechanism is for customizing default properties, not instance (workspace) properties. Your key/value pair should appear here: new DefaultScope().getNode(JavaCore.PLUGIN_ID) Here is a small doc that I wrote up on plug-in customization: http://www.eclipse.org/eclipse/platform-core/documents/user_settings/plugin_customization.html So there is no way to to add default classpath variables in Eclipse, which are available to all workspaces? If this is the case, could you add such functionality? thanks, Maarten When I add the value to the plugin customization file, it appears in the JDT default preferences. I do not know how the Jave -> Build Path -> Classpath Variables page/values are calculted though. Jerome? Indeed we look at instance preferences only. I'll see what can be done here. Created attachment 37730 [details]
Proposed patch and regression test
+1 for 3.2RC1 Released patch and regression test Verified for 3.2 RC1 using build I20060413-0010. |