-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.xml
124 lines (102 loc) · 4.63 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<project name="com.zanthan.xsl"
default="all">
<target name="test_01">
<delete includeEmptyDirs="true" failOnError="false">
<fileset dir="${testDir}/test_01/xslresults"/>
<fileset dir="${testDir}/test_01/txtresults"/>
</delete>
<mkdir dir="${testDir}/test_01/xslresults"/>
<mkdir dir="${testDir}/test_01/txtresults"/>
<java classname="com.zanthan.xsltxt.examples.XSLStyler" fork="yes">
<classpath refid="maven.test.classpath"/>
<arg value="${testDir}/test_01/xsl/rpt1.xsl"/>
<arg value="${testDir}/test_01/xml/test.xml"/>
<arg value="${testDir}/test_01/xslresults/rpt1.html"/>
</java>
<java classname="com.zanthan.xsltxt.examples.XSLStyler" fork="yes">
<arg value="${testDir}/test_01/xsl/rpt2.xsl"/>
<arg value="${testDir}/test_01/xml/test.xml"/>
<arg value="${testDir}/test_01/xslresults/rpt2.html"/>
<classpath refid="maven.test.classpath"/>
</java>
<java classname="com.zanthan.xsltxt.examples.XSLStyler" fork="yes">
<arg value="${testDir}/test_01/xsl/rpt3.xsl"/>
<arg value="${testDir}/test_01/xml/test.xml"/>
<arg value="${testDir}/test_01/xslresults/rpt3.html"/>
<classpath refid="maven.test.classpath"/>
</java>
<java classname="com.zanthan.xsltxt.examples.TXTStyler" fork="yes">
<arg value="${testDir}/test_01/txt/rpt1.txt"/>
<arg value="${testDir}/test_01/xml/test.xml"/>
<arg value="${testDir}/test_01/txtresults/rpt1.html"/>
<classpath refid="maven.test.classpath"/>
</java>
<java classname="com.zanthan.xsltxt.examples.TXTStyler" fork="yes">
<arg value="${testDir}/test_01/txt/rpt2.txt"/>
<arg value="${testDir}/test_01/xml/test.xml"/>
<arg value="${testDir}/test_01/txtresults/rpt2.html"/>
<classpath refid="maven.test.classpath"/>
</java>
<java classname="com.zanthan.xsltxt.examples.TXTStyler" fork="yes">
<arg value="${testDir}/test_01/txt/rpt3.txt"/>
<arg value="${testDir}/test_01/xml/test.xml"/>
<arg value="${testDir}/test_01/txtresults/rpt3.html"/>
<classpath refid="maven.test.classpath"/>
</java>
</target>
<target name="test_02"
>
<delete includeEmptyDirs="true" failOnError="false">
<fileset dir="${testDir}/test_02/xslresults"/>
<fileset dir="${testDir}/test_02/txtresults"/>
</delete>
<mkdir dir="${testDir}/test_02/xslresults"/>
<mkdir dir="${testDir}/test_02/txtresults"/>
<java classname="com.zanthan.xsltxt.examples.XSLStyler" fork="yes">
<arg value="${testDir}/test_02/xsl/analyst.xsl"/>
<arg value="${testDir}/test_02/xml/analyst.xml"/>
<arg value="${testDir}/test_02/xslresults/analyst.html"/>
<classpath refid="maven.test.classpath"/>
</java>
<java classname="com.zanthan.xsltxt.examples.TXTStyler" fork="yes">
<arg value="${testDir}/test_02/txt/analyst.txt"/>
<arg value="${testDir}/test_02/xml/analyst.xml"/>
<arg value="${testDir}/test_02/txtresults/analyst.html"/>
<classpath refid="maven.test.classpath"/>
</java>
</target>
<target name="test_03"
>
<delete includeEmptyDirs="true" failOnError="false">
<fileset dir="${testDir}/test_03/xslresults"/>
<fileset dir="${testDir}/test_03/txtresults"/>
</delete>
<mkdir dir="${testDir}/test_03/xslresults"/>
<mkdir dir="${testDir}/test_03/txtresults"/>
<!-- Delete the xsl file as it is generated from the txt one -->
<delete includeEmptyDirs="true" failOnError="false">
<fileset dir="${testDir}/test_03/xsl"/>
</delete>
<mkdir dir="${testDir}/test_03/xsl"/>
<!-- Use the txt stylesheet -->
<java classname="com.zanthan.xsltxt.examples.TXTStyler" fork="yes">
<arg value="${testDir}/test_03/txt/param_test.txt"/>
<arg value="${testDir}/test_03/xml/param_test.xml"/>
<arg value="${testDir}/test_03/txtresults/param_test.txt"/>
<classpath refid="maven.test.classpath"/>
</java>
<!-- Generate the xsl stylesheet from the txt one -->
<java classname="com.zanthan.xsltxt.examples.TXTConverter" fork="yes">
<arg value="${testDir}/test_03/txt/param_test.txt"/>
<arg value="${testDir}/test_03/xsl/param_test.xsl"/>
<classpath refid="maven.test.classpath"/>
</java>
<!-- Use the newly generated xsl stylesheet -->
<java classname="com.zanthan.xsltxt.examples.XSLStyler" fork="yes">
<arg value="${testDir}/test_03/xsl/param_test.xsl"/>
<arg value="${testDir}/test_03/xml/param_test.xml"/>
<arg value="${testDir}/test_03/xslresults/param_test.txt"/>
<classpath refid="maven.test.classpath"/>
</java>
</target>
</project>