Fixed Enumeration ModuleType was suppose to be TOOL, not TOOLS.
[mirror_edk2.git] / Tools / Source / FrameworkWizard / build.xml
index a9b00a39352a4ffdf96c63690c8b5adda823838e..b9fc0b495baf62047b4d72757084efe3487678a3 100644 (file)
@@ -9,7 +9,7 @@ http://opensource.org/licenses/bsd-license.php
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 -->\r
-<project name="FrameworkWizard" default="all" basedir=".">\r
+<project name="FrameworkWizard" default="FrameworkWizard" basedir=".">\r
   <taskdef resource="net/sf/antcontrib/antlib.xml"/>\r
   <property environment="env"/>\r
   <property name="WORKSPACE" value="${env.WORKSPACE}"/>\r
@@ -18,8 +18,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     <fileset dir="${env.XMLBEANS_HOME}/lib" includes="*.jar"/>\r
   </path>\r
   <property name="buildDir" value="build"/>\r
+  <property name="resourceDir" value="rsc"/>\r
   <property name="installLocation" value="${WORKSPACE}/Tools/bin"/>\r
-  <target name="all" depends="install"/>\r
+  <target name="FrameworkWizard" depends="install"/>\r
   <target name="source">\r
     <mkdir dir="${buildDir}"/>\r
     <javac srcdir="src" destdir="${buildDir}">\r
@@ -35,10 +36,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     <delete file="${installLocation}/FrameworkWizard.jar"/>\r
   </target>\r
   <target name="install" depends="source">\r
-    <jar destfile="${installLocation}/FrameworkWizard.jar"\r
-      basedir="${buildDir}"\r
-      includes="**"\r
-      manifest="MANIFEST.MF"\r
-    />\r
+    <jar destfile="${installLocation}/FrameworkWizard.jar" manifest="MANIFEST.MF">\r
+      <fileset dir="${buildDir}"/>\r
+                       <fileset dir="${resourceDir}"/>\r
+    </jar>\r
   </target>\r
 </project>\r