Unable to deploy plugin via plugin.xml
Posted: Tue Jan 20, 2015 5:22 pm
Hello,
I want to develop a series of plugins for the XML Author IDE. I am following the project samples provided by the oxygen SDK, and trying to deploy one of the test projects. After setting up Maven in Eclipse, I was able to build the oxygen-sample-pluging-uppercase sample. Following the user guide http://www.oxygenxml.com/doc/ug-editor/ ... lugin.html which describes how to create the plugin.xml file, I placed the following files in a folder in the plugins folder of oxygen.
Oxygen
|->plugins
|-->uppercase
|--->plugin.xml
|---->lib
|----->oxygen-sample-plugin-uppercase-0.0.1-SNAPSHOT.jar
|----->oxygen-sample-plugin-uppercase-0.0.1-SNAPSHOT-plugin.jar
Where plugin.xml contains the following code,
When I restart oxygen and go to Help, Manage Add-ons, and select the plugin.xml file I get the following error:
As far as I can tell I have correctly followed the instructions from the user guide, what might be the issue? Thank you for all your help.
Sincerely,
Dirk Dubois
I want to develop a series of plugins for the XML Author IDE. I am following the project samples provided by the oxygen SDK, and trying to deploy one of the test projects. After setting up Maven in Eclipse, I was able to build the oxygen-sample-pluging-uppercase sample. Following the user guide http://www.oxygenxml.com/doc/ug-editor/ ... lugin.html which describes how to create the plugin.xml file, I placed the following files in a folder in the plugins folder of oxygen.
Oxygen
|->plugins
|-->uppercase
|--->plugin.xml
|---->lib
|----->oxygen-sample-plugin-uppercase-0.0.1-SNAPSHOT.jar
|----->oxygen-sample-plugin-uppercase-0.0.1-SNAPSHOT-plugin.jar
Where plugin.xml contains the following code,
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!-- The plugin.dtd file is located in the OXYGEN_INSATALL_DIR/plugins directory -->
<!DOCTYPE plugin SYSTEM "../plugin.dtd">
<plugin
id="com.oxygenxml.plugin.UpperCase"
name="UpperCase"
description="Convert the selection to uppercase"
version="1.0.0"
vendor="SyncRO"
class="myGroup.mySample.uppercase.UppercasePlugin"
classLoaderType="preferReferencedResources">
<runtime>
<library name="lib/oxygen-sample-plugin-uppercase-0.0.1-SNAPSHOT.jar"/>
</runtime>
<extension type="selectionProcessor"
class="myGroup.mySample.uppercase.UppercasePluginExtension"/>
</plugin>
Code: Select all
System ID: C:\Program Files\Oxygen XML Editor 16\plugins\uppercase\plugin.xml
Severity: error
Description: Invalid update site. Cause: cvc-elt.1.a: Cannot find the declaration of element 'plugin'.
Sincerely,
Dirk Dubois