Modified the ExportDatabase task so that it exports both structure and data, saving us one of the two model loads that previously were done in an export.database task
authorAntonio Moreno <antonio.moreno@openbravo.com>
Thu, 29 Jan 2009 16:05:58 +0000
changeset 2821 1623a01dffd7
parent 2820 863470561c59
child 2822 97ace6e3980a
Modified the ExportDatabase task so that it exports both structure and data, saving us one of the two model loads that previously were done in an export.database task
build.xml
src-db/database/build.xml
src-db/database/lib/dbsourcemanager.jar
--- a/build.xml	Thu Jan 29 16:00:29 2009 +0000
+++ b/build.xml	Thu Jan 29 16:05:58 2009 +0000
@@ -457,7 +457,6 @@
 		<antcall target="database.lib" />
 		<antcall target="core.lib" />
 		<ant dir="${base.db}" target="export.database.structure" inheritAll="true" inheritRefs="true" />
-		<ant dir="${base.db}" target="export.database.data" inheritAll="true" inheritRefs="true" />
 	</target>
 
 	<target name="export.database.structure" depends="init,code.rev">
--- a/src-db/database/build.xml	Thu Jan 29 16:00:29 2009 +0000
+++ b/src-db/database/build.xml	Thu Jan 29 16:05:58 2009 +0000
@@ -456,10 +456,13 @@
                         password="${bbdd.password}"
                         excludeobjects="com.openbravo.db.OpenbravoExcludeFilter"
                         model="model"
-			moduledir="${base.modules}"
+                        moduledir="${base.modules}"
                         verbosity="${bbdd.verbosity}" 
-			codeRevision="${code.revision}" 
-			module="${module}"/>
+                        output="sourcedata" 
+                        codeRevision="${code.revision}" 
+                        userId="0"
+                        propertiesFile="${base.config}/Openbravo.properties" 
+                        module="${module}"/>
     </target>
 
   <target name="import.database.data">
Binary file src-db/database/lib/dbsourcemanager.jar has changed