About

Fork AndroidCMWrench on Github

AndroidCMWrench solves a problem. We have all been there, Google isues a brand new Android SDK version. We hurry to download it and than Whoops. We find errors in the provide ant scripts, but we have already switched our sdk and thus we have to than rewrite whatever customized ant script code we had to gerenate our code metrics and javadocs for our projects. So why just use the IDE and some simpleacceessory ant scripts?

Once setup, its just a matter of right-clicking on the androidcmwrench.xml file and choosing run-as-ant-build choice of your favorite IDE.

IDE Use

While it does not support Continuous Integration Servers, if you have a modern IDE, no not VIm or Emacs, that suports incremental builds than you should be able to use AndroidCMWrench.

Samples

Click on docs or codemetrics links on the top naviagtion bar.

To Use

  • Copy to your project root; acm.asses folder, android.pmd_ruleset.xml, androidcmwrench.xml, eclipse.checkstyle.android.xml, and local.properties.template.
  • Modify androidcmwrench.xml to reflect yoru project name at the root node of the ant file.
  • Change name of local.properties.tempalte to local.properties and fill out theanroid jars path properties entries sepcifci to your project.
  • As soon as your IDE does an incremental build, right-click on the androidcmwrench.xml file and chose run-as-ant-build and watch it generate your reports.

Code Metrics Supported

Code Metrics supported thus far are:

  • Checkstyle
  • Classycle
  • JavaNCSS
  • PMD

Javadocs Support

Want pretty javadocs just like the Android Project itself? Its here, in using doclava to generate the javadocs.

Project Specifics

Contact

Fred Grott's Android Development blog is at wordpress and to contact, use the left-hand send email button in his G+ About Page.

Feedback

You can open and issue at github.

License

Apache License 2.0 and you can access license text here.

Credits

Developed by Fred Grott and other contributors welcomed to fork this on github and send a pull request.

Resources