forked from lyrixderaven/appkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
37 lines (34 loc) · 1.04 KB
/
build.xml
File metadata and controls
37 lines (34 loc) · 1.04 KB
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
<?xml version="1.0"?>
<project>
<property name="srcdir" value="src/" />
<target name="format">
<taskdef name="jalopy" classname="de.hunsicker.jalopy.plugin.ant.AntPlugin">
<classpath>
<pathelement path="tools/jalopy-ant-0.1-1.5rc3.jar" />
<pathelement path="tools/jalopy.jar"/>
<pathelement path="tools/log4j.jar"/>
</classpath>
</taskdef>
<jalopy encoding="utf-8" convention="${basedir}/tools/jalopy.xml" threads="1">
<fileset dir="${srcdir}">
<include name="**/*.java" />
</fileset>
</jalopy>
</target>
<target name="pmd">
<taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask">
<classpath>
<pathelement path="tools/pmd-4.2.5.jar"/>
</classpath>
</taskdef>
<pmd targetjdk="1.6">
<ruleset>tools/all-java-with-exclusions.xml</ruleset>
<formatter type="xml" toFile="tools/pmd.xml" />
<fileset dir=".">
<include name="**/*.java" />
</fileset>
</pmd>
<xslt in="tools/pmd.xml" style="tools/pmd.xslt" out="tools/pmd.html" />
<delete file="tools/pmd.xml" />
</target>
</project>