build.xml
changeset 15522 459c8c6700f5
parent 14875 61149227461b
child 15728 cd0c49fbd501
equal deleted inserted replaced
15521:eb48f353d1d3 15522:459c8c6700f5
   775     but then no output is visible for the user.
   775     but then no output is visible for the user.
   776     -->
   776     -->
   777     <taskdef name="applyModule" classname="org.openbravo.erpCommon.modules.ApplyModuleTask">
   777     <taskdef name="applyModule" classname="org.openbravo.erpCommon.modules.ApplyModuleTask">
   778       <classpath refid="project.class.path" />
   778       <classpath refid="project.class.path" />
   779     </taskdef>
   779     </taskdef>
   780     <applyModule userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties"/>
   780     <applyModule userId="0" adminMode="true" forceRefData="${forceRefData}" propertiesFile="${base.config}/Openbravo.properties"/>
   781   </target>
   781   </target>
   782   
   782   
   783   <target name="compile.apply.module" depends="init">
   783   <target name="compile.apply.module" depends="init">
   784     <updatesystemstatus v="RB31"/>
   784     <updatesystemstatus v="RB31"/>
   785     <ant dir="${base.src}" target="compile.apply.module" inheritAll="true" inheritRefs="true" />
   785     <ant dir="${base.src}" target="compile.apply.module" inheritAll="true" inheritRefs="true" />
   792   This is done to workaround the fact that the javac task needs to compile all the related classes when upgrading openbravo
   792   This is done to workaround the fact that the javac task needs to compile all the related classes when upgrading openbravo
   793   and if the normal build folder is included, none of them are recompiled by default unless the whole build directory is specified.
   793   and if the normal build folder is included, none of them are recompiled by default unless the whole build directory is specified.
   794   -->
   794   -->
   795   <target name="apply.module" depends="compile.apply.module">
   795   <target name="apply.module" depends="compile.apply.module">
   796     <java classname="org.openbravo.erpCommon.modules.ApplyModuleTask" fork="true" maxmemory="${build.maxmemory}" failonerror="true">
   796     <java classname="org.openbravo.erpCommon.modules.ApplyModuleTask" fork="true" maxmemory="${build.maxmemory}" failonerror="true">
   797       <arg line="'${base.src}' '${friendlyWarnings}'" />
   797       <arg line="'${base.src}' '${friendlyWarnings}' '${forceRefData}'" />
   798       <classpath refid="apply.module.runtime.classpath" />
   798       <classpath refid="apply.module.runtime.classpath" />
   799     </java>
   799     </java>
   800    <delete includeEmptyDirs="true"  dir="${build.apply.module}" />
   800    <delete includeEmptyDirs="true"  dir="${build.apply.module}" />
   801   </target>
   801   </target>
   802   
   802