Added the DbTools that will update the FrameworkDatabase.db file based on what is...
[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
d7bb5113 36 <echo message="Removing Class Files and the Java Archive: Merge.jar"/>\r
0e771cd3 37 <delete file="${installLocation}/Merge.jar"/>\r
38 </target>\r
39 <target name="install" depends="source">\r
40 <jar destfile="${installLocation}/Merge.jar">\r
41 <fileset dir="${buildDir}"/>\r
42 </jar>\r
43 </target>\r
44</project>\r