Passing to -Xplugin the value `C:\Programs Files\plugins\aplugin.jar C:\Programs Files\plugins\bplugin.jar` does not result in `aplugin` and `bplugin` to be loaded. The reason is pretty simple, the path is incorrectly parsed because of whitespaces.
The technical reason is that -Xplugin is backed by a MultiStringSetting (why it is not a StringSetting, just like -Xpluginsdir?). MultiStringSetting are splitted at whitespaces occurrences.
The proposed solution is to change MultiStringSetting#tryToSetFromPropertyValue (which is stated to be used only by the Eclipse SDT) implementation from:
/** Attempt to set from a properties file style property value.
* Currently used by Eclipse SDT only.
override def tryToSetFromPropertyValue(s: String) = tryToSet(s.trim.split('" +").toList)
i.e., splitting at whitespaces. To
override def tryToSetFromPropertyValue(s: String) = tryToSet(s.trim.split(',').toList)
i.e., splitting at commas.
Further, I'm quite convinced that the current implementation never worked, as splitting at `C:\Programs Files\plugins\aplugin.jar C:\Programs Files\plugins\bplugin.jar` whitespace will always result in a total mess, no matter how you escape it.
No file chosen
You have an empty file field. Please select or remove it.
Drop the files anywhere in this page to upload them as attachments.