]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Java/Source/FrameworkWizard/build.xml
c93693025455f69af2f7f667af0033bb48167134
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / 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="FrameworkWizard" default="FrameworkWizard" 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="resourceDir" value="rsc"/>
22 <property name="installLocation" value="${WORKSPACE}/Tools/bin"/>
23 <target name="FrameworkWizard" depends="install"/>
24 <target name="source">
25 <mkdir dir="${buildDir}"/>
26 <javac srcdir="src" destdir="${buildDir}">
27 <classpath refid="classpath"/>
28 <!-- <compilerarg value="-Xlint"/> -->
29 </javac>
30 </target>
31 <target name="clean">
32 <delete includeemptydirs="true" failonerror="false" quiet="true">
33 <fileset dir="${WORKSPACE}/Tools/Java/Source/FrameworkWizard" includes="${buildDir}"/>
34 </delete>
35 </target>
36 <target name="cleanall" depends="clean">
37 <delete file="${installLocation}/FrameworkWizard.jar"/>
38 </target>
39 <target name="install" depends="source">
40 <jar destfile="${installLocation}/FrameworkWizard.jar" manifest="MANIFEST.MF">
41 <fileset dir="${buildDir}"/>
42 <fileset dir="${resourceDir}"/>
43 </jar>
44 </target>
45 </project>