Using More FlexPMD Rules with the Eclipse plugin of FlexPMD
Although it is not as easy as extending the classpath for an Ant task, it is still not very difficult. Here is how you can make it work:
- Put the
moreflexpmdrules.jarfile in the same directory as your FlexPMD jar files.
- Now open the file
- Navigate to the directory called
META-INF. This contains a file called
- Right click on the file and choose the option
- Add the name of the new .jar file the
Classpathentry in this files.
- Save the new
- When you close the file you will be asked to update the archive, choose
Now the rules of More FlexPMD Rules can be used with the Eclipse plugin of FlexPMD! Of course you can use this with other .jar files too.