Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 97 lines (87 sloc) 7.825 kB
fb2fadd Added Ant task for automatic code quality checks (closes PMT #898128)
egonw authored
1 <?xml version="1.0"?>
2 <project name="CDK" default="pmd" basedir=".">
3
8f7c085 Moving the PMD jars into develjar
egonw authored
4 <property name="lib" value="develjar" />
fb2fadd Added Ant task for automatic code quality checks (closes PMT #898128)
egonw authored
5 <property name="build" value="build" />
6 <property name="src" value="src" />
7 <property name="reports.tests" value="reports" />
2cb54aa Refactored to remove lots of duplicate code: use a parameter for a ge…
egonw authored
8
fb2fadd Added Ant task for automatic code quality checks (closes PMT #898128)
egonw authored
9 <path id="pmd.classpath">
10 <pathelement location="${build}"/>
11 <fileset dir="${lib}">
e9b669c Upgraded PMD to 4.1 in trunk/ (closes #1860716)
egonw authored
12 <include name="asm-3.1.jar"/>
13 <include name="junit-4.4.jar"/>
14 <include name="pmd-4.1.jar"/>
15 <include name="jaxen-1.1.1.jar"/>
fb2fadd Added Ant task for automatic code quality checks (closes PMT #898128)
egonw authored
16 </fileset>
17 </path>
18
6eb7d20 Use a customized PMD result viewer
egonw authored
19 <target name="compileRenderer" id="compileRenderer">
20 <javac srcdir="pmd" destdir="${build}"
21 includes="net/sourceforge/pmd/renderers/SummaryVBHTMLRenderer.java">
22 <classpath refid="pmd.classpath" />
23 </javac>
24 </target>
25
dea018f Fixed taskdef problem
egonw authored
26 <taskdef name="pmd" id="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/>
27
28 <target name="pmd" id="pmd">
d8b3e74 Fixed use of custom PMD tests
egonw authored
29 <!-- the data classes modules -->
30 <antcall target="test-module"><param name="pmd.test" value="custom-data"/><param name="module" value="data"/></antcall>
31 <antcall target="test-module"><param name="pmd.test" value="custom-data"/><param name="module" value="datadebug"/></antcall>
32 <antcall target="test-module"><param name="pmd.test" value="custom-data"/><param name="module" value="nonotify"/></antcall>
33 <!-- the other modules -->
34 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="interfaces"/></antcall>
35 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="core"/></antcall>
36 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="standard"/></antcall>
2e301c0 Added the missing atomtype module
egonw authored
37 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="atomtype"/></antcall>
d8b3e74 Fixed use of custom PMD tests
egonw authored
38 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="io"/></antcall>
39 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="extra"/></antcall>
40 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="render"/></antcall>
6250d95 Added reaction and structgen for auto testing.
egonw authored
41 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="reaction"/></antcall>
d8b3e74 Fixed use of custom PMD tests
egonw authored
42 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="libio-cml"/></antcall>
43 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="libio-biojava"/></antcall>
44 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="builder3d"/></antcall>
45 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="smiles"/></antcall>
f121c46 Updated PMD scripts to work with the new smarts module
rajarshi authored
46 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="smarts"/></antcall>
9c15cf9 Updated scripts so that testing is performed on the pcore module
rajarshi authored
47 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="pcore"/></antcall>
d8b3e74 Fixed use of custom PMD tests
egonw authored
48 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="forcefield"/></antcall>
49 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsar"/></antcall>
77a7370 Added new qsar modules
egonw authored
50 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsaratomic"/></antcall>
51 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsarbond"/></antcall>
52 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsarmolecular"/></antcall>
53 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsarprotein"/></antcall>
d8b3e74 Fixed use of custom PMD tests
egonw authored
54 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="experimental"/></antcall>
55 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="svg"/></antcall>
6250d95 Added reaction and structgen for auto testing.
egonw authored
56 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="structgen"/></antcall>
d8b3e74 Fixed use of custom PMD tests
egonw authored
57 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="valencycheck"/></antcall>
cb52b54 Hooked in stuff for the charges module
egonw authored
58 <antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="charges"/></antcall>
b7fe365 Reinstated the tests for the JUnit tests
egonw authored
59 <!-- the test modules -->
60 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-core"/></antcall>
61 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-data"/></antcall>
62 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-datadebug"/></antcall>
63 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-nonotify"/></antcall>
64 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-extra"/></antcall>
65 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-experimental"/></antcall>
66 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-forcefield"/></antcall>
2e301c0 Added the missing atomtype module
egonw authored
67 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-atomtype"/></antcall>
b7fe365 Reinstated the tests for the JUnit tests
egonw authored
68 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-io"/></antcall>
69 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-reaction"/></antcall>
70 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-smiles"/></antcall>
71 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-standard"/></antcall>
9c15cf9 Updated scripts so that testing is performed on the pcore module
rajarshi authored
72 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-pcore"/></antcall>
b7fe365 Reinstated the tests for the JUnit tests
egonw authored
73 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-valencycheck"/></antcall>
77a7370 Added new qsar modules
egonw authored
74 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qsar"/></antcall>
75 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qsaratomic"/></antcall>
76 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qsarbond"/></antcall>
77 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qsarmolecular"/></antcall>
78 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qsarprotein"/></antcall>
cb52b54 Hooked in stuff for the charges module
egonw authored
79 <antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-charges"/></antcall>
3343372 Added more modules
egonw authored
80 </target>
81
2cb54aa Refactored to remove lots of duplicate code: use a parameter for a ge…
egonw authored
82 <target id="test-module" name="test-module"
83 description="Performs a PMD checks for the given CDK module.">
3343372 Added more modules
egonw authored
84
2cb54aa Refactored to remove lots of duplicate code: use a parameter for a ge…
egonw authored
85 <echo message="Running PMD checks for CDK's ${module} module." />
7d09c48 Added infra structure for quality control of the qsar module
egonw authored
86
2cb54aa Refactored to remove lots of duplicate code: use a parameter for a ge…
egonw authored
87 <mkdir dir="${reports.tests}/pmd"/>
d8b3e74 Fixed use of custom PMD tests
egonw authored
88 <pmd shortFilenames="true" rulesetfiles="pmd/${pmd.test}.xml">
d502dd4 Reverted pmd.xml to output XML rather than HTML. If HTML is required …
rajarshi authored
89 <formatter type="xml" toFile="${reports.tests}/pmd/${module}.xml"/>
2cb54aa Refactored to remove lots of duplicate code: use a parameter for a ge…
egonw authored
90 <fileset dir="${src}">
f5851ce Updated for move of .javafiles
egonw authored
91 <includesfile name="${build}/${module}.javafiles"/>
2cb54aa Refactored to remove lots of duplicate code: use a parameter for a ge…
egonw authored
92 </fileset>
93 </pmd>
3e04bca Updated for new PMD version
egonw authored
94 </target>
95
fb2fadd Added Ant task for automatic code quality checks (closes PMT #898128)
egonw authored
96 </project>
Something went wrong with that request. Please try again.