2002-07-17 16:51:05 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2003-12-02 22:31:35 +00:00
|
|
|
<?eclipse version="3.0"?>
|
2002-07-17 16:51:05 +00:00
|
|
|
<plugin
|
|
|
|
id="net.sourceforge.pmd.eclipse"
|
2003-03-17 23:24:00 +00:00
|
|
|
name="%plugin.name"
|
2005-06-29 20:10:37 +00:00
|
|
|
version="3.1.0"
|
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-30 20:59:13 +00:00
|
|
|
<library name="lib/log4j-1.2.8.jar"/>
|
|
|
|
<library name="lib/commons-logging.jar"/>
|
2005-05-31 20:33:03 +00:00
|
|
|
<library name="lib/castor-0.9.6-xml.jar"/>
|
2002-07-17 16:51:05 +00:00
|
|
|
</runtime>
|
|
|
|
<requires>
|
2003-12-02 22:31:35 +00:00
|
|
|
<import plugin="org.eclipse.ui.ide"/>
|
|
|
|
<import plugin="org.eclipse.ui.views"/>
|
|
|
|
<import plugin="org.eclipse.jface.text"/>
|
|
|
|
<import plugin="org.eclipse.ui.workbench.texteditor"/>
|
|
|
|
<import plugin="org.eclipse.ui.editors"/>
|
2002-07-17 16:51:05 +00:00
|
|
|
<import plugin="org.eclipse.core.resources"/>
|
|
|
|
<import plugin="org.eclipse.ui"/>
|
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"/>
|
2004-04-20 20:52:14 +00:00
|
|
|
<import plugin="org.eclipse.core.runtime"/>
|
2004-11-21 22:32:27 +00:00
|
|
|
<import plugin="net.sourceforge.pmd.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
|
2003-07-07 19:25:36 +00:00
|
|
|
name="rulename">
|
2003-03-17 23:24:00 +00:00
|
|
|
</attribute>
|
|
|
|
</extension>
|
2003-11-30 22:57:44 +00:00
|
|
|
<extension
|
2003-12-02 22:31:35 +00:00
|
|
|
point="org.eclipse.ui.ide.markerResolution">
|
2003-11-30 22:57:44 +00:00
|
|
|
<markerResolutionGenerator
|
|
|
|
markerType="net.sourceforge.pmd.eclipse.pmdMarker"
|
|
|
|
class="net.sourceforge.pmd.eclipse.PMDResolutionGenerator">
|
|
|
|
</markerResolutionGenerator>
|
|
|
|
</extension>
|
2003-03-17 23:24:00 +00:00
|
|
|
<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
|
2003-12-02 22:31:35 +00:00
|
|
|
objectClass="org.eclipse.core.resources.IProject"
|
2003-12-09 00:16:42 +00:00
|
|
|
adaptable="true"
|
2003-03-17 23:24:00 +00:00
|
|
|
name="%properties.pmd"
|
2003-12-02 22:31:35 +00:00
|
|
|
nameFilter="*"
|
2003-12-09 00:16:42 +00:00
|
|
|
class="net.sourceforge.pmd.eclipse.properties.PMDPropertyPage"
|
2003-03-17 23:24:00 +00:00
|
|
|
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
|
2003-12-02 22:31:35 +00:00
|
|
|
objectClass="org.eclipse.core.resources.IProject"
|
2003-12-09 00:16:42 +00:00
|
|
|
adaptable="true"
|
2002-08-14 20:59:42 +00:00
|
|
|
nameFilter="*"
|
2003-03-30 20:59:13 +00:00
|
|
|
id="net.sourceforge.pmd.eclipse.pmdProjectContribution">
|
2003-07-30 19:32:05 +00:00
|
|
|
<menu
|
|
|
|
label="%menu.pmd"
|
|
|
|
path="additions"
|
|
|
|
id="pmd.menu">
|
|
|
|
<separator
|
|
|
|
name="group">
|
|
|
|
</separator>
|
|
|
|
</menu>
|
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"
|
2003-07-30 19:32:05 +00:00
|
|
|
menubarPath="pmd.menu/group"
|
2003-03-17 23:24:00 +00:00
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdCheckProjectAction">
|
|
|
|
</action>
|
|
|
|
<action
|
|
|
|
label="%action.clearpmd"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
2003-03-30 20:59:13 +00:00
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDRemoveMarkersAction"
|
2003-07-30 19:32:05 +00:00
|
|
|
menubarPath="pmd.menu/group"
|
2003-03-30 20:59:13 +00:00
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdRemoveMarkersAction">
|
|
|
|
</action>
|
2003-07-30 19:32:05 +00:00
|
|
|
<action
|
|
|
|
label="%action.checkcpd"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
2005-05-31 23:05:12 +00:00
|
|
|
class="net.sourceforge.pmd.eclipse.cpd.CPDCheckProjectAction"
|
2003-07-30 19:32:05 +00:00
|
|
|
menubarPath="pmd.menu/group"
|
2005-05-31 23:05:12 +00:00
|
|
|
enablesFor="1"
|
2003-07-30 19:32:05 +00:00
|
|
|
id="net.sourceforge.pmd.eclipse.cpdCheckProjectAction">
|
|
|
|
</action>
|
2003-08-14 16:12:11 +00:00
|
|
|
<action
|
|
|
|
label="%action.clearreviews"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.ClearReviewsAction"
|
|
|
|
menubarPath="pmd.menu/group"
|
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdClearReviewsAction">
|
|
|
|
</action>
|
2005-04-20 23:17:41 +00:00
|
|
|
<action
|
|
|
|
label="%action.generatereport"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.GenerateReportAction"
|
|
|
|
menubarPath="pmd.menu/group"
|
|
|
|
enablesFor="1"
|
|
|
|
id="net.sourceforge.pmd.eclipse.generateReportAction">
|
|
|
|
</action>
|
2003-03-30 20:59:13 +00:00
|
|
|
</objectContribution>
|
|
|
|
<objectContribution
|
2003-12-02 22:31:35 +00:00
|
|
|
objectClass="org.eclipse.core.resources.IFolder"
|
2003-12-09 00:16:42 +00:00
|
|
|
adaptable="true"
|
2003-03-30 20:59:13 +00:00
|
|
|
nameFilter="*"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdFolderContribution">
|
2003-07-30 19:32:05 +00:00
|
|
|
<menu
|
|
|
|
label="%menu.pmd"
|
|
|
|
path="additions"
|
|
|
|
id="pmd.menu">
|
|
|
|
<separator
|
|
|
|
name="group">
|
|
|
|
</separator>
|
|
|
|
</menu>
|
2003-03-30 20:59:13 +00:00
|
|
|
<action
|
|
|
|
label="%action.checkpmd"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDCheckAction"
|
2003-07-30 19:32:05 +00:00
|
|
|
menubarPath="pmd.menu/group"
|
2003-03-30 20:59:13 +00:00
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdCheckProjectAction">
|
|
|
|
</action>
|
|
|
|
<action
|
|
|
|
label="%action.clearpmd"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
2003-03-17 23:24:00 +00:00
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDRemoveMarkersAction"
|
2003-07-30 19:32:05 +00:00
|
|
|
menubarPath="pmd.menu/group"
|
2003-03-17 23:24:00 +00:00
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdRemoveMarkersAction">
|
2002-09-06 20:28:30 +00:00
|
|
|
</action>
|
2003-08-14 16:12:11 +00:00
|
|
|
<action
|
|
|
|
label="%action.clearreviews"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.ClearReviewsAction"
|
|
|
|
menubarPath="pmd.menu/group"
|
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdClearReviewsAction">
|
|
|
|
</action>
|
2002-09-06 20:28:30 +00:00
|
|
|
</objectContribution>
|
2003-02-17 20:13:17 +00:00
|
|
|
<objectContribution
|
2003-12-02 22:31:35 +00:00
|
|
|
objectClass="org.eclipse.core.resources.IFile"
|
2003-12-09 00:16:42 +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-07-30 19:32:05 +00:00
|
|
|
<menu
|
|
|
|
label="%menu.pmd"
|
|
|
|
path="additions"
|
|
|
|
id="pmd.menu">
|
|
|
|
<separator
|
|
|
|
name="group">
|
|
|
|
</separator>
|
|
|
|
</menu>
|
2003-03-17 23:24:00 +00:00
|
|
|
<action
|
|
|
|
label="%action.checkpmd"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDCheckAction"
|
2003-07-30 19:32:05 +00:00
|
|
|
menubarPath="pmd.menu/group"
|
2003-03-17 23:24:00 +00:00
|
|
|
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"
|
2003-07-30 19:32:05 +00:00
|
|
|
menubarPath="pmd.menu/group"
|
2003-03-17 23:24:00 +00:00
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdRemoveMarkersAction">
|
2003-02-17 20:13:17 +00:00
|
|
|
</action>
|
2003-07-30 19:32:05 +00:00
|
|
|
<action
|
|
|
|
label="%action.ast"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDGenerateASTAction"
|
|
|
|
menubarPath="pmd.menu/group"
|
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdGenerateAstAction">
|
|
|
|
</action>
|
2003-08-14 16:12:11 +00:00
|
|
|
<action
|
|
|
|
label="%action.clearreviews"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.ClearReviewsAction"
|
|
|
|
menubarPath="pmd.menu/group"
|
|
|
|
enablesFor="+"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdClearReviewsAction">
|
|
|
|
</action>
|
2003-02-17 20:13:17 +00:00
|
|
|
</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>
|
2003-07-07 19:25:36 +00:00
|
|
|
<viewerContribution
|
|
|
|
targetID="net.sourceforge.pmd.eclipse.views.ViolationView"
|
|
|
|
id="net.sourceforge.pmd.eclipse.pmdVioaltionViewContribution">
|
|
|
|
<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>
|
2003-06-30 20:17:28 +00:00
|
|
|
<extension
|
|
|
|
point="org.eclipse.help.toc">
|
|
|
|
<toc
|
|
|
|
file="toc.xml"
|
2003-11-30 22:57:44 +00:00
|
|
|
primary="false">
|
2003-06-30 20:17:28 +00:00
|
|
|
</toc>
|
2003-06-19 21:27:00 +00:00
|
|
|
</extension>
|
2003-07-30 19:32:05 +00:00
|
|
|
<extension
|
2004-06-29 22:01:15 +00:00
|
|
|
id="pmdViews"
|
2003-07-30 19:32:05 +00:00
|
|
|
point="org.eclipse.ui.views">
|
|
|
|
<category
|
|
|
|
name="%view.category"
|
|
|
|
id="net.sourceforge.pmd.eclipse.views">
|
|
|
|
</category>
|
|
|
|
<view
|
|
|
|
name="%view.violation"
|
|
|
|
icon="icons/pmd-icon-16.gif"
|
|
|
|
category="net.sourceforge.pmd.eclipse.views"
|
|
|
|
class="net.sourceforge.pmd.eclipse.views.ViolationView"
|
|
|
|
id="net.sourceforge.pmd.eclipse.views.ViolationView">
|
2003-07-07 19:25:36 +00:00
|
|
|
</view>
|
|
|
|
</extension>
|
2004-06-29 22:01:15 +00:00
|
|
|
<extension
|
|
|
|
id="pmdPreferences"
|
|
|
|
point="org.eclipse.core.runtime.preferences">
|
|
|
|
<initializer class="net.sourceforge.pmd.eclipse.PluginPreferenceInitializer"/>
|
|
|
|
</extension>
|
2003-07-07 19:25:36 +00:00
|
|
|
|
2002-07-17 16:51:05 +00:00
|
|
|
</plugin>
|