details: /erp/devel/pi/rev/dbccf72a233e
changeset: 6666:dbccf72a233e
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Tue Mar 09 19:05:53 2010 +0100
summary: Fixed issue 12621. Now useless data changes (which change something
from X to X, that is, they don't change anything at all) will no longer be
generated when exporting a configuration script.
details: /erp/devel/pi/rev/99e483f330ea
changeset: 6667:99e483f330ea
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Wed Mar 10 17:52:00 2010 +0100
summary: Fixed issue 12596. Triggers will be loaded in the restricted models,
so that if a table not belonging to the updated module is recreated, the
triggers are also recreated. Also, done a change so that the same thing doesn't
happen with NOT NULL restrictions.
details: /erp/devel/pi/rev/82888a87033f
changeset: 6668:82888a87033f
user: Antonio Moreno <antonio.moreno <at> openbravo.com>
date: Thu Mar 11 10:05:56 2010 +0100
summary: Fixed issue 12645. Removed the dependency from the
DalInitializingTask in update.database.
diffstat:
build.xml | 3 +--
src-db/database/build.xml | 8 ++++----
src-db/database/lib/dbsourcemanager.jar | 0
3 files changed, 5 insertions(+), 6 deletions(-)
diffs (43 lines):
diff -r 7bdf60d8d1b5 -r 82888a87033f build.xml
--- a/build.xml Wed Mar 10 19:13:57 2010 +0100
+++ b/build.xml Thu Mar 11 10:05:56 2010 +0100
@@ -441,8 +441,7 @@
stableDBdir="${stableDBdir}"
testDBdir="${base.src.db}/database"
verbosity="${bbdd.verbosity}"
- userId="0" adminMode="true"
- propertiesFile="${base.config}/Openbravo.properties"/>
+ />
</target>
<target name="export.sample.data" depends="code.rev">
diff -r 7bdf60d8d1b5 -r 82888a87033f src-db/database/build.xml
--- a/src-db/database/build.xml Wed Mar 10 19:13:57 2010 +0100
+++ b/src-db/database/build.xml Thu Mar 11 10:05:56 2010 +0100
@@ -56,9 +56,6 @@
<taskdef name="alterscript"
classname="org.openbravo.ddlutils.task.AlterXML2SQL">
<classpath refid="runtime-classpath" />
</taskdef>
- <taskdef name="exportdatabase"
classname="org.openbravo.ddlutils.task.ExportDatabase">
- <classpath refid="runtime-classpath" />
- </taskdef>
<taskdef name="exportconfigscript"
classname="org.openbravo.ddlutils.task.ExportConfigScript">
<classpath refid="runtime-classpath" />
</taskdef>
@@ -136,10 +133,13 @@
</target>
<target name="update.database.script">
- <alterscript driver="${bbdd.driver}" url="${bbdd.owner.url}"
user="${bbdd.user}" password="${bbdd.password}"
excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" model="model/"
filter="com.openbravo.db.OpenbravoMetadataFilter" input="sourcedata"
object="${bbdd.object}" failonerror="false" verbosity="${bbdd.verbosity}"
basedir="${base.modules}/" dirFilter="*/src-db/database/model"
datadir="${base.modules}/" dataFilter="*/src-db/database/sourcedata" userId="0"
adminMode="true" propertiesFile="${base.config}/Openbravo.properties"
force="${force}" onlyIfModified="${onlyIfModified}"
output="${bbdd.outputscript}" />
+ <alterscript driver="${bbdd.driver}" url="${bbdd.owner.url}"
user="${bbdd.user}" password="${bbdd.password}"
excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" model="model/"
filter="com.openbravo.db.OpenbravoMetadataFilter" input="sourcedata"
object="${bbdd.object}" failonerror="false" verbosity="${bbdd.verbosity}"
basedir="${base.modules}/" dirFilter="*/src-db/database/model"
datadir="${base.modules}/" dataFilter="*/src-db/database/sourcedata"
force="${force}" onlyIfModified="${onlyIfModified}"
output="${bbdd.outputscript}" />
</target>
<target name="export.database.structure">
+ <taskdef name="exportdatabase"
classname="org.openbravo.ddlutils.task.ExportDatabase">
+ <classpath refid="runtime-classpath" />
+ </taskdef>
<exportdatabase driver="${bbdd.driver}" url="${bbdd.owner.url}"
user="${bbdd.user}" password="${bbdd.password}"
excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" model="model"
moduledir="${base.modules}" verbosity="${bbdd.verbosity}" output="sourcedata"
codeRevision="${code.revision}" userId="0" adminMode="true"
propertiesFile="${base.config}/Openbravo.properties" force="${force}"
validateModel="${validate.model}" testAPI="${isMinorVersion}"
datasetList="AD,ADRD" rd="${rd}" />
<antcall target="update.dbupdate.timestamp" />
</target>
diff -r 7bdf60d8d1b5 -r 82888a87033f src-db/database/lib/dbsourcemanager.jar
Binary file src-db/database/lib/dbsourcemanager.jar has changed
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits