The analysis feature includes an Ant task called analysis.analyze that you can add to a build file in a plug-in development project. This task enables you to run code reviews as part of a PDE project build and lets you build and test the quality of your code in a single step.
The analysis.analyze task takes up to three attributes that specify the projects that contain the Java™ source code to analyze, the rules to apply, and the location of the analysis results.
<target name="code review">
<analysis.analyze
ruleFile="c:/rules/commlinecoderev.dat"
projects="hello.world"
exportdirectory="c:/results" />
</target>