]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Java/Source/CheckTools/build.xml
Changed invalid tool chain tag name to WARNING rather than an ERROR
[mirror_edk2.git] / Tools / Java / Source / CheckTools / build.xml
1 <?xml version="1.0"?>
2 <!--
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 -->
12 <project name="CheckTools" default="CheckTools" basedir=".">
13 <taskdef resource="net/sf/antcontrib/antlib.xml"/>
14 <property environment="env"/>
15 <property name="WORKSPACE" value="${env.WORKSPACE}"/>
16 <property name="buildDir" value="build"/>
17 <property name="installLocation" value="${WORKSPACE}/Tools/bin"/>
18 <target name="CheckTools" depends="install"/>
19
20 <target name="source">
21 <mkdir dir="${buildDir}"/>
22 <javac srcdir="src" destdir="${buildDir}"/>
23 </target>
24
25 <target name="clean">
26 <delete includeemptydirs="true" failonerror="false" quiet="true">
27 <fileset dir="${WORKSPACE}/Tools/Java/Source/CheckTools" includes="${buildDir}"/>
28 </delete>
29 </target>
30
31 <target name="cleanall" depends="clean">
32 <echo message="Removing Class Files and the Java Archive: CheckTools.jar"/>
33 <delete file="${installLocation}/CheckTools.jar"/>
34 </target>
35
36 <target name="install" depends="source">
37 <jar destfile="${installLocation}/CheckTools.jar">
38 <fileset dir="${buildDir}"/>
39 </jar>
40 </target>
41
42 </project>