Standardized property name WORKSPACE and fixed cleanall messages.
authorlhauch <lhauch@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 11 Oct 2006 16:40:33 +0000 (16:40 +0000)
committerlhauch <lhauch@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 11 Oct 2006 16:40:33 +0000 (16:40 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1725 de2fecce-e211-0410-80a6-f3fac2684e05

14 files changed:
edk2/Tools/CCode/Source/Pccts/antlr/build.xml
edk2/Tools/CCode/Source/Pccts/build.xml
edk2/Tools/CCode/Source/Pccts/dlg/build.xml
edk2/Tools/Java/Source/Common/build.xml
edk2/Tools/Java/Source/ContextTool/build.xml
edk2/Tools/Java/Source/Cpptasks/build.xml
edk2/Tools/Java/Source/FrameworkTasks/build.xml
edk2/Tools/Java/Source/FrameworkWizard/build.xml
edk2/Tools/Java/Source/GenBuild/build.xml
edk2/Tools/Java/Source/Merge/build.xml
edk2/Tools/Java/Source/MigrationTools/build.xml
edk2/Tools/Java/Source/PcdTools/build.xml
edk2/Tools/Java/Source/SurfaceArea/build.xml
edk2/Tools/build.xml

index 5280085..7ea7458 100644 (file)
@@ -40,6 +40,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <equals arg1="${ToolChain}" arg2="msvc"/>\r
                        <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="nmake" failonerror="TRUE">\r
+                 <arg line="/NOLOGO"/>\r
                  <arg line="-f AntlrMS.mak"/>\r
                </exec>\r
                  </then>\r
@@ -55,6 +56,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
         <istrue value="${gcc}"/>\r
         <then>\r
            <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="TRUE">\r
+                 <arg line="-s"/>\r
                  <arg line="-f makefile BIN_DIR=${BIN_DIR}"/>\r
                </exec>\r
         </then>\r
@@ -69,6 +71,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <equals arg1="${ToolChain}" arg2="msvc"/>\r
                        <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="nmake" failonerror="TRUE">\r
+                 <arg line="/C"/>\r
+                 <arg line="/NOLOGO"/>\r
                  <arg line="-f AntlrMS.mak clean"/>\r
                </exec>\r
                  </then>\r
@@ -84,6 +88,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <istrue value="${gcc}"/>\r
       <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="TRUE">\r
+                 <arg line="-s"/>\r
                  <arg line="-f makefile clean"/>\r
                </exec>\r
       </then>\r
@@ -97,7 +102,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <equals arg1="${ToolChain}" arg2="msvc"/>\r
                        <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="nmake" failonerror="FALSE">\r
-                 <arg line="-f AntlrMS.mak clean"/>\r
+                 <arg line="/C"/>\r
+                 <arg line="/NOLOGO"/>\r
+                 <arg line="/f AntlrMS.mak clean"/>\r
                </exec>\r
                  </then>\r
                <elseif>\r
@@ -105,6 +112,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
                        <then>\r
         <echo message="Building antlr with cygwin gcc"/>\r
          <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="FALSE">\r
+               <arg line="-s"/>\r
                  <arg line="-f makefile.cygwin clean"/>\r
                </exec>\r
                  </then>\r
@@ -114,6 +122,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <then>\r
         <echo message="Building antlr with gcc"/>\r
          <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="FALSE">\r
+               <arg line="-s"/>\r
                  <arg line="-f makefile clean"/>\r
                </exec>\r
       </then>\r
index d6ed074..58a82f4 100644 (file)
@@ -41,6 +41,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   </target>\r
 \r
   <target name="cleanall">\r
+    <echo message="Removing Object Files and the Executables from the package: Pccts"/>  \r
     <ant dir="${PACKAGE_DIR}/Pccts/antlr" target="cleanall" inheritAll="true"/>\r
     <ant dir="${PACKAGE_DIR}/Pccts/dlg" target="cleanall" inheritAll="true"/>\r
   </target>\r
index 3a8a9ee..da5dbd0 100644 (file)
@@ -42,6 +42,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <equals arg1="${ToolChain}" arg2="msvc"/>\r
                        <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/dlg" executable="nmake" failonerror="TRUE">\r
+                 <arg line="/NOLOGO"/>\r
                  <arg line="-f DlgMS.mak"/>\r
                </exec>\r
                  </then>\r
@@ -57,6 +58,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <equals arg1="${ToolChain}" arg2="gcc"/>\r
                        <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/dlg" executable="make" failonerror="TRUE">\r
+               <arg line="-s"/>\r
                  <arg line="-f makefile BIN_DIR=${BIN_DIR}"/>\r
                </exec>\r
                  </then>\r
@@ -71,6 +73,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <equals arg1="${ToolChain}" arg2="msvc"/>\r
                        <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/dlg" executable="nmake" failonerror="TRUE">\r
+                 <arg line="/C"/>\r
+                 <arg line="/NOLOGO"/>\r
                  <arg line="-f DlgMS.mak clean"/>\r
                </exec>\r
                  </then>\r
@@ -86,6 +90,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <equals arg1="${ToolChain}" arg2="gcc"/>\r
                        <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/dlg" executable="make" failonerror="TRUE">\r
+               <arg line="-s"/>\r
                  <arg line="-f makefile clean"/>\r
                </exec>\r
                  </then>\r
@@ -99,6 +104,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <equals arg1="${ToolChain}" arg2="msvc"/>\r
                        <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/dlg" executable="nmake" failonerror="FALSE">\r
+                 <arg line="/C"/>\r
+                 <arg line="/NOLOGO"/>\r
                  <arg line="-f DlgMS.mak clean"/>\r
                </exec>\r
                  </then>\r
@@ -106,6 +113,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <equals arg1="${ToolChain}" arg2="gcc"/>\r
                        <then>\r
          <exec dir="${PACKAGE_DIR}/Pccts/dlg" executable="make" failonerror="FALSE">\r
+               <arg line="-s"/>\r
                  <arg line="-f makefile clean"/>\r
                </exec>\r
                  </then>\r
index 376948c..f75db2f 100644 (file)
@@ -44,6 +44,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   </target>\r
 \r
   <target name="cleanall" depends="clean">\r
+    <echo message="Removing Class Files and the Java Archive: Common.jar"/>\r
     <delete file="${installLocation}/Common.jar"/>\r
     <if>\r
       <available file="${installLocation}/Common.jar"/>\r
index 65f7545..3779dbe 100644 (file)
@@ -35,6 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     </delete>\r
   </target>\r
   <target name="cleanall" depends="clean">\r
+    <echo message="Removing Class Files and the Java Archive: ContextTool.jar"/>\r
     <delete file="${installLocation}/ContextTool.jar"/>\r
     <if>\r
       <available file="${installLocation}/ContextTool.jar"/>\r
index 971e7e7..ce040e6 100644 (file)
@@ -12,9 +12,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 <project name="CppTasks" default="CppTasks" basedir=".">\r
   <taskdef resource="net/sf/antcontrib/antlib.xml"/>\r
   <property environment="env"/>\r
-  <property name="workspace" value="${env.WORKSPACE}"/>\r
+  <property name="WORKSPACE" value="${env.WORKSPACE}"/>\r
   <property name="buildDir" value="build"/>\r
-  <property name="installLocation" value="${workspace}/Tools/Jars"/>\r
+  <property name="installLocation" value="${WORKSPACE}/Tools/Jars"/>\r
   <target name="CppTasks" depends="install"/>\r
   <target name="init">\r
     <uptodate property="jar.newer" targetfile="${installLocation}/cpptasks.jar">\r
@@ -25,18 +25,19 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     <mkdir dir="${buildDir}"/>\r
     <javac srcdir="net" destdir="${buildDir}" source="1.4">\r
       <classpath>\r
-        <fileset dir="${workspace}/Tools/Jars">\r
+        <fileset dir="${WORKSPACE}/Tools/Jars">\r
           <include name="*.jar"/>\r
         </fileset>\r
       </classpath>\r
     </javac>\r
   </target>\r
   <target name="clean">\r
-    <delete includeemptydirs="true" failonerror="false">\r
+    <delete includeemptydirs="true" failonerror="false" quiet="true">\r
       <fileset dir="${WORKSPACE}/Tools/Java/Source/Cpptasks" includes="${buildDir}"/>\r
     </delete>\r
   </target>\r
   <target name="cleanall" depends="clean">\r
+    <echo message="Removing Class Files and the Java Archive: cpptasks.jar"/>\r
     <delete file="${installLocation}/cpptasks.jar"/>\r
     <if>\r
       <available file="${installLocation}/cpptasks.jar"/>\r
index ad5d3f0..c3c86c9 100644 (file)
@@ -12,15 +12,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 <project name="FrameworkTasks" default="FrameworkTasks">\r
   <taskdef resource="net/sf/antcontrib/antlib.xml"/>\r
   <property environment="env"/>\r
-  <property name="workspace" value="${env.WORKSPACE}"/>\r
+  <property name="WORKSPACE" value="${env.WORKSPACE}"/>\r
   <property name="buildDir" value="build"/>\r
-  <property name="installLocation" value="${workspace}/Tools/Jars"/>\r
+  <property name="installLocation" value="${WORKSPACE}/Tools/Jars"/>\r
   <target name="FrameworkTasks" depends="install"/>\r
   <target name="source">\r
     <mkdir dir="${buildDir}"/>\r
     <javac srcdir="." destdir="${buildDir}">\r
       <classpath>\r
-        <fileset dir="${workspace}/Tools/Jars">\r
+        <fileset dir="${WORKSPACE}/Tools/Jars">\r
           <include name="*.jar"/>\r
         </fileset>\r
       </classpath>\r
@@ -33,6 +33,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     </delete>\r
   </target>\r
   <target name="cleanall" depends="clean">\r
+    <echo message="Removing Class Files and the Java Archive: frameworktasks.jar"/>\r
     <delete file="${installLocation}/frameworktasks.jar"/>\r
     <if>\r
       <available file="${installLocation}/frameworktasks.jar"/>\r
index c936930..5c71edb 100644 (file)
@@ -34,6 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     </delete>\r
   </target>\r
   <target name="cleanall" depends="clean">\r
+    <echo message="Removing Class Files and the Java Archive: FrameworkWizard.jar"/>\r
     <delete file="${installLocation}/FrameworkWizard.jar"/>\r
   </target>\r
   <target name="install" depends="source">\r
index d33cbeb..2f9476f 100644 (file)
@@ -36,6 +36,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     </delete>\r
   </target>\r
   <target name="cleanall" depends="clean">\r
+    <echo message="Removing Class Files and the Java Archive: GenBuild.jar"/>\r
     <delete file="${installLocation}/GenBuild.jar"/>\r
     <if>\r
       <available file="${installLocation}/GenBuild.jar"/>\r
index 8b91fad..709c9e8 100644 (file)
@@ -33,6 +33,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     </delete>\r
   </target>\r
   <target name="cleanall" depends="clean">\r
+    <echo message="Removing Class Files and the Java Archive: Merge.jar"/>\r
     <delete file="${installLocation}/Merge.jar"/>\r
   </target>\r
   <target name="install" depends="source">\r
index 10ca921..ddb4979 100644 (file)
@@ -34,6 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     </delete>\r
   </target>\r
   <target name="cleanall" depends="clean">\r
+    <echo message="Removing Class Files and the Java Archive: MigrationTools.jar"/>\r
     <delete file="${installLocation}/MigrationTools.jar"/>\r
     <if>\r
       <available file="${installLocation}/MigrationTools.jar"/>\r
index a8c7aa9..4db07e0 100644 (file)
@@ -35,6 +35,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     </delete>\r
   </target>\r
   <target name="cleanall" depends="clean">\r
+    <echo message="Removing Class Files and the Java Archive: PcdTools.jar"/>\r
     <delete file="${installLocation}/PcdTools.jar"/>\r
     <if>\r
       <available file="${installLocation}/PcdTools.jar"/>\r
index 6931d81..6dd98cd 100644 (file)
@@ -200,6 +200,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   </target>\r
 \r
   <target name="cleanall" depends="SurfaceArea.jar.clean">\r
+    <echo message="Removing Class Files and the Java Archive: SurfaceArea.jar"/>\r
     <delete file="${WORKSPACE}/Tools/Jars/SurfaceArea.jar"/>\r
     <if>\r
       <available file="${WORKSPACE}/Tools/Jars/SurfaceArea.jar"/>\r
index 0f746c9..caef839 100644 (file)
@@ -130,15 +130,32 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           Java/Source/PcdTools/build.xml \r
           Java/Source/Common/build.xml \r
           Java/Source/SurfaceArea/build.xml \r
-          CCode/Source/build.xml\r
           Java/Source/MigrationTools/build.xml\r
           Java/Source/ContextTool/build.xml\r
           Java/Source/Merge/build.xml\r
+          CCode/Source/build.xml\r
         "/>\r
     </subant>\r
   </target>\r
 \r
   <target name="cleanall">\r
+    <echo message="Removing extra ${env.WORKSPACE} history.xml files!"/>\r
+    <if>\r
+      <available file="${env.WORKSPACE}/Tools/bin/history.xml"/>\r
+      <then>\r
+        <delete failonerror="false" quiet="true">\r
+          <fileset file="${env.WORKSPACE}/Tools/bin/history.xml"/>\r
+        </delete>\r
+      </then>\r
+    </if>\r
+    <if>\r
+      <available file="${env.WORKSPACE}/Tools/CCode/Source/Library/history.xml"/>\r
+      <then>\r
+        <delete failonerror="false" quiet="true">\r
+          <fileset file="${env.WORKSPACE}/Tools/CCode/Source/Library/history.xml"/>\r
+        </delete>\r
+      </then>\r
+    </if>\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
@@ -164,10 +181,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           Java/Source/PcdTools/build.xml \r
           Java/Source/Common/build.xml \r
           Java/Source/SurfaceArea/build.xml \r
-          CCode/Source/build.xml\r
           Java/Source/MigrationTools/build.xml\r
           Java/Source/ContextTool/build.xml\r
           Java/Source/Merge/build.xml\r
+          CCode/Source/build.xml\r
         "/>\r
     </subant>\r
   </target>\r