Fail to load plugin descriptor from file *.jar
Answered
I did the steps for plugin deployment explained here :https://www.jetbrains.com/help/idea/2016.2/preparing-plugins-for-publishing.html?search=plugin and added the .jar to the /plugins folder in my IntelliJ's installation directory.
After restarting IntelliJ, I can't see my plugin in Setttings->Plugins so I try to install it from disk but after choosing the .jar I get the error message:
" Fail to load plugin descriptor from file *.jar "
Any idea on how to address this problem?
Please sign in to leave a comment.
Verify that plug-in is packaged correctly, there must be valid
META-INF/plugin.xmlfile inside the jar.The plugin.xml file is not well formed, thanks!
thanks Serge for the clue. yes I too don't find plugin file within the jar. But i'm wondering why none of the jars listed on jetbrain have plugin.xml file by default https://plugins.jetbrains.com/plugin/137-testng-j
Am I supposed to add it myself? if yes then could you/team please help on steps.
TestNG plug-in has it here:
TestNG-J_3670.zip\testngrunner\META-INF\plugin.xml
There are different ways to layout a plug-in: http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_content.html