sf-prep - Partial Revert of changeset aa36fa431e3d - 'Added processing of the BuildEnvironmentCheck for BRAG purposes.' as we need 'sf-check-env' to be optional with 'sf.suppress.buildenv.check' variable.
authorMattD <mattd@symbian.org>
Tue, 06 Oct 2009 17:52:59 +0100
changeset 608 7e37b08f44ce
parent 607 3c858aa7a023
child 609 640e0d240acf
sf-prep - Partial Revert of changeset aa36fa431e3d - 'Added processing of the BuildEnvironmentCheck for BRAG purposes.' as we need 'sf-check-env' to be optional with 'sf.suppress.buildenv.check' variable.
common/build.xml
--- a/common/build.xml	Tue Oct 06 17:31:14 2009 +0100
+++ b/common/build.xml	Tue Oct 06 17:52:59 2009 +0100
@@ -89,7 +89,13 @@
 
         <tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/>
 
-        <runtarget target="sf-check-env"/>
+        <if>          
+            <not><isset property="sf.suppress.buildenv.check"/></not>
+            <then>
+                <echo message="Checking build Environment. To suppress this check set property sf.suppress.buildenv.check to any value"/>
+                <runtarget target="sf-check-env"/>
+            </then>
+        </if>
     </target>
         
     <target name="sf-check-env">