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
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
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
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