[mod-check] Execute WADValidation before packaging obx files
authorAsier Lostalé <asier.lostale@openbravo.com>
Fri, 20 Nov 2009 13:18:09 +0100
changeset 5533 b6b7e478001c
parent 5532 24512d0915ee
child 5534 94802adc1311
[mod-check] Execute WADValidation before packaging obx files
build.xml
--- a/build.xml	Fri Nov 20 13:15:31 2009 +0100
+++ b/build.xml	Fri Nov 20 13:18:09 2009 +0100
@@ -728,8 +728,17 @@
     <taskdef name="validateModules" classname="org.openbravo.service.system.SystemValidationTask">
       <classpath refid="project.class.path" />
     </taskdef>
+    
+    <taskdef name="WADValidation" classname="org.openbravo.service.system.WADValidatorTask">
+      <classpath refid="project.class.path" />
+    </taskdef>
+            
+    <echo message="Validating Module..." />
+    
+    <WADValidation propertiesFile="${base.config}/Openbravo.properties"
+                   modules="${module}"
+                   stoponerror="true"/>
 
-    <echo message="Validating Module..." />
     <validateModules moduleJavaPackage="${module}" failOnError="false" userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties" type="module" />
 
     <antcall target="obx.export.database" />