首先下载com.abobe,ac.pmd.eclipse_...jar 和 flex-pmd-all-in-one...zip俩文件
前面一个装在xx\adobe flash builder xx\eclipse\plugins下,后面随便放哪,但路径中不能有空格,解压之。
重启fb,再配置下,窗口->首选项->flexpmd
FlexPMD command line installation xx\flex-pmd-all-in-one..\flex-pmd-command-line-1.2.jar
FlexPMD custom ruleset:xx\flex-pmd-all-in-one..\rules\pmd_rule.xml
FlexCPD command line installation:xx\flex-pmd-all-in-one..\flex-pmd-cpd-command-line-1.2.jar
原文:http://www.cnblogs.com/white-eyes/p/3925111.html