Try to fix the Surface Area build.
[mirror_edk2.git] / Tools / Source / SurfaceArea / build.xml
index 415958a4d7608786b9fcdff47b58dceb440f39eb..48c0b5a78bbf7a195e06f5371463125846477f3d 100644 (file)
@@ -19,7 +19,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     <fileset dir="${WORKSPACE}/Tools/Jars">\r
       <include name="*.jar"/>\r
     </fileset>\r
-    <fileset dir="${WORKSPACE}/Tools/bin/xmlbeans/lib">\r
+    <fileset dir="${env.XMLBEANS_HOME}/lib">\r
       <include name="*.jar"/>\r
     </fileset>\r
     <pathelement path = "${env.CLASSPATH}"/>\r
@@ -66,7 +66,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   \r
   <target name="SurfaceArea" depends="init" unless="jar.newer">\r
     <antcall target="SurfaceArea.java.clean"/>\r
-    <java classname="org.apache.xmlbeans.impl.tool.SchemaCompiler">\r
+    <java classname="org.apache.xmlbeans.impl.tool.SchemaCompiler" fork="true">\r
       <classpath refid="classpath"/>\r
       <arg value="-javasource"/>\r
       <arg value="1.5"/>\r