forked from unclebob/fitnesse
-
Notifications
You must be signed in to change notification settings - Fork 1
/
crap4j_build.xml
57 lines (47 loc) · 1.8 KB
/
crap4j_build.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<project name="Fitnesse crap4j" default="all" basedir=".">
<description>
The crap4j runner for FitNesse
</description>
<property name="CRAP4J_HOME" value="crap4j"/>
<taskdef name="crap4j" classname="org.crap4j.anttask.Crap4jAntTask">
<classpath>
<fileset dir="${CRAP4J_HOME}/lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</taskdef>
<import file="build.xml"/>
<target name="run-crap4j" depends="compile">
<crap4j projectdir="."
outputDir="test-results/crap4j"
dontTest="false" debug="false">
<classes>
<!-- put the project's class directories here. These are the classes you want crap numbers for -->
<pathElement location="classes"/>
</classes>
<srces>
<!-- The project's src folders -->
<pathElement location="src"/>
</srces>
<testClasses>
<!-- The project's test classes.
Note, separating it from the project classes makes life so much easier
but if you didn't, then you probably just want to repeat the classDir entry here -->
<pathElement location="classes"/>
</testClasses>
<libClasspath>
<!-- Put the dependent paths and libraries here.
This is for stuff necessary to your project, but not stuff you want analyzed -->
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
<!-- if you get errors loading any agitar classes, like the mock classes, add this entry -->
<!--
<fileset dir="${CRAP4J_HOME}/lib/com.agitar.eclipse.api_4.2.0.401405/lib/ext">
<include name="**/*.jar" />
</fileset>
-->
</libClasspath>
</crap4j>
</target>
</project>