-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildTest.xml
executable file
·39 lines (38 loc) · 1.76 KB
/
buildTest.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="checkRequirements" basedir="." default="all">
<property name="reports.codeQuality" value="."/>
<property name="requirementSetFile.location"
value="ReglesDeGestion.xls"/>
<property name="module.grails" value="."/>
<property name="outputType" value="xml"/>
<property name="inputType" value="excel"/>
<path id="checkRequirements.path">
<fileset dir="./libs">
<include name="*.jar"/>
</fileset>
</path>
<target name="test1">
<taskdef name="checkRequirements" classname="checkRequirements.ant.task.CheckRequirementsTask" classpathref="checkRequirements.path"/>
<checkRequirements outputdir="${reports.codeQuality}"
outputfile="checkRequirements.${outputType}"
requirementssetfile="${requirementSetFile.location}"
outputstyle="xml"
inputType="${inputType}">
<fileset dir="${module.grails}">
<include name="**/*.groovy"/>
</fileset>
</checkRequirements>
</target>
<target name="test2">
<taskdef name="checkRequirements" classname="checkRequirements.ant.task.CheckRequirementsTask" classpathref="checkRequirements.path"/>
<checkRequirements outputdir="${reports.codeQuality}"
outputfile="checkRequirements.txt"
requirementssetfile="${requirementSetFile.location}"
inputType="${inputType}">
<fileset dir="${module.grails}">
<include name="**/*.groovy"/>
</fileset>
</checkRequirements>
</target>
<target name="all" depends="test1,test2"/>
</project>