build.xml
changeset 5455 d6e8a0f9dc7f
parent 5443 41ecc4f0f539
child 5492 3d128ca57533
child 5533 b6b7e478001c
equal deleted inserted replaced
5454:652e31de84ca 5455:d6e8a0f9dc7f
   403                   user="${bbdd.user}" 
   403                   user="${bbdd.user}" 
   404                   password="${bbdd.password}" 
   404                   password="${bbdd.password}" 
   405                   stableDBdir="${stableDBdir}"
   405                   stableDBdir="${stableDBdir}"
   406                   testDBdir="${base.src.db}/database"
   406                   testDBdir="${base.src.db}/database"
   407                   verbosity="${bbdd.verbosity}"
   407                   verbosity="${bbdd.verbosity}"
   408                   userId="0" 
   408                   userId="0" adminMode="true" 
   409                   propertiesFile="${base.config}/Openbravo.properties"/>    
   409                   propertiesFile="${base.config}/Openbravo.properties"/>    
   410   </target>
   410   </target>
   411 
   411 
   412   <target name="export.sample.data" depends="code.rev">
   412   <target name="export.sample.data" depends="code.rev">
   413     <ant dir="${base.src}" target="export.sample.data" inheritAll="true" inheritRefs="true" />
   413     <ant dir="${base.src}" target="export.sample.data" inheritAll="true" inheritRefs="true" />
   597     but then no output is visible for the user.
   597     but then no output is visible for the user.
   598     -->
   598     -->
   599     <taskdef name="applyModule" classname="org.openbravo.erpCommon.modules.ApplyModuleTask">
   599     <taskdef name="applyModule" classname="org.openbravo.erpCommon.modules.ApplyModuleTask">
   600       <classpath refid="project.class.path" />
   600       <classpath refid="project.class.path" />
   601     </taskdef>
   601     </taskdef>
   602     <applyModule userId="0" propertiesFile="${base.config}/Openbravo.properties"/>
   602     <applyModule userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties"/>
   603   </target>
   603   </target>
   604 
   604 
   605   <target name="apply.module">
   605   <target name="apply.module">
   606     <java classname="org.openbravo.erpCommon.modules.ApplyModuleTask" fork="true" maxmemory="${build.maxmemory}">
   606     <java classname="org.openbravo.erpCommon.modules.ApplyModuleTask" fork="true" maxmemory="${build.maxmemory}">
   607       <arg line="'${base.src}'" />
   607       <arg line="'${base.src}'" />
   728     <taskdef name="validateModules" classname="org.openbravo.service.system.SystemValidationTask">
   728     <taskdef name="validateModules" classname="org.openbravo.service.system.SystemValidationTask">
   729       <classpath refid="project.class.path" />
   729       <classpath refid="project.class.path" />
   730     </taskdef>
   730     </taskdef>
   731 
   731 
   732     <echo message="Validating Module..." />
   732     <echo message="Validating Module..." />
   733     <validateModules moduleJavaPackage="${module}" failOnError="false" userId="0" propertiesFile="${base.config}/Openbravo.properties" type="module" />
   733     <validateModules moduleJavaPackage="${module}" failOnError="false" userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties" type="module" />
   734 
   734 
   735     <antcall target="obx.export.database" />
   735     <antcall target="obx.export.database" />
   736     <antcall target="obx.export.config.script" />
   736     <antcall target="obx.export.config.script" />
   737 
   737 
   738     <extractModule moduleName="${module}" userId="0" propertiesFile="${base.config}/Openbravo.properties" exportRD="${obx.export.RD}" />
   738     <extractModule moduleName="${module}" userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties" exportRD="${obx.export.RD}" />
   739   </target>
   739   </target>
   740 
   740 
   741   <target name="diagnostic">
   741   <target name="diagnostic">
   742     <ant dir="src-diagnostics" antfile="build-create.xml" target="build" />
   742     <ant dir="src-diagnostics" antfile="build-create.xml" target="build" />
   743     <ant dir="src-diagnostics" target="check.all" />
   743     <ant dir="src-diagnostics" target="check.all" />