Fixed issue 14802. Update.database.mod replaced by update.database.
authorAntonio Moreno <antonio.moreno@openbravo.com>
Wed, 06 Oct 2010 18:40:52 +0200
changeset 8505 8941ac1906bd
parent 8504 c1a810c9776e
child 8506 c55ac1918860
Fixed issue 14802. Update.database.mod replaced by update.database.
build.xml
src-core/src/org/openbravo/base/BuildTask.java
src-db/database/lib/dbsourcemanager.jar
--- a/build.xml	Wed Oct 06 11:31:44 2010 +0530
+++ b/build.xml	Wed Oct 06 18:40:52 2010 +0200
@@ -722,7 +722,7 @@
   </target>
 
 
-  <target name="apply.modules" depends="update.database.mod">
+  <target name="apply.modules">
 
     <condition property="apply.modules.complete.compilation.var">
       <istrue value="${apply.modules.complete.compilation}"  />
--- a/src-core/src/org/openbravo/base/BuildTask.java	Wed Oct 06 11:31:44 2010 +0530
+++ b/src-core/src/org/openbravo/base/BuildTask.java	Wed Oct 06 18:40:52 2010 +0200
@@ -71,8 +71,8 @@
 
     final Vector<String> tasks = new Vector<String>();
     final String unnappliedModules = getUnnapliedModules();
+    tasks.add("update.database");
     if (isUpdatingCoreOrTemplate()) {
-      tasks.add("update.database");
       tasks.add("core.lib");
       tasks.add("wad.lib");
       tasks.add("trl.lib");
@@ -85,7 +85,6 @@
         // files and references
         ant.setProperty("apply.modules.complete.compilation", "true");
       }
-      ant.setProperty("force", "true");
       tasks.add("apply.modules");
       ant.setProperty("module", unnappliedModules);
     }
Binary file src-db/database/lib/dbsourcemanager.jar has changed