FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
WorldWindJava/build/test.xml at master · moovida/WorldWindJava · GitHub
moovida
/
WorldWindJava
Public
forked from
NASAWorldWind/WorldWindJava
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
WorldWindJava
/
build
/
test.xml
Copy path
More file actions
More file actions
Latest commit
History
History
History
80 lines (74 loc) · 3.97 KB
Breadcrumbs
WorldWindJava
/
build
/
test.xml
Copy path
File metadata and controls
80 lines (74 loc) · 3.97 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<?
xml
version
=
"
1.0
"
encoding
=
"
ISO-8859-1
"
?>
<!--
~ Copyright (C) 2012 United States Government as represented by the Administrator of the
~ National Aeronautics and Space Administration.
~ All Rights Reserved.
-->
<!--
$Id: test.xml 1292 2013-04-23 16:32:48Z dcollins $
-->
<
project
name
=
"
test
"
>
<!--
Compiles all World Wind Java sources under the 'test' folder into Java class files under the 'testClasses'
folder. We configure the javac task parameters 'source' and 'target' in order to explicitly control the Java
compiler version used to build World Wind classes. Without these parameters, the javac task would use the most
recent compiler available on the current machine, and the Java compiler version used to build WorldWind classes
would be unpredictable. For this reason, the Apache ANT manual strongly recommends specifying the 'source' and
'target' parameters. See the following link for more detail: http://ant.apache.org/manual/CoreTasks/javac.html
The Java compiler version used by the javac task is defined by the build parameter 'worldwind.jdk.version'.
By default, this parameter is defined in the file 'build/build.properties'.
-->
<
target
name
=
"
compile.tests
"
depends
=
"
compile
"
>
<
mkdir
dir
=
"
${worldwind.test.classes.dir}
"
/>
<
javac
srcdir
=
"
${worldwind.test.src.dir}
"
destdir
=
"
${worldwind.test.classes.dir}
"
source
=
"
${worldwind.jdk.version}
"
target
=
"
${worldwind.jdk.version}
"
encoding
=
"
UTF-8
"
fork
=
"
true
"
includeantruntime
=
"
false
"
memoryMaximumSize
=
"
512m
"
>
<
classpath
>
<
pathelement
location
=
"
${worldwind.classes.dir}
"
/>
<
pathelement
location
=
"
jogl-all.jar
"
/>
<
pathelement
location
=
"
gluegen-rt.jar
"
/>
<
pathelement
location
=
"
gdal.jar
"
/>
<
pathelement
location
=
"
build/lib/junit-4.5.jar
"
/>
<
pathelement
location
=
"
${java.home}/lib/plugin.jar
"
/>
</
classpath
>
<
compilerarg
value
=
"
-Xlint:unchecked
"
/>
<
compilerarg
value
=
"
-Xlint:-options
"
/>
</
javac
>
</
target
>
<!--
Runs all World Wind Java JUnit tests and places the test results in the 'testResults' folder. Each test result
outputs a single XML file formatted by JUnit. This runs all tests regardless of whether an individual tests
fails.
-->
<
target
name
=
"
run.tests
"
depends
=
"
clean.test.reports, compile.tests
"
>
<
mkdir
dir
=
"
${worldwind.test.reports.dir}
"
/>
<
junit
haltonfailure
=
"
false
"
fork
=
"
true
"
maxmemory
=
"
512m
"
>
<
classpath
>
<
pathelement
location
=
"
${worldwind.src.dir}
"
/>
<
pathelement
location
=
"
${worldwind.classes.dir}
"
/>
<
pathelement
location
=
"
${worldwind.test.classes.dir}
"
/>
<
pathelement
location
=
"
jogl-all.jar
"
/>
<
pathelement
location
=
"
gluegen-rt.jar
"
/>
<
pathelement
location
=
"
gdal.jar
"
/>
<
pathelement
location
=
"
build/lib/junit-4.5.jar
"
/>
<
pathelement
location
=
"
${java.home}/lib/plugin.jar
"
/>
</
classpath
>
<
formatter
type
=
"
xml
"
/>
<
batchtest
todir
=
"
${worldwind.test.reports.dir}
"
>
<
fileset
dir
=
"
${worldwind.test.classes.dir}
"
>
<
include
name
=
"
**/*Test*.class
"
/>
</
fileset
>
</
batchtest
>
</
junit
>
</
target
>
<!--
Individual clean targets corresponding to each build target above.
-->
<
target
name
=
"
clean.test.classes
"
>
<
delete
dir
=
"
${worldwind.test.classes.dir}
"
/>
</
target
>
<
target
name
=
"
clean.test.reports
"
>
<
delete
dir
=
"
${worldwind.test.reports.dir}
"
/>
</
target
>
<!--
Main clean target for test build targets. Removes all files and directories created by all test build targets.
-->
<
target
name
=
"
clean.test.all
"
depends
=
"
clean.test.classes, clean.test.reports
"
/>
</
project
>
Back
|
FazBrowse Home
|
New Git URL