Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 120 lines (109 sloc) 10.492 kb
7869d4d Added PMD rules to check for code cleanups for Java 1.5 (and 1.3 and 1.4...
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}">
12 <include name="asm-3.1.jar"/>
13 <include name="junit-4.4.jar"/>
f29a66b Egon Willighagen Upgraded to PMD 2.4.5 with many bug fixes, giving more accurate error re...
authored
14 <include name="pmd-4.2.5.jar"/>
7869d4d Added PMD rules to check for code cleanups for Java 1.5 (and 1.3 and 1.4...
egonw authored
15 <include name="jaxen-1.1.1.jar"/>
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 -->
18fa402 Fixed name of migrating.xml
egonw authored
30 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="data"/></antcall>
31 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="datadebug"/></antcall>
32 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="nonotify"/></antcall>
7869d4d Added PMD rules to check for code cleanups for Java 1.5 (and 1.3 and 1.4...
egonw authored
33 <!-- the other modules -->
18fa402 Fixed name of migrating.xml
egonw authored
34 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="interfaces"/></antcall>
35 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="core"/></antcall>
751488b Egon Willighagen Set up a CIP module.
authored
36 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="cip"/></antcall>
18fa402 Fixed name of migrating.xml
egonw authored
37 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="standard"/></antcall>
38 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="atomtype"/></antcall>
39 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="io"/></antcall>
40 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="extra"/></antcall>
41 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="formula"/></antcall>
42 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="render"/></antcall>
110f4c1 Egon Willighagen Setting up the new renderbasic module.
authored
43 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="renderbasic"/></antcall>
f1ca34b Egon Willighagen Render AWT module which allows rendering of the abstract rendering eleme...
authored
44 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="renderawt"/></antcall>
02f7f2d Egon Willighagen Set up of the rendercontrol module, containing the rendering of controll...
authored
45 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="rendercontrol"/></antcall>
18fa402 Fixed name of migrating.xml
egonw authored
46 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="reaction"/></antcall>
47 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="libiocml"/></antcall>
48 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="builder3d"/></antcall>
49 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="smiles"/></antcall>
50 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="smarts"/></antcall>
b73a662 Egon Willighagen Enabled PMD and OJDC for the tautomer module
authored
51 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="tautomer"/></antcall>
18fa402 Fixed name of migrating.xml
egonw authored
52 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="pcore"/></antcall>
53 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="forcefield"/></antcall>
54 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="qsar"/></antcall>
55 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="qsaratomic"/></antcall>
56 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="qsarbond"/></antcall>
57 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="qsarmolecular"/></antcall>
58 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="qsarprotein"/></antcall>
59 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="structgen"/></antcall>
60 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="valencycheck"/></antcall>
61 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="charges"/></antcall>
62 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="diff"/></antcall>
10edb71 Syed Asad Rahman The big SMSD patch.
asad authored
63 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="smsd"/></antcall>
7384bc3 Egon Willighagen Hooked in PMD testing for the signature module
authored
64 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="signature"/></antcall>
ce3999f Egon Willighagen Set up of the new controller infrastructure.
authored
65 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="control"/></antcall>
18fa402 Fixed name of migrating.xml
egonw authored
66 <antcall target="test-module"><param name="pmd.test" value="migrating-qm"/><param name="module" value="qm"/></antcall>
7869d4d Added PMD rules to check for code cleanups for Java 1.5 (and 1.3 and 1.4...
egonw authored
67 <!-- the test modules -->
18fa402 Fixed name of migrating.xml
egonw authored
68 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-core"/></antcall>
751488b Egon Willighagen Set up a CIP module.
authored
69 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-cip"/></antcall>
17f3101 Included the new module test-interfaces in the PMD test runs
egonw authored
70 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-interfaces"/></antcall>
18fa402 Fixed name of migrating.xml
egonw authored
71 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-data"/></antcall>
72 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-datadebug"/></antcall>
73 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-nonotify"/></antcall>
74 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-atomtype"/></antcall>
75 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-extra"/></antcall>
76 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-forcefield"/></antcall>
77 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-io"/></antcall>
78 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-reaction"/></antcall>
79 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-smiles"/></antcall>
80 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-standard"/></antcall>
b73a662 Egon Willighagen Enabled PMD and OJDC for the tautomer module
authored
81 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-tautomer"/></antcall>
18fa402 Fixed name of migrating.xml
egonw authored
82 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-valencycheck"/></antcall>
83 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-charges"/></antcall>
84 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-pcore"/></antcall>
85 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qsar"/></antcall>
86 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qsaratomic"/></antcall>
87 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qsarbond"/></antcall>
88 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qsarmolecular"/></antcall>
89 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qsarprotein"/></antcall>
90 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-diff"/></antcall>
91 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qm"/></antcall>
10edb71 Syed Asad Rahman The big SMSD patch.
asad authored
92 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-smsd"/></antcall>
7384bc3 Egon Willighagen Hooked in PMD testing for the signature module
authored
93 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-signature"/></antcall>
110f4c1 Egon Willighagen Setting up the new renderbasic module.
authored
94 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-render"/></antcall>
ce3999f Egon Willighagen Set up of the new controller infrastructure.
authored
95 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-control"/></antcall>
110f4c1 Egon Willighagen Setting up the new renderbasic module.
authored
96 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-renderbasic"/></antcall>
f1ca34b Egon Willighagen Render AWT module which allows rendering of the abstract rendering eleme...
authored
97 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-renderawt"/></antcall>
02f7f2d Egon Willighagen Set up of the rendercontrol module, containing the rendering of controll...
authored
98 <antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-rendercontrol"/></antcall>
7869d4d Added PMD rules to check for code cleanups for Java 1.5 (and 1.3 and 1.4...
egonw authored
99 </target>
100
101 <target id="test-module" name="test-module"
102 description="Checks for migrating code updates in the given CDK module.">
103
104 <echo message="Checking for migrating code updates in CDK's ${module} module." />
105
106 <mkdir dir="${reports.tests}/pmd-migrating"/>
30af1c6 Don't do the Vector check on the qm module, as it actually defines a (ma...
egonw authored
107
108 <pmd shortFilenames="true" rulesetfiles="pmd/${pmd.test}.xml">
7869d4d Added PMD rules to check for code cleanups for Java 1.5 (and 1.3 and 1.4...
egonw authored
109 <formatter type="xml" toFile="${reports.tests}/pmd-migrating/${module}.xml"/>
7c5c872 Merged the branch egonw/maintest: sets up src/main and src/test for spli...
egonw authored
110 <fileset dir="${src}/main">
111 <includesfile name="${build}/${module}.javafiles"/>
112 </fileset>
113 <fileset dir="${src}/test">
7869d4d Added PMD rules to check for code cleanups for Java 1.5 (and 1.3 and 1.4...
egonw authored
114 <includesfile name="${build}/${module}.javafiles"/>
115 </fileset>
116 </pmd>
117 </target>
118
119 </project>
Something went wrong with that request. Please try again.