forked from liferay/alloy-taglibs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-test.xml
43 lines (34 loc) · 984 Bytes
/
build-test.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
<?xml version="1.0"?>
<project name="build-test" xmlns:antelope="antlib:ise.antelope.tasks">
<target name="clean-test">
<delete dir="test-classes" />
</target>
<target name="compile-test">
<mkdir dir="test-classes/unit" />
<javac
classpathref="project.classpath"
compiler="${javac.compiler}"
debug="${javac.debug}"
deprecation="${javac.deprecation}"
destdir="test-classes/unit"
includeAntRuntime="false"
nowarn="${javac.nowarn}"
srcdir="test/unit"
/>
</target>
<target name="test" depends="compile,compile-test">
<junit fork="false" printsummary="yes" haltonfailure="yes">
<classpath>
<path refid="project.classpath" />
<pathelement location="test-classes/unit" />
</classpath>
<batchtest>
<formatter type="plain" usefile="false" />
<fileset dir="test-classes/unit">
<include name="**/*Test.class" />
</fileset>
</batchtest>
</junit>
<antcall target="print-current-time" />
</target>
</project>