The purpose of this documentation is to help setting up your environment if you want to create your own rules or extend FlexPMD.
Here are the steps you will need to do:
Add a SubVersion client or SubEclipse
Install Maven locally
Add the the Maven binary directory to the path.
On Unix-based OS: In a command line, type PATH=$PATH\:/dir/path ; export PATH > ~/.profile
On Windows OS:
Add a Maven eclipse plugin (m2)
Check out the projects locally in a folder of your choice
Open a command line, change the current directory to <checkOutDirectory>
Type : cd flex-pmd-parent && mvn package amd make sure the build succeeds
Import the projects into Eclipse using SubEclipse.
Create a new workspace variable called FLEX_PMD_TEST_RESOURCES_LOCATION pointing to
Make sure the the build succeeds.
Run unit-tests for flex-pmd-ruleset, flex-pmd-ruleset-api, flex-pmd-core projects