|
@@ -148,7 +148,7 @@
|
148
|
148
|
|
149
|
149
|
<ruleset>checkstyle/pmd_checks.xml</ruleset>
|
150
|
150
|
<formatter type="xml" toFile="reports/report-pmd.xml" linkPrefix="http://pmd.sourceforge.net/xref/"/>
|
151
|
|
- <fileset dir="src/" includes="**/*.java" />
|
|
151
|
+ <fileset dir="src/com/" includes="**/*.java" />
|
152
|
152
|
</pmd>
|
153
|
153
|
<xslt in="reports/report-pmd.xml" style="checkstyle/pmd.xslt" out="reports/report-pmd.html" />
|
154
|
154
|
</target>
|
|
@@ -157,18 +157,19 @@
|
157
|
157
|
<taskdef name="cpd" classpath="pmd-3.9.jar" classname="net.sourceforge.pmd.cpd.CPDTask" />
|
158
|
158
|
|
159
|
159
|
<cpd format="xml" minimumTokenCount="50" outputFile="reports/report-cpd.xml">
|
160
|
|
- <fileset dir="src/">
|
|
160
|
+ <fileset dir="src/com/">
|
161
|
161
|
<include name="**/*.java"/>
|
162
|
162
|
</fileset>
|
163
|
163
|
</cpd>
|
164
|
164
|
<xslt in="reports/report-cpd.xml" style="checkstyle/cpd.xslt" out="reports/report-cpd.html" />
|
165
|
165
|
</target>
|
166
|
166
|
|
167
|
|
- <target name="findbugs">
|
|
167
|
+ <target name="findbugs" depends="jar">
|
168
|
168
|
|
169
|
169
|
<taskdef name="findbugs" classpath="findbugs-ant.jar"
|
170
|
170
|
classname="edu.umd.cs.findbugs.anttask.FindBugsTask" />
|
171
|
171
|
<findbugs home="/usr/share/java/findbugs/" effort="max"
|
|
172
|
+ jvmargs="-Xmx512M"
|
172
|
173
|
output="xml:withMessages"
|
173
|
174
|
outputFile="reports/report-fb.xml" >
|
174
|
175
|
<sourcePath path="src/" />
|