How to install FlexPMD in Flex Builder 4.5
来源:互联网 发布:python 贝叶斯分类 编辑:程序博客网 时间:2024/06/12 18:31
FlexPMD is an eclipse plugin that detects common bad practices in your AS3 or Flex code.
The installation process is the same for all Eclipse-based editors, like FDT or Flash Builder.
- Go to Help>Install New Software:
- Type in:
http://opensource.adobe.com/svn/opensource/flexpmd/plugin/trunk/flex-pmd-eclipse-plugin-site
Select FlexPMD: - Click Next, Next, Accept T&C, Finish
- Restart Flash Builder when prompted.
- Download the FlexPMD Command line tools from here:
http://opensource.adobe.com/svn/opensource/flexpmd/maven-repository/release/com/adobe/ac/flex-pmd/1.1/flex-pmd-all-in-one-bundle-1.1.zip - Unzip the zip file somewhere (eg. ~/tools)
- In Flash Builder(or FDT) go to Preferences>FlexPMD:
- Click Browse next to: FlexPMD Command Line Installation
Browse to your unzipped folder and select: flex-pmd-command-line-1.1.jar
How to use FlexPMD
- Right click on your project in the Package Explorer
go to FlexPMD>Run FlexPMD: - You can see the results in the FlexPMD View:
Note:
The reason for FlexPMD not to show any results is probably because you have spaces in the full absolute path to the folder you want to check (e.g. C:\users\yourusername\…\Flash Builder Workspace\yourprojectname\src). FlexPMD doesn’t seem to like spaces and crashes silently.
Another important thing is that FlexPMD needs to have the rights to write it’s results to disk. In Windowns 7 this also may cause FlexPMD to crash silently.
You can fix this problem by changing the FlexPMD preferences (Flash Builder>Window>Preferences>FlexPMD) where it says “Java command line” to “java -Xmx256m -Djava.io.tmpdir=C:\Users\[yourusername]\AppData\Local\Temp”
转载:http://zoltanb.co.uk/how-to-install-flexpmd-in-flex-builder-4-5/
- How to install FlexPMD in Flex Builder 4.5
- How to install maven in Flash Builder 4.5
- How to install Mysql in linux server
- How to install Skype in Ubuntu 7.10?
- How to use virt-install in OpenSolaris
- How to install JSDT Refactoring Plug-in ?
- How to install & uninstall software in ubuntu
- how to install java in ubuntu
- How to install JDK in AIX?
- How to install VIM in the MSYS?
- How to install live555 in the MSYS?
- How to install wifi driver in Mer
- How to install realplayer In Fedora 7
- How to install JDK in Linux
- How To Install VirtualBox 4.0 In Ubuntu
- How to Install Older Kernel in Ubuntu
- How to install NetWorker in Linux?
- how to install file/software in linux?
- 李开复的这篇关于时间管理
- Fedora wifi8192cus驱动问题
- pomelo学习笔记 (4) libpomelo 编译静态库加入cocos2d-x xcode 项目
- PHP生成一维码、二维码方法
- git项目的trunk步骤
- How to install FlexPMD in Flex Builder 4.5
- Dynamic Router
- struts
- /proc 伪文件系统
- nfs网络文件系统挂载笔记整理1
- KMP算法
- Comet 与传统的 Ajax 轮询相比性能方面是否占优?
- CDN内容分发网络简介
- C# timer简单使用方法小结