Bug 434919 - Adding JDKs with org.eclipse.jdt.launching.PREF_VM_XML during startup pluginCustomization does not work anymore
Summary: Adding JDKs with org.eclipse.jdt.launching.PREF_VM_XML during startup pluginC...
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: core
Depends on:
Blocks:
 
Reported: 2014-05-15 01:43 EDT by Ivan Belis CLA
Modified: 2020-02-03 17:12 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Belis CLA 2014-05-15 01:43:26 EDT

    
Comment 1 Ivan Belis CLA 2014-05-15 01:54:44 EDT
In the eclipse.ini we use the pluginCustomization option to customize multiple plugins with a configuration file.

In the 3.6 version of eclipse we could automaticly install multiple java SDK's using the org.eclipse.jdt.launching.PREF_VM_XML option.

In the 4.3.2 version of Eclipse this no longer works.

A workaround is to exporting and importing the SDK's using the export preferences.

This is an example of our config file:

org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1399981765521">\r\n<vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\r\n<vm id\="1399981765521" name\="jrockit-jdk1.6.0_29-R28.2.2-4.1.0" path\="C\:\\Program Files\\Java\\jrockit-jdk1.6.0_29-R28.2.2-4.1.0"/>\r\n</vmType>\r\n</vmSettings>\r\n
Comment 2 Srikanth Sankaran CLA 2014-07-17 04:22:17 EDT
Pass to JDT/Debug for comment.
Comment 3 Julius Schwartzenberg CLA 2015-02-25 04:54:33 EST
This seems to be related to this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=459864

As far as I can see, the pluginCustomization option is broken for anything but the most simple preferences.
Comment 4 Eclipse Genie CLA 2020-02-03 17:12:13 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.