Skip to content
This repository was archived by the owner on Sep 23, 2023. It is now read-only.
This repository was archived by the owner on Sep 23, 2023. It is now read-only.

Cannot use apex rules #57

@Bellingt1964

Description

@Bellingt1964

In Eclipse, if I try and use PMD on a Salesforce project it needs me to add a rule set. In my ruleset.xml file, if I have a single entry like this, it loads fine.

< rule ref="category/java/codestyle.xml/AbstractNaming" />

BUT, if I put in a rule from the Apex page, it says that my ruleset.xml file is invalid

< rule ref="category/apex/codestyle.xml/WhileLoopsMustUseBraces" />

This is a basic ruleset.xml file. What am I doing wrong here?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions