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