src/build.xml
changeset 18802 fd15aaac6749
parent 18217 a90ccc95e2e0
child 19912 7ee41d144038
--- a/src/build.xml	Mon Dec 03 12:51:38 2012 +0100
+++ b/src/build.xml	Tue Dec 04 11:08:22 2012 +0100
@@ -116,8 +116,8 @@
     </taskdef>
     <validateModules userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties" type="module" moduleJavaPackage="${module}"/>
   </target>
-  
-  <target name="load.logoimages">
+
+  <target name="load.logoimages.forked">
     <taskdef name="imageloading" classname="org.openbravo.erpCommon.utility.ImageToDatabaseLoader">
       <classpath refid="project.class.path" />
     </taskdef>
@@ -126,6 +126,13 @@
       propertyNames="yourCompanyLoginImage,yourItServiceLoginImage,yourCompanyMenuImage,yourCompanyBigImage,yourCompanyDocumentImage"/>
   </target>
 
+  <target name="load.logoimages">
+    <java classname="org.openbravo.erpCommon.utility.ImageToDatabaseLoader" fork="true" maxmemory="${build.maxmemory}" failonerror="true">
+      <arg line="'${base.src}'" />
+      <classpath refid="apply.module.runtime.classpath" />
+    </java>
+  </target>
+  
   <target name="trl.clean" if="translation">
     <java classname="org.openbravo.translate.Translate" jvm="${env.JAVA_HOME}/bin/java" fork="yes" maxmemory="${build.maxmemory}">
       <arg line="clean '${base.config}/Openbravo.properties'" />