Cross Reference: build.xml
xref
: /
openjdk7
/
jdk
/
src
/
share
/
demo
/
java2d
/
J2DBench
/
build.xml
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
0
N/A
<!--
2362
N/A
Copyright (c) 2005, 2006, Oracle
and
/
or
its affiliates. All rights reserved.
0
N/A
0
N/A
Redistribution and use in source and binary forms, with or without
0
N/A
modification, are permitted provided that the following conditions
0
N/A
are met:
0
N/A
0
N/A
- Redistributions of source code must retain the above copyright
0
N/A
notice, this list of conditions and the following disclaimer.
0
N/A
0
N/A
- Redistributions in binary form must reproduce the above copyright
0
N/A
notice, this list of conditions and the following disclaimer in the
0
N/A
documentation
and
/
or
other materials provided with the distribution.
0
N/A
2362
N/A
- Neither the name of Oracle nor the names of its
0
N/A
contributors may be used to endorse or promote products derived
0
N/A
from this software without specific prior written permission.
0
N/A
0
N/A
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
0
N/A
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
0
N/A
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
0
N/A
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
0
N/A
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
0
N/A
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
0
N/A
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
0
N/A
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
0
N/A
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
0
N/A
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
0
N/A
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0
N/A
-->
0
N/A
0
N/A
<
project
name=
"J2DBench"
default=
"dist"
basedir=
"."
>
0
N/A
<
description
>
0
N/A
simple example build file
0
N/A
</
description
>
0
N/A
<!-- set global properties for this build -->
0
N/A
<
property
name=
"src"
location=
"src"
/>
0
N/A
<
property
name=
"build"
location=
"build"
/>
0
N/A
<
property
name=
"dist"
location=
"dist"
/>
0
N/A
<
property
name=
"resources"
location=
"resources"
/>
0
N/A
0
N/A
<
target
name=
"init"
>
0
N/A
<!-- Create the time stamp -->
0
N/A
<
tstamp
/>
0
N/A
<!-- Create the build directory structure used by compile -->
0
N/A
<
mkdir
dir=
"${build}"
/>
0
N/A
</
target
>
0
N/A
0
N/A
<
target
name=
"compile"
depends=
"init"
0
N/A
description=
"compile the source "
>
0
N/A
<!-- Compile the java code from ${src} into ${build} -->
0
N/A
<
javac
debug=
"false"
source=
"1.2"
target=
"1.2"
srcdir=
"${src}"
destdir=
"${build}"
/>
0
N/A
</
target
>
0
N/A
0
N/A
<
target
name=
"run"
depends=
"dist"
0
N/A
description=
"run J2DBench"
>
0
N/A
<
java
jar=
"${dist}/
J2DBench.jar
"
0
N/A
fork=
"true"
0
N/A
>
0
N/A
</
java
>
0
N/A
</
target
>
0
N/A
0
N/A
<
target
name=
"analyze"
depends=
"dist"
0
N/A
description=
"run J2DAnalyzer"
>
0
N/A
<
java
jar=
"${dist}/
J2DAnalyzer.jar
"
0
N/A
fork=
"true"
0
N/A
>
0
N/A
</
java
>
0
N/A
</
target
>
0
N/A
0
N/A
<
target
name=
"resources"
depends=
"init"
0
N/A
description=
"copy resources into build dir"
>
0
N/A
<!-- Copy the resource files from ${resources} into ${build}/ -->
0
N/A
<
mkdir
dir=
"${dist}"
/>
0
N/A
<
mkdir
dir=
"${build}/
j2dbench
/
tests
/
text
/
textdata
"
/>
0
N/A
<
copy
todir=
"${build}/
j2dbench
/
tests
/
text
/
textdata
"
>
0
N/A
<
fileset
dir=
"${resources}/textdata"
/>
0
N/A
</
copy
>
0
N/A
<
mkdir
dir=
"${build}/
j2dbench
/
tests
/
iio
/
images
"
/>
0
N/A
<
copy
todir=
"${build}/
j2dbench
/
tests
/
iio
/
images
"
>
0
N/A
<
fileset
dir=
"${resources}/images"
/>
0
N/A
</
copy
>
0
N/A
</
target
>
0
N/A
0
N/A
<
target
name=
"dist"
depends=
"compile, resources"
0
N/A
description=
"generate the distribution"
>
0
N/A
<!-- Create the distribution directory -->
0
N/A
<
mkdir
dir=
"${dist}"
/>
0
N/A
0
N/A
<!-- Put everything in ${build} into the
J2DBench.jar
file -->
0
N/A
<
jar
jarfile=
"${dist}/
J2DBench.jar
"
basedir=
"${build}"
0
N/A
excludes=
"
j2dbench
/
report
/**"
>
0
N/A
<
manifest
>
0
N/A
<
attribute
name=
"Built-By"
value=
"${
user.name
}"
/>
0
N/A
<
attribute
name=
"Main-Class"
value=
"
j2dbench.J2DBench
"
/>
0
N/A
</
manifest
>
0
N/A
</
jar
>
0
N/A
<
jar
jarfile=
"${dist}/
J2DAnalyzer.jar
"
basedir=
"${build}"
0
N/A
includes=
"
j2dbench
/
report
/**"
>
0
N/A
<
manifest
>
0
N/A
<
attribute
name=
"Built-By"
value=
"${
user.name
}"
/>
0
N/A
<
attribute
name=
"Main-Class"
value=
"
j2dbench.report.J2DAnalyzer
"
/>
0
N/A
</
manifest
>
0
N/A
</
jar
>
0
N/A
</
target
>
0
N/A
0
N/A
<
target
name=
"clean"
0
N/A
description=
"clean up"
>
0
N/A
<!-- Delete the ${build} and ${dist} directory trees -->
0
N/A
<
delete
dir=
"${build}"
/>
0
N/A
<
delete
dir=
"${dist}"
/>
0
N/A
</
target
>
0
N/A
</
project
>