Ver código fonte

Updating files from sora


git-svn-id: http://svn.dmdirc.com/trunk@3157 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Shane Mc Cormack 16 anos atrás
pai
commit
cefa9ae0fe
2 arquivos alterados com 6 adições e 4 exclusões
  1. 4
    3
      checkstyle/build.xml
  2. 2
    1
      nbproject/project.properties

+ 4
- 3
checkstyle/build.xml Ver arquivo

@@ -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/" />

+ 2
- 1
nbproject/project.properties Ver arquivo

@@ -54,6 +54,7 @@ run.classpath=\
54 54
 run.jvmargs=
55 55
 run.test.classpath=\
56 56
     ${javac.test.classpath}:\
57
-    ${build.test.classes.dir}
57
+    ${build.test.classes.dir}:\
58
+    ${libs.junit_4.classpath}
58 59
 src.dir=src
59 60
 test.src.dir=test

Carregando…
Cancelar
Salvar