build.xml
changeset 5455 d6e8a0f9dc7f
parent 5443 41ecc4f0f539
child 5492 3d128ca57533
child 5533 b6b7e478001c
--- a/build.xml	Wed Nov 18 14:14:12 2009 +0100
+++ b/build.xml	Wed Nov 18 14:17:21 2009 +0100
@@ -405,7 +405,7 @@
                   stableDBdir="${stableDBdir}"
                   testDBdir="${base.src.db}/database"
                   verbosity="${bbdd.verbosity}"
-                  userId="0" 
+                  userId="0" adminMode="true" 
                   propertiesFile="${base.config}/Openbravo.properties"/>    
   </target>
 
@@ -599,7 +599,7 @@
     <taskdef name="applyModule" classname="org.openbravo.erpCommon.modules.ApplyModuleTask">
       <classpath refid="project.class.path" />
     </taskdef>
-    <applyModule userId="0" propertiesFile="${base.config}/Openbravo.properties"/>
+    <applyModule userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties"/>
   </target>
 
   <target name="apply.module">
@@ -730,12 +730,12 @@
     </taskdef>
 
     <echo message="Validating Module..." />
-    <validateModules moduleJavaPackage="${module}" failOnError="false" userId="0" propertiesFile="${base.config}/Openbravo.properties" type="module" />
+    <validateModules moduleJavaPackage="${module}" failOnError="false" userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties" type="module" />
 
     <antcall target="obx.export.database" />
     <antcall target="obx.export.config.script" />
 
-    <extractModule moduleName="${module}" userId="0" propertiesFile="${base.config}/Openbravo.properties" exportRD="${obx.export.RD}" />
+    <extractModule moduleName="${module}" userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties" exportRD="${obx.export.RD}" />
   </target>
 
   <target name="diagnostic">