]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Java/Source/FrameworkTasks/build.xml
Fix the build break by removing an unreferenced static function.
[mirror_edk2.git] / Tools / Java / Source / FrameworkTasks / build.xml
CommitLineData
878ddf1f 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
a7828769 12<project name="FrameworkTasks" default="FrameworkTasks">\r
878ddf1f 13 <taskdef resource="net/sf/antcontrib/antlib.xml"/>\r
14 <property environment="env"/>\r
d7bb5113 15 <property name="WORKSPACE" value="${env.WORKSPACE}"/>\r
878ddf1f 16 <property name="buildDir" value="build"/>\r
d7bb5113 17 <property name="installLocation" value="${WORKSPACE}/Tools/Jars"/>\r
a7828769 18 <target name="FrameworkTasks" depends="install"/>\r
878ddf1f 19 <target name="source">\r
20 <mkdir dir="${buildDir}"/>\r
21 <javac srcdir="." destdir="${buildDir}">\r
22 <classpath>\r
d7bb5113 23 <fileset dir="${WORKSPACE}/Tools/Jars">\r
878ddf1f 24 <include name="*.jar"/>\r
25 </fileset>\r
26 </classpath>\r
27 <compilerarg value="-Xlint"/>\r
28 </javac>\r
29 </target>\r
30 <target name="clean">\r
439656f1 31 <delete includeemptydirs="true" failonerror="false" quiet="true">\r
32 <fileset dir="${WORKSPACE}/Tools/Java/Source/FrameworkTasks" includes="${buildDir}"/>\r
33 </delete>\r
878ddf1f 34 </target>\r
439656f1 35 <target name="cleanall" depends="clean">\r
d7bb5113 36 <echo message="Removing Class Files and the Java Archive: frameworktasks.jar"/>\r
617cc72b 37 <delete file="${installLocation}/frameworktasks.jar"/>\r
878ddf1f 38 <if>\r
39 <available file="${installLocation}/frameworktasks.jar"/>\r
40 <then>\r
41 <echo message="You must manually remove the file: ${installLocation}/frameworktasks.jar"/>\r
42 <echo message="Java has already loaded the file, and cannot remove it within ANT!"/>\r
43 </then>\r
44 </if>\r
45 </target>\r
46 <target name="install" depends="source">\r
47 <copy file="frameworktasks.tasks" toDir="${buildDir}"/>\r
48 <jar destfile="${installLocation}/frameworktasks.jar"\r
49 basedir="${buildDir}"\r
50 includes="**"\r
51 />\r
52 </target>\r
53</project>\r