File: common-ant.ant-inc.xml

package info (click to toggle)
libgroboutils-java 5-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 7,996 kB
  • ctags: 9,436
  • sloc: java: 59,880; xml: 12,732; sh: 377; perl: 104; makefile: 20
file content (192 lines) | stat: -rw-r--r-- 8,606 bytes parent folder | download | duplicates (3)
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!-- Common properties/tasks that are shared by all projects

However, for possible overrides, these are all prefixed by
"_shared.common."

 @version: $Date: 2004/04/17 08:24:38 $
 -->
    <!-- project-specific properties overrides -->
    <property file="build.properties" />
    
    <!-- GroboUtils-specific properties -->
    <property file="../build.properties" />
    
    <!-- user-specific properties -->
    <property file="${user.home}/build.properties" />
 

    <!-- Directory Structure -->
    <property name="_shared.common.dirs.sources" value="${basedir}/sources" />
    <property name="_shared.common.dirs.sources.dev"
        value="${basedir}/sources/dev" />
    <property name="_shared.common.dirs.sources.eut" value="${basedir}/sources/eut" />
    <property name="_shared.common.dirs.sources.ut" value="${basedir}/sources/ut" />
    <property name="_shared.common.dirs.sources.iut" value="${basedir}/sources/iut" />
    <property name="_shared.common.dirs.sources.ait" value="${basedir}/sources/ait" />
    
    <property name="_shared.common.dirs.xdocs" value="${basedir}/xdocs" />
    
    <property name="_shared.common.dirs.manifests" value="${basedir}/packages" />
    
    <!-- Generated directories -->
    <property name="_shared.common.dirs.work" value="${basedir}/work" />
    <property name="_shared.common.dirs.classes"
        value="${_shared.common.dirs.work}/classes" />
    <property name="_shared.common.dirs.classes.dev"
        value="${_shared.common.dirs.classes}/dev" />
    <property name="_shared.common.dirs.classes.eut"
        value="${_shared.common.dirs.classes}/eut" />
    <property name="_shared.common.dirs.classes.ut"
        value="${_shared.common.dirs.classes}/ut" />
    <property name="_shared.common.dirs.classes.iut"
        value="${_shared.common.dirs.classes}/iut" />
    <property name="_shared.common.dirs.classes.ait"
        value="${_shared.common.dirs.classes}/ait" />
    
    <property name="_shared.common.dirs.coverage"
        value="${_shared.common.dirs.work}/coverage" />
    <property name="_shared.common.dirs.test-output"
        value="${_shared.common.dirs.work}/test-out" />
    
    <property name="_shared.common.dirs.deploy-base" value="${basedir}/deploy" />
    <property name="_shared.common.dirs.deploy"
        value="${_shared.common.dirs.deploy-base}/${product}-${version}" />
    <property name="_shared.common.dirs.deploy.lib"
        value="${_shared.common.dirs.deploy}/lib" />
    <property name="_shared.common.dirs.deploy.docs"
        value="${_shared.common.dirs.deploy}/docs" />
    <property name="_shared.common.dirs.deploy.api-docs"
        value="${_shared.common.dirs.deploy.docs}/api" />

    
    
    
    <!-- output files -->
    <property name="_shared.common.output.jar-name.dev.root"
        value="${basedir}/${product}-${version}-core.jar" />
    <property name="_shared.common.output.jar-name.dev"
        value="${_shared.common.dirs.deploy.lib}/${product}-${version}-core.jar" />
    <property name="_shared.common.output.jar-name.eut"
        value="${_shared.common.dirs.deploy.lib}/${product}-${version}-eutests.jar" />
    <property name="_shared.common.output.jar-name.ut"
        value="${_shared.common.dirs.deploy.lib}/${product}-${version}-utests.jar" />
    <property name="_shared.common.output.jar-name.iut"
        value="${_shared.common.dirs.deploy.lib}/${product}-${version}-iutests.jar" />
    <property name="_shared.common.output.jar-name.ait"
        value="${_shared.common.dirs.deploy.lib}/${product}-${version}-aitests.jar" />
    
    <property name="_shared.common.output.doc-zip"
        value="${_shared.common.dirs.deploy-base}/${product}-${version}-doc.zip" />
    <property name="_shared.common.output.src-zip"
        value="${_shared.common.dirs.deploy-base}/${product}-${version}-src.zip" />
    <property name="_shared.common.output.deploy-zip"
        value="${_shared.common.dirs.deploy-base}/${product}-${version}.zip" />
    <property name="_shared.common.output.deploy-tgz"
        value="${_shared.common.dirs.deploy-base}/${product}-${version}.tar.gz" />
    <property name="_shared.common.output.deploy-tbz2"
        value="${_shared.common.dirs.deploy-base}/${product}-${version}.tar.bz2" />
    <property name="_shared.common.output.deploy-tar"
        value="${_shared.common.dirs.deploy-base}/${product}-${version}.tar" />

        
    
    <!-- Pattern sets -->
    <patternset id="testset.onlinetests">
        <exclude name="**/*Online*Test.java" if="global.offline" />
        <exclude name="**/*Online*Test.class" if="global.offline" />
    </patternset>
    
    
    <!-- used for JDK1.2 mixed packages - it requires JDK 1.2 -->
    <patternset id="testset.jdk12tests">
        <exclude name="**/*JDK12*Test.java"
            unless="_shared.common.depend.has-jdk12" />
        <exclude name="**/*JDK12*Test.class"
            unless="_shared.common.depend.has-jdk12" />
    </patternset>
    
    
    <!-- used for EasyMock support detection - it requires JDK 1.3 -->
    <patternset id="testset.jdk13tests">
        <exclude name="**/*JDK13*Test.java"
            unless="_shared.common.depend.has-jdk13" />
        <exclude name="**/*JDK13*Test.class"
            unless="_shared.common.depend.has-jdk13" />
    </patternset>
    
    
    <!-- used for JDK 1.4 mixed packages - it requires JDK 1.4 -->
    <patternset id="testset.jdk14tests">
        <exclude name="**/*JDK14*Test.java"
            unless="_shared.common.depend.has-jdk14" />
        <exclude name="**/*JDK14*Test.class"
            unless="_shared.common.depend.has-jdk14" />
    </patternset>
    
    
    <!-- used for JDK1.2 mixed packages - it requires JDK 1.2 -->
    <patternset id="codeset.jdk12">
        <exclude name="**/*JDK12*.java"
            unless="_shared.common.depend.has-jdk12" />
        <exclude name="**/*JDK12*.class"
            unless="_shared.common.depend.has-jdk12" />
    </patternset>
    
    
    <!-- used for EasyMock support detection - it requires JDK 1.3 -->
    <patternset id="codeset.jdk13">
        <exclude name="**/*JDK13*.java"
            unless="_shared.common.depend.has-jdk13" />
        <exclude name="**/*JDK13*.class"
            unless="_shared.common.depend.has-jdk13" />
    </patternset>
    
    
    <!-- used for JDK 1.4 mixed packages - it requires JDK 1.4 -->
    <patternset id="codeset.jdk14">
        <exclude name="**/*JDK14*.java"
            unless="_shared.common.depend.has-jdk14" />
        <exclude name="**/*JDK14*.class"
            unless="_shared.common.depend.has-jdk14" />
    </patternset>
    
    
    <!-- code coverage test task
    <path id="_shared.classpath.hansel">
        <pathelement location="${_shared.dirs.3rdparty}/hansel/0.93/hansel.jar" />
        <pathelement location="${_shared.dirs.3rdparty}/bcel/5.0/bcel.jar" />
        <pathelement location="${_shared.dirs.3rdparty}/junit/3.8.1/junit.jar" />
    </path>
    <taskdef name="hansel.coverage" classname="org.hansel.AntCoverageTask">
        <classpath><path refid="_shared.classpath.hansel" /></classpath>
    </taskdef>
    -->
    
    <!--
    <path id="_shared.classpath.quilt">
        <pathelement location="${_shared.dirs.3rdparty}/quilt/0.4/quilt-0.4a.jar" />
        <pathelement location="${_shared.dirs.3rdparty}/bcel/5.0/bcel.jar" />
        <pathelement location="${_shared.dirs.3rdparty}/junit/3.8.1/junit.jar" />
        <pathelement location="${_shared.dirs.3rdparty}/quilt/0.4/commons-cli.jar" />
        <pathelement location="${_shared.dirs.3rdparty}/quilt/0.4/commons-collections.jar" />
        <pathelement location="${_shared.dirs.3rdparty}/quilt/0.4/graph.jar" />
        <pathelement location="${_shared.dirs.3rdparty}/quilt/0.4/colt.jar" />
    </path>
    <taskdef name="quilt"
         classname="junit.quilt.ant.AntQuiltRunner"
         classpathref="_shared.classpath.quilt" />
    -->
    
    
    
    
    <path id="classpath.bootstrap.grobocoverage.ant">
        <pathelement location="${_shared.dirs.base}/bootstrap/GroboCodeCoverage-1.1.0-ant.jar" />
    </path>
    <path id="classpath.bootstrap.grobocoverage.runtime">
        <pathelement location="${_shared.dirs.base}/bootstrap/GroboCodeCoverage-1.1.0-runtime.jar" />
    </path>
    <taskdef resource="ant-grobocoverage.properties">
        <classpath refid="classpath.bootstrap.grobocoverage.ant" />
    </taskdef>