Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

116 lines (105 sloc) 9.962 kb
<?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="migrating"/><param name="module" value="data"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="datadebug"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="nonotify"/></antcall>
<!-- the other modules -->
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="interfaces"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="core"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="cip"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="standard"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="atomtype"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="io"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="extra"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="formula"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="render"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="renderbasic"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="renderawt"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="reaction"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="libiocml"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="builder3d"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="smiles"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="smarts"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="tautomer"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="pcore"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="forcefield"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="qsar"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="qsaratomic"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="qsarbond"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="qsarmolecular"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="qsarprotein"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="structgen"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="valencycheck"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="charges"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="diff"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="smsd"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="signature"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating-qm"/><param name="module" value="qm"/></antcall>
<!-- the test modules -->
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-core"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-cip"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-interfaces"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-data"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-datadebug"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-nonotify"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-atomtype"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-extra"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-forcefield"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-io"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-reaction"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-smiles"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-standard"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-tautomer"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-valencycheck"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-charges"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-pcore"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qsar"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qsaratomic"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qsarbond"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qsarmolecular"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qsarprotein"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-diff"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-qm"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-smsd"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-signature"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-render"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-renderbasic"/></antcall>
<antcall target="test-module"><param name="pmd.test" value="migrating"/><param name="module" value="test-renderawt"/></antcall>
</target>
<target id="test-module" name="test-module"
description="Checks for migrating code updates in the given CDK module.">
<echo message="Checking for migrating code updates in CDK's ${module} module." />
<mkdir dir="${reports.tests}/pmd-migrating"/>
<pmd shortFilenames="true" rulesetfiles="pmd/${pmd.test}.xml">
<formatter type="xml" toFile="${reports.tests}/pmd-migrating/${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>
Jump to Line
Something went wrong with that request. Please try again.