Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/sourcetools/com.ibm.admincache/build.xml
5990 views
1
<?xml version="1.0"?>
2
<!--
3
Copyright (c) 2008, 2017 IBM Corp. and others
4
5
This program and the accompanying materials are made available under
6
the terms of the Eclipse Public License 2.0 which accompanies this
7
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
8
or the Apache License, Version 2.0 which accompanies this distribution and
9
is available at https://www.apache.org/licenses/LICENSE-2.0.
10
11
This Source Code may also be made available under the following
12
Secondary Licenses when the conditions for such availability set
13
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
14
General Public License, version 2 with the GNU Classpath
15
Exception [1] and GNU General Public License, version 2 with the
16
OpenJDK Assembly Exception [2].
17
18
[1] https://www.gnu.org/software/classpath/license.html
19
[2] http://openjdk.java.net/legal/assembly-exception.html
20
21
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
22
-->
23
<project name="com.ibm.admincache" default="clean" basedir=".">
24
<description>
25
Build admincache.jar (source only)
26
</description>
27
28
29
<!--Properties for this particular build-->
30
<property name="src" location="src" />
31
32
<target name="init">
33
<mkdir dir="${build}" />
34
</target>
35
36
<target name="compile with boot" depends="init" description="compile the source ">
37
<!-- Compile the java code from source directories into ${build} -->
38
<javac destdir="${build}" bootclasspath="${BOOT}" nowarn="on" debug="true" debuglevel="lines,vars,source">
39
<src path="${src}" />
40
</javac>
41
42
</target>
43
44
<target name="compile" depends="init" description="compile the source ">
45
<javac destdir="${build}" bootclasspath="${BOOT}" nowarn="on" debug="true" debuglevel="lines,vars,source">
46
<src path="src" />
47
</javac>
48
</target>
49
50
<target name="dist" description="generate the distribution">
51
<!-- Store all source files in admincache.jar file -->
52
<zip zipfile="${dist}/admincache.jar" filesonly="true">
53
<fileset dir="${build}" />
54
<fileset dir="${src}" />
55
<fileset dir="manifest" />
56
</zip>
57
<delete dir="${build}" />
58
</target>
59
60
<!-- clean is used by the WRT V2 build to directly build the final jar files -->
61
<target name="clean" description="clean up">
62
<!-- set global properties for this build -->
63
<property name="build" location="../../buildFront" />
64
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter" />
65
<property name="dist" location="${DEST}" />
66
67
<antcall inheritall="true" target="compile with boot" />
68
<antcall inheritall="true" target="dist" />
69
</target>
70
71
<!-- prepare is used to build the final jar files now, to be made available to HEAD builds in the "final" directory -->
72
<target name="prepare" description="clean up">
73
<property name="dist" location="./final"/>
74
<property name="build" location="./build"/>
75
76
<antcall inheritall="true" target="compile" />
77
<antcall inheritall="true" target="dist" />
78
</target>
79
</project>
80
81