Path: blob/master/sourcetools/com.ibm.admincache/build.xml
5990 views
<?xml version="1.0"?>1<!--2Copyright (c) 2008, 2017 IBM Corp. and others34This program and the accompanying materials are made available under5the terms of the Eclipse Public License 2.0 which accompanies this6distribution and is available at https://www.eclipse.org/legal/epl-2.0/7or the Apache License, Version 2.0 which accompanies this distribution and8is available at https://www.apache.org/licenses/LICENSE-2.0.910This Source Code may also be made available under the following11Secondary Licenses when the conditions for such availability set12forth in the Eclipse Public License, v. 2.0 are satisfied: GNU13General Public License, version 2 with the GNU Classpath14Exception [1] and GNU General Public License, version 2 with the15OpenJDK Assembly Exception [2].1617[1] https://www.gnu.org/software/classpath/license.html18[2] http://openjdk.java.net/legal/assembly-exception.html1920SPDX-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-exception21-->22<project name="com.ibm.admincache" default="clean" basedir=".">23<description>24Build admincache.jar (source only)25</description>262728<!--Properties for this particular build-->29<property name="src" location="src" />3031<target name="init">32<mkdir dir="${build}" />33</target>3435<target name="compile with boot" depends="init" description="compile the source ">36<!-- Compile the java code from source directories into ${build} -->37<javac destdir="${build}" bootclasspath="${BOOT}" nowarn="on" debug="true" debuglevel="lines,vars,source">38<src path="${src}" />39</javac>4041</target>4243<target name="compile" depends="init" description="compile the source ">44<javac destdir="${build}" bootclasspath="${BOOT}" nowarn="on" debug="true" debuglevel="lines,vars,source">45<src path="src" />46</javac>47</target>4849<target name="dist" description="generate the distribution">50<!-- Store all source files in admincache.jar file -->51<zip zipfile="${dist}/admincache.jar" filesonly="true">52<fileset dir="${build}" />53<fileset dir="${src}" />54<fileset dir="manifest" />55</zip>56<delete dir="${build}" />57</target>5859<!-- clean is used by the WRT V2 build to directly build the final jar files -->60<target name="clean" description="clean up">61<!-- set global properties for this build -->62<property name="build" location="../../buildFront" />63<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter" />64<property name="dist" location="${DEST}" />6566<antcall inheritall="true" target="compile with boot" />67<antcall inheritall="true" target="dist" />68</target>6970<!-- prepare is used to build the final jar files now, to be made available to HEAD builds in the "final" directory -->71<target name="prepare" description="clean up">72<property name="dist" location="./final"/>73<property name="build" location="./build"/>7475<antcall inheritall="true" target="compile" />76<antcall inheritall="true" target="dist" />77</target>78</project>798081