xref: /trunk/main/jvmfwk/java/jreproperties/build.xml (revision 8cb913c4)
1*8cb913c4SDamjan Jovanovic<?xml version="1.0" encoding="UTF-8"?>
2*8cb913c4SDamjan Jovanovic<!--***********************************************************
3*8cb913c4SDamjan Jovanovic *
4*8cb913c4SDamjan Jovanovic * Licensed to the Apache Software Foundation (ASF) under one
5*8cb913c4SDamjan Jovanovic * or more contributor license agreements.  See the NOTICE file
6*8cb913c4SDamjan Jovanovic * distributed with this work for additional information
7*8cb913c4SDamjan Jovanovic * regarding copyright ownership.  The ASF licenses this file
8*8cb913c4SDamjan Jovanovic * to you under the Apache License, Version 2.0 (the
9*8cb913c4SDamjan Jovanovic * "License"); you may not use this file except in compliance
10*8cb913c4SDamjan Jovanovic * with the License.  You may obtain a copy of the License at
11*8cb913c4SDamjan Jovanovic *
12*8cb913c4SDamjan Jovanovic *   http://www.apache.org/licenses/LICENSE-2.0
13*8cb913c4SDamjan Jovanovic *
14*8cb913c4SDamjan Jovanovic * Unless required by applicable law or agreed to in writing,
15*8cb913c4SDamjan Jovanovic * software distributed under the License is distributed on an
16*8cb913c4SDamjan Jovanovic * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17*8cb913c4SDamjan Jovanovic * KIND, either express or implied.  See the License for the
18*8cb913c4SDamjan Jovanovic * specific language governing permissions and limitations
19*8cb913c4SDamjan Jovanovic * under the License.
20*8cb913c4SDamjan Jovanovic *
21*8cb913c4SDamjan Jovanovic ***********************************************************-->
22*8cb913c4SDamjan Jovanovic
23*8cb913c4SDamjan Jovanovic
24*8cb913c4SDamjan Jovanovic<project name="jreproperties" default="main">
25*8cb913c4SDamjan Jovanovic
26*8cb913c4SDamjan Jovanovic    <property file="../../../ant.properties"/>
27*8cb913c4SDamjan Jovanovic    <import file="${SRC_ROOT}/solenv/ant/aoo-ant.xml"/>
28*8cb913c4SDamjan Jovanovic
29*8cb913c4SDamjan Jovanovic    <!-- custom delivery: JREProperties.class must be in ${OUTDIR}/bin and ${OUTDIR}/lib -->
30*8cb913c4SDamjan Jovanovic    <!-- The JAR is irrelevant and only there to make gbuild happy. -->
31*8cb913c4SDamjan Jovanovic
32*8cb913c4SDamjan Jovanovic    <target name="main" depends="jar">
33*8cb913c4SDamjan Jovanovic        <copy file="${main.build.dir}/JREProperties.class"
34*8cb913c4SDamjan Jovanovic            tofile="${OUTDIR}/bin/JREProperties.class"/>
35*8cb913c4SDamjan Jovanovic        <copy file="${main.build.dir}/JREProperties.class"
36*8cb913c4SDamjan Jovanovic            tofile="${OUTDIR}/lib/JREProperties.class"/>
37*8cb913c4SDamjan Jovanovic    </target>
38*8cb913c4SDamjan Jovanovic
39*8cb913c4SDamjan Jovanovic    <target name="clean-delivered-class" extensionOf="pre-clean">
40*8cb913c4SDamjan Jovanovic        <delete file="${OUTDIR}/bin/JREProperties.class"/>
41*8cb913c4SDamjan Jovanovic        <delete file="${OUTDIR}/lib/JREProperties.class"/>
42*8cb913c4SDamjan Jovanovic    </target>
43*8cb913c4SDamjan Jovanovic
44*8cb913c4SDamjan Jovanovic</project>
45*8cb913c4SDamjan Jovanovic
46