-
Notifications
You must be signed in to change notification settings - Fork 282
Closed
Description
The plugin shows error when I try to load a plugin project
Cannot create plugin from file (/Users/Arseniy.Pendryak/Programming/intellij-rust/deps/ideaIU-212.3116-EAP-CANDIDATE-SNAPSHOT/plugins/JavaScriptLanguage):
Invalid plugin descriptor 'plugin.xml': failed to resolve <xi:include>.
Not found document 'intellij.javascript.web.xml' referenced in <xi:include href="intellij.javascript.web.xml", xpointer="xpointer(/idea-plugin/*)"/>.
<xi:fallback> element is not provided. (at plugin.xml)
As a result, it's impossible to build plugins for 212 EAPs using gradle-intellij-plugin
Important details:
gradle-intellij-plugin0.7.3- 212 IDEA Ultimate dependency (
212.3116-EAP-CANDIDATE-SNAPSHOT) JavaScriptplugin dependency
Test project can be found here
I suppose the root of the problem is a movement of META-INF/web-platform.xml to intellij.javascript.web.xml (i.e. to top level in the corresponding jar file).
As a result, com.jetbrains.plugin.structure.intellij.plugin.IdePluginManager#createPlugin(java.nio.file.Path, boolean, java.lang.String) fails to find intellij.javascript.web.xml. Not sure, it's an issue of the platform or org.jetbrains.intellij.plugins:structure-intellij dependency
Related to #608
yorlov