2002-07-17 16:51:05 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<plugin
|
|
|
|
id="net.sourceforge.pmd.eclipse"
|
2003-03-17 23:24:00 +00:00
|
|
|
name="%plugin.name"
|
2003-03-27 22:17:16 +00:00
|
|
|
version="0.5.1"
|
2003-03-17 23:24:00 +00:00
|
|
|
provider-name="%plugin.provider"
|
2002-07-17 16:51:05 +00:00
|
|
|
class="net.sourceforge.pmd.eclipse.PMDPlugin">
|
|
|
|
|
|
|
|
<runtime>
|
|
|
|
<library name="pmd-eclipse.jar">
|
|
|
|
<export name="*"/>
|
|
|
|
</library>
|
2003-03-17 23:24:00 +00:00
|
|
|
<library name="lib/pmd-1.03.jar"/>
|
2002-07-17 16:51:05 +00:00
|
|
|
</runtime>
|
|
|
|
<requires>
|
|
|
|
<import plugin="org.eclipse.core.resources"/>
|
|
|
|
<import plugin="org.eclipse.ui"/>
|
|
|
|
<import plugin="org.apache.xerces"/>
|
2002-08-23 00:57:29 +00:00
|
|
|
<import plugin="org.eclipse.swt"/>
|
2003-03-17 23:24:00 +00:00
|
|
|
<import plugin="org.eclipse.jdt.core"/>
|
2002-07-17 16:51:05 +00:00
|
|
|
</requires>
|
|
|
|
|
|
|
|
|
|
|
|
<extension
|
2003-03-17 23:24:00 +00:00
|
|
|
id="pmdPreferencePages"
|
|
|
|
name="PMDPreferencePages"
|
2002-07-17 16:51:05 +00:00
|
|
|
point="org.eclipse.ui.preferencePages">
|
|
|
|
<page
|
2003-03-17 23:24:00 +00:00
|
|
|
name="%preferences.pmd"
|
2002-08-13 22:55:03 +00:00
|
|
|
class="net.sourceforge.pmd.eclipse.preferences.GeneralPreferencesPage"
|
2003-03-17 23:24:00 +00:00
|
|
|
id="net.sourceforge.pmd.eclipse.preferences.generalPreferencesPage">
|
2002-08-13 22:55:03 +00:00
|
|
|
</page>
|
|
|
|
<page
|
2003-03-17 23:24:00 +00:00
|
|
|
name="%preferences.rulesets"
|
|
|
|
category="net.sourceforge.pmd.eclipse.preferences.generalPreferencesPage"
|
2002-07-17 16:51:05 +00:00
|
|
|
class="net.sourceforge.pmd.eclipse.preferences.PMDPreferencePage"
|
2003-03-17 23:24:00 +00:00
|
|
|
id="net.sourceforge.pmd.eclipse.preferences.pmdPreferencePage">
|
2002-07-17 16:51:05 +00:00
|
|
|
</page>
|
2002-08-14 20:59:42 +00:00
|
|
|
<page
|
2003-03-17 23:24:00 +00:00
|
|
|
name="%preferences.cpd"
|
|
|
|
category="net.sourceforge.pmd.eclipse.preferences.generalPreferencesPage"
|
2002-08-14 20:59:42 +00:00
|
|
|
class="net.sourceforge.pmd.eclipse.preferences.CPDPreferencePage"
|
2003-03-17 23:24:00 +00:00
|
|
|
id="net.sourceforge.pmd.eclipse.preferences.cpdPreferencePage">
|
|
|
|
</page>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="pmdMarker"
|
|
|
|
name="%marker.pmd"
|
|
|
|
point="org.eclipse.core.resources.markers">
|
|
|
|
<super
|
|
|
|
type="org.eclipse.core.resources.problemmarker">
|
|
|
|
</super>
|
|
|
|
<persistent
|
|
|
|
value="true">
|
|
|
|
</persistent>
|
|
|
|
<attribute
|
|
|
|
name="description">
|
|
|
|
</attribute>
|
|
|
|
<attribute
|
|
|
|
name="example">
|
|
|
|
</attribute>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="pmdTaskMarker"
|
|
|
|
name="%marker.task"
|
|
|
|
point="org.eclipse.core.resources.markers">
|
|
|
|
<super
|
|
|
|
type="net.sourceforge.pmd.eclipse.pmdMarker">
|
|
|
|
</super>
|
|
|
|
<super
|
|
|
|
type="org.eclipse.core.resources.taskmarker">
|
|
|
|
</super>
|
|
|
|
<persistent
|
|
|
|
value="true">
|
|
|
|
</persistent>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="pmdBuilder"
|
|
|
|
name="%builder.name"
|
|
|
|
point="org.eclipse.core.resources.builders">
|
|
|
|
<builder>
|
|
|
|
<run
|
|
|
|
class="net.sourceforge.pmd.eclipse.builder.PMDBuilder">
|
|
|
|
</run>
|
|
|
|
</builder>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="pmdPropertyPage"
|
|
|
|
name="PMD Property Page"
|
|
|
|
point="org.eclipse.ui.propertyPages">
|
|
|
|
<page
|
|
|
|
objectClass="org.eclipse.core.resources.IProject"
|
|
|
|
adaptable="true"
|
|
|
|
name="%properties.pmd"
|
|
|
|
nameFilter="*"
|
|
|
|
class="net.sourceforge.pmd.eclipse.properties.PMDPropertyPage"
|
|
|
|
id="net.sourceforge.pmd.eclipse.properties.pmdPropertyPage">
|
2002-08-14 20:59:42 +00:00
|
|
|
</page>
|
2002-07-17 16:51:05 +00:00
|
|
|
</extension>
|
2002-08-13 22:55:03 +00:00
|
|
|
<extension
|
2003-03-17 23:24:00 +00:00
|
|
|
id="pmdNature"
|
|
|
|
name="%nature.name"
|
|
|
|
point="org.eclipse.core.resources.natures">
|
|
|
|
<runtime>
|
|
|
|
<run
|
|
|
|
class="net.sourceforge.pmd.eclipse.builder.PMDNature">
|
|
|
|
</run>
|
|
|
|
</runtime>
|
|
|
|
<builder
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdBuilder">
|
|
|
|
</builder>
|
|
|
|
<requires-nature
|
|
|
|
id="org.eclipse.jdt.core.javanature">
|
|
|
|
</requires-nature>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="pmdPopupMenus"
|
|
|
|
name="PMD Popup Menus"
|
2002-08-13 22:55:03 +00:00
|
|
|
point="org.eclipse.ui.popupMenus">
|
2002-08-14 20:59:42 +00:00
|
|
|
<objectContribution
|
|
|
|
objectClass="org.eclipse.core.resources.IProject"
|
2003-03-17 23:24:00 +00:00
|
|
|
adaptable="true"
|
2002-08-14 20:59:42 +00:00
|
|
|
nameFilter="*"
|
2003-03-17 23:24:00 +00:00
|
|
|
id="net.sourceforge.pmd.eclipse.cpdProjectContribution">
|
2002-08-14 20:59:42 +00:00
|
|
|
<action
|
2003-03-17 23:24:00 +00:00
|
|
|
label="%action.checkcpd"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
2002-08-14 20:59:42 +00:00
|
|
|
class="net.sourceforge.pmd.eclipse.actions.CPDCheckProjectAction"
|
2003-03-17 23:24:00 +00:00
|
|
|
menubarPath="additions"
|
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.cpdCheckProjectAction">
|
2002-08-14 20:59:42 +00:00
|
|
|
</action>
|
2002-09-06 20:28:30 +00:00
|
|
|
<action
|
2003-03-17 23:24:00 +00:00
|
|
|
label="%action.checkpmd"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDCheckAction"
|
|
|
|
menubarPath="additions"
|
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdCheckProjectAction">
|
|
|
|
</action>
|
|
|
|
<action
|
|
|
|
label="%action.clearpmd"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDRemoveMarkersAction"
|
|
|
|
menubarPath="additions"
|
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdRemoveMarkersAction">
|
2002-09-06 20:28:30 +00:00
|
|
|
</action>
|
|
|
|
</objectContribution>
|
2003-02-17 20:13:17 +00:00
|
|
|
<objectContribution
|
|
|
|
objectClass="org.eclipse.core.resources.IFile"
|
2003-03-17 23:24:00 +00:00
|
|
|
adaptable="true"
|
2003-02-17 20:13:17 +00:00
|
|
|
nameFilter="*.java"
|
2003-03-17 23:24:00 +00:00
|
|
|
id="net.sourceforge.pmd.eclipse.pmdFileContribution">
|
2003-02-17 20:13:17 +00:00
|
|
|
<action
|
2003-03-17 23:24:00 +00:00
|
|
|
label="%action.ast"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDGenerateASTAction"
|
|
|
|
menubarPath="additions"
|
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdGenerateAstAction">
|
|
|
|
</action>
|
|
|
|
<action
|
|
|
|
label="%action.checkpmd"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDCheckAction"
|
|
|
|
menubarPath="additions"
|
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdCheckFileAction">
|
|
|
|
</action>
|
|
|
|
<action
|
|
|
|
label="%action.clearpmd"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDRemoveMarkersAction"
|
|
|
|
menubarPath="additions"
|
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdRemoveMarkersAction">
|
2003-02-17 20:13:17 +00:00
|
|
|
</action>
|
|
|
|
</objectContribution>
|
2003-03-17 23:24:00 +00:00
|
|
|
<viewerContribution
|
|
|
|
targetID="org.eclipse.ui.views.TaskList"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdTaskListContribution">
|
|
|
|
<action
|
|
|
|
label="%action.clearall"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDRemoveMarkersAction"
|
|
|
|
menubarPath="additions"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdRemoveAllMarkersAction">
|
|
|
|
</action>
|
|
|
|
</viewerContribution>
|
2002-08-22 21:42:08 +00:00
|
|
|
</extension>
|
2002-07-17 16:51:05 +00:00
|
|
|
|
|
|
|
</plugin>
|