]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Java/Source/FrameworkWizard/build.xml
Fix EDKT174, auto-select library instance if only one candidate available for a libra...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / build.xml
CommitLineData
a13899c5 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="FrameworkWizard" default="FrameworkWizard" basedir=".">\r
a13899c5 13 <taskdef resource="net/sf/antcontrib/antlib.xml"/>\r
14 <property environment="env"/>\r
15 <property name="WORKSPACE" value="${env.WORKSPACE}"/>\r
16 <path id="classpath">\r
17 <fileset dir="${WORKSPACE}/Tools/Jars" includes="*.jar"/>\r
18 <fileset dir="${env.XMLBEANS_HOME}/lib" includes="*.jar"/>\r
19 </path>\r
20 <property name="buildDir" value="build"/>\r
f9cc201c 21 <property name="resourceDir" value="rsc"/>\r
a13899c5 22 <property name="installLocation" value="${WORKSPACE}/Tools/bin"/>\r
a7828769 23 <target name="FrameworkWizard" depends="install"/>\r
a13899c5 24 <target name="source">\r
25 <mkdir dir="${buildDir}"/>\r
26 <javac srcdir="src" destdir="${buildDir}">\r
27 <classpath refid="classpath"/>\r
28 <!-- <compilerarg value="-Xlint"/> -->\r
29 </javac>\r
30 </target>\r
31 <target name="clean">\r
439656f1 32 <delete includeemptydirs="true" failonerror="false" quiet="true">\r
33 <fileset dir="${WORKSPACE}/Tools/Java/Source/FrameworkWizard" includes="${buildDir}"/>\r
34 </delete>\r
a13899c5 35 </target>\r
439656f1 36 <target name="cleanall" depends="clean">\r
d7bb5113 37 <echo message="Removing Class Files and the Java Archive: FrameworkWizard.jar"/>\r
a13899c5 38 <delete file="${installLocation}/FrameworkWizard.jar"/>\r
39 </target>\r
40 <target name="install" depends="source">\r
f9cc201c 41 <jar destfile="${installLocation}/FrameworkWizard.jar" manifest="MANIFEST.MF">\r
42 <fileset dir="${buildDir}"/>\r
43 <fileset dir="${resourceDir}"/>\r
44 </jar>\r
a13899c5 45 </target>\r
46</project>\r