Fixed issue 14059. Added property to bypass build validations
authorAntonio Moreno <antonio.moreno@openbravo.com>
Tue, 27 Jul 2010 12:19:39 +0200
changeset 7925 d91bd76b1bd0
parent 7924 3cbb2e1e1ce5
child 7926 c1df94e38a27
Fixed issue 14059. Added property to bypass build validations
build.xml
src-util/buildvalidation/build.xml
--- a/build.xml	Tue Jul 27 16:39:03 2010 +0200
+++ b/build.xml	Tue Jul 27 12:19:39 2010 +0200
@@ -100,6 +100,7 @@
   <property name="stopOnWadError" value="false"/>
   <property name="friendlyWarnings" value="false"/>
   <property name="checkTranslationConsistency" value="true"/>
+  <property name="buildValidation" value="true"/>
 
   <available file=".hg" property="is.hg" />
 
@@ -407,6 +408,9 @@
 
   <target name="buildvalidation" depends="init, core.lib">
     <updatesystemstatus v="RB11"/> 
+    <condition property="buildValidation.var">
+      <istrue value="${buildValidation}"  />
+    </condition>
     <ant dir="src-util/buildvalidation" target="buildvalidation" inheritAll="true" inheritRefs="true" />
   </target>
   
--- a/src-util/buildvalidation/build.xml	Tue Jul 27 16:39:03 2010 +0200
+++ b/src-util/buildvalidation/build.xml	Tue Jul 27 12:19:39 2010 +0200
@@ -99,7 +99,7 @@
   <target name="compile" depends="checkmodule, sqlcCore, sqlcModules, javacCore, javacModule">
   </target>
 
-  <target name="buildvalidation" >
+  <target name="buildvalidation" if="buildValidation.var">
     <java classname="org.openbravo.buildvalidation.BuildValidationHandler" jvm="${env.JAVA_HOME}/bin/java" fork="yes" maxmemory="${build.maxmemory}" failonerror="yes">
       <arg value="${base.src}/../"/>
       <arg value="${module}"/>