details:   /erp/devel/pi/rev/d91bd76b1bd0
changeset: 7925:d91bd76b1bd0
user:      Antonio Moreno <antonio.moreno <at> openbravo.com>
date:      Tue Jul 27 12:19:39 2010 +0200
summary:   Fixed issue 14059. Added property to bypass build validations

details:   /erp/devel/pi/rev/c1df94e38a27
changeset: 7926:c1df94e38a27
user:      Antonio Moreno <antonio.moreno <at> openbravo.com>
date:      Tue Jul 27 17:32:06 2010 +0200
summary:   Fixed issue 14060. Changed handling of illegal datatypes
Now, both update.database and update.database.mod will fail early if an illegal 
datatype is detected either in the database or in the XML files, therefore 
minimizing the risk of data loss. Before, the change was attempted, usually 
ending in failure, and in some cases, with loss of data, due to failed 
recreation of the table.

diffstat:

 build.xml                               |    4 ++++
 src-db/database/lib/dbsourcemanager.jar |    0 
 src-util/buildvalidation/build.xml      |    2 +-
 3 files changed, 5 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 3cbb2e1e1ce5 -r c1df94e38a27 build.xml
--- a/build.xml Tue Jul 27 16:39:03 2010 +0200
+++ b/build.xml Tue Jul 27 17:32:06 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>
   
diff -r 3cbb2e1e1ce5 -r c1df94e38a27 src-db/database/lib/dbsourcemanager.jar
Binary file src-db/database/lib/dbsourcemanager.jar has changed
diff -r 3cbb2e1e1ce5 -r c1df94e38a27 src-util/buildvalidation/build.xml
--- a/src-util/buildvalidation/build.xml        Tue Jul 27 16:39:03 2010 +0200
+++ b/src-util/buildvalidation/build.xml        Tue Jul 27 17:32:06 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}"/>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to