summaryrefslogtreecommitdiffstats
path: root/etc/global.xml
blob: 41bf829b1a99954b02e2800e64a3dd23e1e30408 (plain)
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
<?xml version="1.0" encoding="UTF-8"?>

<project name="global" default="all" basedir=".">

	<dirname property="global.dir.etc" file="${ant.file}"/>
	<dirname property="global.dir.root" file="${global.dir.etc}"/>
	<property file="${global.dir.etc}/custom.properties" />
	<property file="${global.dir.etc}/build.properties" />
	<property file="${global.dir.etc}/log4j.properties" />

	<path id="compile-classpath">
		<fileset dir="${global.dir.lib}">
			<include name="runtime/**/*.jar"/>
		</fileset>
	</path>

	<path id="runtime-classpath">
		<pathelement path="${global.dir.build.classes}" />
		<path refid="compile-classpath" />
	</path>

    <path id="antcontrib-classpath">
        <fileset dir="${global.dir.lib}/ant">
            <include name="*.jar"/>
        </fileset>
    </path> 

    <path id="checkstyle-classpath">
        <fileset dir="${global.dir.lib}/checkstyle">
            <include name="**/*.jar"/>
        </fileset>
    </path>

    <path id="vpp-classpath">
        <fileset dir="${global.dir.lib}/vpp">
            <include name="**/*.jar" />
        </fileset>
    </path>

    <path id="findbugs-classpath">
        <fileset dir="${global.dir.lib}/findbugs">
            <include name="**/*.jar" />
        </fileset>
    </path>

    <path id="jrat-classpath">
        <fileset dir="${global.dir.lib}/jrat">
            <include name="*.jar"/>
        </fileset>
    </path> 

    <path id="cobertura-classpath">
        <fileset dir="${global.dir.lib}/log4j">
            <include name="log4j-*.jar"/>
        </fileset>
        <fileset dir="${global.dir.lib}/cobertura">
            <include name="**/*.jar" />
        </fileset>
    </path> 

    <path id="svn-classpath">
        <fileset dir="${global.dir.lib}/svn">
            <include name="**/*.jar" />
        </fileset>
    </path>

    <!-- classpath for compiling junit tasks -->
	<path id="junit-compile-classpath">
	    <fileset dir="${global.dir.lib}/junit">
		    <include name="**/*.jar" />
		</fileset>
		<path refid="runtime-classpath" />
	</path>

    <!-- classpath for running junit tasks -->
	<path id="junit-run-classpath">
	    <pathelement path="${global.dir.build.tests}"/>
	    <pathelement path="${global.dir.build.cobertura}"/>
		<pathelement path="${global.dir.src.resources}" />
		<pathelement path="${global.dir.src.tests}" />
		<path refid="junit-compile-classpath"/>
		<path refid="cobertura-classpath"/>
		<path refid="jrat-classpath"/>
	</path>






	<import file="${global.dir.etc}/targets/global-checkstyle.xml" />
	<import file="${global.dir.etc}/targets/global-clean.xml" />
	<import file="${global.dir.etc}/targets/global-cobertura.xml" />
	<import file="${global.dir.etc}/targets/global-compile.xml" />
	<import file="${global.dir.etc}/targets/global-findbugs.xml" />
	<import file="${global.dir.etc}/targets/global-inject.xml" />
	<import file="${global.dir.etc}/targets/global-jar.xml" />
	<import file="${global.dir.etc}/targets/global-javadoc.xml" />
	<import file="${global.dir.etc}/targets/global-junit.xml" />
	<import file="${global.dir.etc}/targets/global-tar.xml" />
	<import file="${global.dir.etc}/targets/global-taskdefs.xml" />
	<import file="${global.dir.etc}/targets/global-verify.xml" />
	<import file="${global.dir.etc}/targets/global-vpp.xml" />

</project>