]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Source/PackageEditor/build.xml
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@671 6f19259b...
[mirror_edk2.git] / Tools / Source / PackageEditor / build.xml
CommitLineData
878ddf1f 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="PackageEditor" default="all" 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
19924945 18 <fileset dir="${env.XMLBEANS_HOME}/lib" includes="*.jar"/>\r
878ddf1f 19 </path>\r
20 <property name="buildDir" value="build"/>\r
21 <property name="installLocation" value="${WORKSPACE}/Tools/bin"/>\r
22 <target name="all" 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
31 <delete dir="${buildDir}"/>\r
32 </target>\r
33 <target name="cleanall">\r
34 <delete dir="${buildDir}"/>\r
35 <delete file="${installLocation}/PackageEditor.jar"/>\r
36 </target>\r
37 <target name="install" depends="source">\r
38 <jar destfile="${installLocation}/PackageEditor.jar"\r
39 basedir="${buildDir}"\r
40 includes="**"\r
41 manifest="MANIFEST.MF"\r
42 />\r
43 </target>\r
44</project>\r