-
Notifications
You must be signed in to change notification settings - Fork 24
/
pmd.xml
127 lines (118 loc) · 11.2 KB
/
pmd.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0"?>
<project name="CDK" default="pmd" basedir=".">
<property name="lib" value="develjar" />
<property name="build" value="build" />
<property name="src" value="src" />
<property name="reports.tests" value="reports" />
<path id="pmd.classpath">
<pathelement location="${build}"/>
<fileset dir="${lib}">
<include name="asm-3.1.jar"/>
<include name="junit-4.4.jar"/>
<include name="pmd-4.2.5.jar"/>
<include name="jaxen-1.1.1.jar"/>
</fileset>
</path>
<target name="compileRenderer" id="compileRenderer">
<javac srcdir="pmd" destdir="${build}"
includes="net/sourceforge/pmd/renderers/SummaryVBHTMLRenderer.java">
<classpath refid="pmd.classpath" />
</javac>
</target>
<taskdef name="pmd" id="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/>
<target name="pmd" id="pmd">
<!-- the data classes modules -->
<antcall target="test-module"><param name="pmd.test" value="custom-data"/><param name="module" value="data"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-data"/><param name="module" value="datadebug"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-data"/><param name="module" value="nonotify"/></antcall>
<!-- the other modules -->
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="interfaces"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="core"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="log4j"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="standard"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="atomtype"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="dict"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="io"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="extra"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="formula"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="render"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="renderbasic"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="renderawt"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="reaction"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="libiocml"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="libiomd"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="builder3d"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="smiles"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="smarts"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="pcore"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="fingerprint"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="forcefield"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="inchi"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="ioformats"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="pdb"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsar"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsaratomic"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsarbond"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsarionpot"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsarmolecular"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="qsarprotein"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="structgen"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="sdg"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="tautomer"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="valencycheck"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="charges"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="cip"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="diff"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="smsd"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="iordf"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom"/><param name="module" value="signature"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-qm"/><param name="module" value="qm"/></antcall>
<!-- the test modules -->
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-core"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-interfaces"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-data"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-datadebug"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-dict"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-nonotify"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-extra"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-forcefield"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-atomtype"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-io"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-reaction"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-smiles"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-standard"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-pcore"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-valencycheck"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qsar"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qsaratomic"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qsarbond"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qsarmolecular"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qsarprotein"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-charges"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-cip"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-diff"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-qm"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-smsd"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-tautomer"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-log4j"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-signature"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-iordf"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-render"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-renderbasic"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="custom-test"/><param name="module" value="test-renderawt"/></antcall>
</target>
<target id="test-module" name="test-module"
description="Performs a PMD checks for the given CDK module.">
<echo message="Running PMD checks for CDK's ${module} module." />
<mkdir dir="${reports.tests}/pmd"/>
<pmd shortFilenames="true" rulesetfiles="pmd/${pmd.test}.xml">
<formatter type="xml" toFile="${reports.tests}/pmd/${module}.xml"/>
<fileset dir="${src}/main">
<includesfile name="${build}/${module}.javafiles"/>
</fileset>
<fileset dir="${src}/test">
<includesfile name="${build}/${module}.javafiles"/>
</fileset>
</pmd>
</target>
</project>