Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 115 lines (105 sloc) 7.265 kB
7512e0d Checking for just unused code
egonw authored
1 <?xml version="1.0"?>
2 <project name="CDK" default="pmd" basedir=".">
3
4 <property name="lib" value="develjar" />
5 <property name="build" value="build" />
6 <property name="src" value="src" />
7 <property name="reports.tests" value="reports" />
8
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"/>
79e4532 @egonw Upgraded PMD to 4.3
authored
14 <include name="pmd-4.3.jar"/>
e9b669c Upgraded PMD to 4.1 in trunk/ (closes #1860716)
egonw authored
15 <include name="jaxen-1.1.1.jar"/>
7512e0d Checking for just unused code
egonw authored
16 </fileset>
17 </path>
18
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
26 <taskdef name="pmd" id="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpathref="pmd.classpath"/>
27
28 <target name="pmd" id="pmd">
29 <!-- the data classes modules -->
30 <antcall target="test-module"><param name="module" value="data"/></antcall>
31 <antcall target="test-module"><param name="module" value="datadebug"/></antcall>
32 <!-- the other modules -->
33 <antcall target="test-module"><param name="module" value="interfaces"/></antcall>
34 <antcall target="test-module"><param name="module" value="core"/></antcall>
751488b @egonw Set up a CIP module.
authored
35 <antcall target="test-module"><param name="module" value="cip"/></antcall>
7512e0d Checking for just unused code
egonw authored
36 <antcall target="test-module"><param name="module" value="standard"/></antcall>
2e301c0 Added the missing atomtype module
egonw authored
37 <antcall target="test-module"><param name="module" value="atomtype"/></antcall>
7512e0d Checking for just unused code
egonw authored
38 <antcall target="test-module"><param name="module" value="io"/></antcall>
39 <antcall target="test-module"><param name="module" value="extra"/></antcall>
d4e1369 Added missing lines for the formula module (closes #1882918)
egonw authored
40 <antcall target="test-module"><param name="module" value="formula"/></antcall>
7512e0d Checking for just unused code
egonw authored
41 <antcall target="test-module"><param name="module" value="render"/></antcall>
110f4c1 @egonw Setting up the new renderbasic module.
authored
42 <antcall target="test-module"><param name="module" value="renderbasic"/></antcall>
f1ca34b @egonw Render AWT module which allows rendering of the abstract rendering el…
authored
43 <antcall target="test-module"><param name="module" value="renderawt"/></antcall>
6250d95 Added reaction and structgen for auto testing.
egonw authored
44 <antcall target="test-module"><param name="module" value="reaction"/></antcall>
7e20d83 Fixed libiocml module: remove '-' and added a test suite for the modu…
egonw authored
45 <antcall target="test-module"><param name="module" value="libiocml"/></antcall>
7512e0d Checking for just unused code
egonw authored
46 <antcall target="test-module"><param name="module" value="builder3d"/></antcall>
47 <antcall target="test-module"><param name="module" value="smiles"/></antcall>
f121c46 Updated PMD scripts to work with the new smarts module
rajarshi authored
48 <antcall target="test-module"><param name="module" value="smarts"/></antcall>
9c15cf9 Updated scripts so that testing is performed on the pcore module
rajarshi authored
49 <antcall target="test-module"><param name="module" value="pcore"/></antcall>
7512e0d Checking for just unused code
egonw authored
50 <antcall target="test-module"><param name="module" value="forcefield"/></antcall>
51 <antcall target="test-module"><param name="module" value="qsar"/></antcall>
77a7370 Added new qsar modules
egonw authored
52 <antcall target="test-module"><param name="module" value="qsaratomic"/></antcall>
53 <antcall target="test-module"><param name="module" value="qsarbond"/></antcall>
54 <antcall target="test-module"><param name="module" value="qsarmolecular"/></antcall>
55 <antcall target="test-module"><param name="module" value="qsarprotein"/></antcall>
6250d95 Added reaction and structgen for auto testing.
egonw authored
56 <antcall target="test-module"><param name="module" value="structgen"/></antcall>
b73a662 @egonw Enabled PMD and OJDC for the tautomer module
authored
57 <antcall target="test-module"><param name="module" value="tautomer"/></antcall>
7512e0d Checking for just unused code
egonw authored
58 <antcall target="test-module"><param name="module" value="valencycheck"/></antcall>
cb52b54 Hooked in stuff for the charges module
egonw authored
59 <antcall target="test-module"><param name="module" value="charges"/></antcall>
f782e65 Set up a new module, with the QM code
egonw authored
60 <antcall target="test-module"><param name="module" value="diff"/></antcall>
61 <antcall target="test-module"><param name="module" value="qm"/></antcall>
10edb71 @asad The big SMSD patch.
asad authored
62 <antcall target="test-module"><param name="module" value="smsd"/></antcall>
96cffcc @egonw Hooked in testing for iordf
authored
63 <antcall target="test-module"><param name="module" value="iordf"/></antcall>
7384bc3 @egonw Hooked in PMD testing for the signature module
authored
64 <antcall target="test-module"><param name="module" value="signature"/></antcall>
7512e0d Checking for just unused code
egonw authored
65 <!-- the test modules -->
66 <antcall target="test-module"><param name="module" value="test-core"/></antcall>
751488b @egonw Set up a CIP module.
authored
67 <antcall target="test-module"><param name="module" value="test-cip"/></antcall>
17f3101 Included the new module test-interfaces in the PMD test runs
egonw authored
68 <antcall target="test-module"><param name="module" value="test-interfaces"/></antcall>
7512e0d Checking for just unused code
egonw authored
69 <antcall target="test-module"><param name="module" value="test-data"/></antcall>
70 <antcall target="test-module"><param name="module" value="test-datadebug"/></antcall>
2e301c0 Added the missing atomtype module
egonw authored
71 <antcall target="test-module"><param name="module" value="test-atomtype"/></antcall>
7512e0d Checking for just unused code
egonw authored
72 <antcall target="test-module"><param name="module" value="test-extra"/></antcall>
73 <antcall target="test-module"><param name="module" value="test-forcefield"/></antcall>
74 <antcall target="test-module"><param name="module" value="test-io"/></antcall>
75 <antcall target="test-module"><param name="module" value="test-reaction"/></antcall>
76 <antcall target="test-module"><param name="module" value="test-smiles"/></antcall>
77 <antcall target="test-module"><param name="module" value="test-standard"/></antcall>
b73a662 @egonw Enabled PMD and OJDC for the tautomer module
authored
78 <antcall target="test-module"><param name="module" value="test-tautomer"/></antcall>
7512e0d Checking for just unused code
egonw authored
79 <antcall target="test-module"><param name="module" value="test-valencycheck"/></antcall>
cb52b54 Hooked in stuff for the charges module
egonw authored
80 <antcall target="test-module"><param name="module" value="test-charges"/></antcall>
9c15cf9 Updated scripts so that testing is performed on the pcore module
rajarshi authored
81 <antcall target="test-module"><param name="module" value="test-pcore"/></antcall>
77a7370 Added new qsar modules
egonw authored
82 <antcall target="test-module"><param name="module" value="test-qsar"/></antcall>
83 <antcall target="test-module"><param name="module" value="test-qsaratomic"/></antcall>
84 <antcall target="test-module"><param name="module" value="test-qsarbond"/></antcall>
85 <antcall target="test-module"><param name="module" value="test-qsarmolecular"/></antcall>
86 <antcall target="test-module"><param name="module" value="test-qsarprotein"/></antcall>
f782e65 Set up a new module, with the QM code
egonw authored
87 <antcall target="test-module"><param name="module" value="test-diff"/></antcall>
96cffcc @egonw Hooked in testing for iordf
authored
88 <antcall target="test-module"><param name="module" value="test-iordf"/></antcall>
f782e65 Set up a new module, with the QM code
egonw authored
89 <antcall target="test-module"><param name="module" value="test-qm"/></antcall>
10edb71 @asad The big SMSD patch.
asad authored
90 <antcall target="test-module"><param name="module" value="test-smsd"/></antcall>
7384bc3 @egonw Hooked in PMD testing for the signature module
authored
91 <antcall target="test-module"><param name="module" value="test-signature"/></antcall>
110f4c1 @egonw Setting up the new renderbasic module.
authored
92 <antcall target="test-module"><param name="module" value="test-render"/></antcall>
93 <antcall target="test-module"><param name="module" value="test-renderbasic"/></antcall>
f1ca34b @egonw Render AWT module which allows rendering of the abstract rendering el…
authored
94 <antcall target="test-module"><param name="module" value="test-renderawt"/></antcall>
7512e0d Checking for just unused code
egonw authored
95 </target>
96
97 <target id="test-module" name="test-module"
98 description="Checks for unused code in the given CDK module.">
99
100 <echo message="Checking for unused code in CDK's ${module} module." />
101
102 <mkdir dir="${reports.tests}/pmd-unused"/>
103 <pmd shortFilenames="true" rulesetfiles="pmd/unused.xml">
104 <formatter type="xml" toFile="${reports.tests}/pmd-unused/${module}.xml"/>
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for s…
egonw authored
105 <fileset dir="${src}/main">
106 <includesfile name="${build}/${module}.javafiles"/>
107 </fileset>
108 <fileset dir="${src}/test">
f5851ce Updated for move of .javafiles
egonw authored
109 <includesfile name="${build}/${module}.javafiles"/>
7512e0d Checking for just unused code
egonw authored
110 </fileset>
111 </pmd>
112 </target>
113
114 </project>
Something went wrong with that request. Please try again.