diff options
author | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-08-07 20:55:28 +0000 |
---|---|---|
committer | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-08-07 20:55:28 +0000 |
commit | 8a07290e64e4dcd64f5fbaf975d41d44b15b47d2 (patch) | |
tree | 4d3d5413d3ae09eeef951c46f5625c665550a828 | |
parent | 7f762c2d410a5cb46d0ff1a4f85f35290839d5e5 (diff) | |
download | edk2-platforms-8a07290e64e4dcd64f5fbaf975d41d44b15b47d2.tar.xz |
Make cleanall fail if executing ant cleanall, without the -noclasspath option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1208 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | Tools/build.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tools/build.xml b/Tools/build.xml index 14f5afc92b..820bc2cef6 100644 --- a/Tools/build.xml +++ b/Tools/build.xml @@ -102,6 +102,21 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. </target>
<target name="cleanall">
+ <available classname="org.tianocore.frameworkwizard.FrameworkWizardUI" property="FrameworkWizardUI.available"/>
+ <available classname="org.tianocore.build.GenBuildTask" property="GenBuildTask.available"/>
+ <available classname="org.tianocore.framework.tasks.Tool" property="Tool.available"/>
+ <available classname="org.tianocore.pcd.action.BuildAction" property="PcdClass.available"/>
+ <if>
+ <or>
+ <isset property="FrameworkWizardUI.available"/>
+ <isset property="GenBuildTask.available"/>
+ <isset property="Tool.available"/>
+ <isset property="PcdClass.available"/>
+ </or>
+ <then>
+ <fail message="Use ant -noclasspath cleanall, to remove all jar files!"/>
+ </then>
+ </if>
<subant target="cleanall" inheritall="true">
<filelist dir="."
files="
|