]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/build.xml
Fixed a couple of typos in the ToolTipText fields.
[mirror_edk2.git] / Tools / build.xml
index 14f5afc92b5cafb49782375baab3866e61b93223..ea6a2501d3b341b3485e4764895b3af8bf9a2eb1 100644 (file)
@@ -38,6 +38,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           Source/FrameworkTasks/build.xml\r
           Source/Cpptasks/build.xml\r
           Source/FrameworkWizard/build.xml\r
+          Source/MigrationTools/build.xml\r
+          Source/ContextTool/build.xml\r
           "/>\r
     </subant>\r
     <echo message="The EDK II Java Tools build has completed!"/>\r
@@ -73,8 +75,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>\r
 </catalog>]]>\r
     </echo>\r
-    <copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/>\r
-    <copy file="Conf/target.template" tofile="Conf/target.txt" overwrite="false"/>\r
+    <if>\r
+      <not>\r
+        <available file="Conf/tools_def.txt"/>\r
+      </not>\r
+      <then>\r
+        <copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt"/>\r
+      </then>\r
+    </if>\r
+\r
+    <if>\r
+      <not>\r
+        <available file="Conf/target.txt"/>\r
+      </not>\r
+      <then>\r
+        <copy file="Conf/target.template" tofile="Conf/target.txt"/>\r
+      </then>\r
+    </if>\r
+\r
     <if>\r
       <not>\r
         <available file="Conf/FrameworkDatabase.db"/>\r
@@ -97,11 +115,28 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           Source/Common/build.xml \r
           Source/SurfaceArea/build.xml \r
           Source/TianoTools/build.xml\r
+          Source/MigrationTools/build.xml\r
+          Source/ContextTool/build.xml\r
         "/>\r
     </subant>\r
   </target>\r
 \r
   <target name="cleanall">\r
+    <available classname="org.tianocore.frameworkwizard.FrameworkWizardUI" property="FrameworkWizardUI.available"/>\r
+    <available classname="org.tianocore.build.GenBuildTask" property="GenBuildTask.available"/>\r
+    <available classname="org.tianocore.framework.tasks.Tool" property="Tool.available"/>\r
+    <available classname="org.tianocore.pcd.action.BuildAction" property="PcdClass.available"/>\r
+    <if>\r
+      <or>\r
+        <isset property="FrameworkWizardUI.available"/>\r
+        <isset property="GenBuildTask.available"/>\r
+        <isset property="Tool.available"/>\r
+        <isset property="PcdClass.available"/>\r
+      </or>\r
+      <then>\r
+        <fail message="Use ant -noclasspath cleanall, to remove all jar files!"/>\r
+      </then>\r
+    </if>\r
     <subant target="cleanall" inheritall="true">\r
       <filelist dir="."\r
         files="\r
@@ -113,6 +148,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           Source/Common/build.xml \r
           Source/SurfaceArea/build.xml \r
           Source/TianoTools/build.xml\r
+          Source/MigrationTools/build.xml\r
+          Source/ContextTool/build.xml\r
         "/>\r
     </subant>\r
   </target>\r