Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Feb 2nd, 2010 | Syntax: None | Size: 0.80 KB | Hits: 31 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. plugin.xml
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. <?eclipse version="3.4"?>
  4. <plugin>
  5.    <extension-point id="actions" name="Test" schema="schema/actions.exsd"/>
  6. </plugin>
  7.  
  8. schema/actions.exsd
  9. <?xml version='1.0' encoding='UTF-8'?>
  10. <!-- Schema file written by PDE -->
  11. <schema targetNamespace="rapi4j.ui.advisor" xmlns="http://www.w3.org/2001/XMLSchema">
  12. <annotation>
  13.       <appinfo>
  14.          <meta.schema plugin="rapi4j.ui.advisor" id="actions" name="Advisor Actions"/>
  15.       </appinfo>
  16.       <documentation>
  17.          Extensions for the Connection Advisor Wizard.
  18.       </documentation>
  19.    </annotation>
  20.  
  21. PDE is complaining, "A plug-in manifest must contain at least one extension or extension point".
  22.  
  23. As soon as I change the EP id attribute to "action" it works, without changing the exsd.