]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Java/Source/DbTools/build.xml
Added the DbTools that will update the FrameworkDatabase.db file based on what is...
[mirror_edk2.git] / Tools / Java / Source / DbTools / build.xml
1 <?xml version="1.0"?>
2 <!--
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 -->
12 <project name="DbTools" default="DbTools" basedir=".">
13 <taskdef resource="net/sf/antcontrib/antlib.xml"/>
14 <property environment="env"/>
15 <property name="WORKSPACE" value="${env.WORKSPACE}"/>
16 <path id="classpath">
17 <fileset dir="${WORKSPACE}/Tools/Jars" includes="*.jar"/>
18 <fileset dir="${env.XMLBEANS_HOME}/lib" includes="*.jar"/>
19 </path>
20 <property name="buildDir" value="build"/>
21 <property name="installLocation" value="${WORKSPACE}/Tools/Jars"/>
22 <target name="DbTools" depends="install"/>
23 <target name="source">
24 <mkdir dir="${buildDir}"/>
25 <javac srcdir="src" destdir="${buildDir}">
26 <classpath refid="classpath"/>
27 <!-- <compilerarg value="-Xlint"/> -->
28 </javac>
29 </target>
30 <target name="clean">
31 <delete dir="${buildDir}"/>
32 </target>
33 <target name="cleanall">
34 <delete dir="${buildDir}"/>
35 <delete file="${installLocation}/DbTools.jar"/>
36 </target>
37 <target name="install" depends="source">
38 <jar destfile="${installLocation}/DbTools.jar">
39 <fileset dir="${buildDir}"/>
40 </jar>
41 </target>
42 </project>