]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Java/Source/Merge/build.xml
Fixed the build.xml files so that clean and cleanall actually removes the temporary...
[mirror_edk2.git] / Tools / Java / Source / Merge / build.xml
CommitLineData
0e771cd3 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="Merge" default="Merge" 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 <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
21 <property name="installLocation" value="${WORKSPACE}/Tools/bin"/>\r
22 <target name="Merge" depends="install"/>\r
23 <target name="source">\r
24 <mkdir dir="${buildDir}"/>\r
25 <javac srcdir="src" destdir="${buildDir}">\r
26 <classpath refid="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/Merge" includes="${buildDir}"/>\r
33 </delete>\r
0e771cd3 34 </target>\r
439656f1 35 <target name="cleanall" depends="clean">\r
0e771cd3 36 <delete file="${installLocation}/Merge.jar"/>\r
37 </target>\r
38 <target name="install" depends="source">\r
39 <jar destfile="${installLocation}/Merge.jar">\r
40 <fileset dir="${buildDir}"/>\r
41 </jar>\r
42 </target>\r
43</project>\r