Dan,

Folks my problem is PMD not the plugin, but I ask anyway here

Here is the error:
=============


[INFO] Error during report generation

Embedded error: Failure executing PMD for:
......\ui\internal\launcher\configuration\PreferencePageHistory.java
Encountered "abstract" at line 151, column 17.
Was expecting one of:
    "}" ...
    "final" ...
    "@" ...
    "boolean" ...
    "char" ...
    "byte" ...

It turns out the code  has a abstract define inside a method



 public ToolBar createHistoryControls(ToolBar historyBar,
   ToolBarManager manager) {

  historyToolbar = manager;
  /**
   * Superclass of the two for-/backward actions for the history.
   */
  abstract class HistoryNavigationAction extends Action implements
    IMenuCreator {
   private Menu lastMenu;

Advice is greatly appreciated.

This isn't a PMD problem; it's a Java syntax problem. PMD uses JavaCC to parse Java files (see http://www.onjava.com/pub/a/onjava/2003/02/12/static_analysis.html), and JavaCC is complaining about your syntax. If you attempt to compile the file without first running it through PMD, you should get a compiler error, right?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to