details: http://code.openbravo.com/erp/devel/main/rev/edd465fb13c6 changeset: 4396:edd465fb13c6 user: Antonio Moreno <antonio.moreno <at> openbravo.com> date: Wed Jul 29 16:18:14 2009 +0200 summary: Added capability in dbsourcemanager to specify the dataset that will be exported with the data export task.
details: http://code.openbravo.com/erp/devel/main/rev/b76c4d9e17c8 changeset: 4397:b76c4d9e17c8 user: Antonio Moreno <antonio.moreno <at> openbravo.com> date: Thu Jul 30 13:26:20 2009 +0200 summary: Fixed issue 10103. Now update shouldn't crash when a new table has been added to the database, and added to the AD dataset, in the same update. diffstat: src-db/database/build.xml | 4 +- src-db/database/lib/dbsourcemanager.jar | src-db/database/sourcedata/AD_DATASET_TABLE.xml | 104 ++++++++++++++++++++++++++ 3 files changed, 106 insertions(+), 2 deletions(-) diffs (179 lines): diff -r 3b5c47283c7f -r b76c4d9e17c8 src-db/database/build.xml --- a/src-db/database/build.xml Thu Jul 30 08:56:40 2009 +0200 +++ b/src-db/database/build.xml Thu Jul 30 13:26:20 2009 +0200 @@ -292,7 +292,7 @@ </target> <target name="export.database.structure"> - <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" propertiesFile="${base.config}/Openbravo.properties" module="${module}" force="${force}" validateModel="${validate.model}" testAPI="${isMinorVersion}"/> + <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" propertiesFile="${base.config}/Openbravo.properties" module="${module}" force="${force}" validateModel="${validate.model}" testAPI="${isMinorVersion}" datasetList="AD,ADRD"/> </target> <target name="import.database.data"> @@ -304,7 +304,7 @@ <target name="export.database.data"> - <exportdata driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" password="${bbdd.password}" excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" filter="com.openbravo.db.OpenbravoMetadataFilter" output="sourcedata" moduledir="${base.modules}" verbosity="${bbdd.verbosity}" codeRevision="${code.revision}" userId="0" propertiesFile="${base.config}/Openbravo.properties" module="${module}" /> + <exportdata driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" password="${bbdd.password}" excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" filter="com.openbravo.db.OpenbravoMetadataFilter" output="sourcedata" moduledir="${base.modules}" verbosity="${bbdd.verbosity}" codeRevision="${code.revision}" userId="0" propertiesFile="${base.config}/Openbravo.properties" module="${module}" datasetList="AD,ADRD"/> </target> <target name="database.postcreate.ORACLE"> diff -r 3b5c47283c7f -r b76c4d9e17c8 src-db/database/lib/dbsourcemanager.jar Binary file src-db/database/lib/dbsourcemanager.jar has changed diff -r 3b5c47283c7f -r b76c4d9e17c8 src-db/database/sourcedata/AD_DATASET_TABLE.xml --- a/src-db/database/sourcedata/AD_DATASET_TABLE.xml Thu Jul 30 08:56:40 2009 +0200 +++ b/src-db/database/sourcedata/AD_DATASET_TABLE.xml Thu Jul 30 13:26:20 2009 +0200 @@ -166,6 +166,19 @@ <!--25F1866E96DD11DD9312001B388C61A4--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> <!--25F1866E96DD11DD9312001B388C61A4--></AD_DATASET_TABLE> +<!--26D4C64A620A43ED8B8A698095AD9A6F--><AD_DATASET_TABLE> +<!--26D4C64A620A43ED8B8A698095AD9A6F--> <AD_DATASET_TABLE_ID><![CDATA[26D4C64A620A43ED8B8A698095AD9A6F]]></AD_DATASET_TABLE_ID> +<!--26D4C64A620A43ED8B8A698095AD9A6F--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> +<!--26D4C64A620A43ED8B8A698095AD9A6F--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID> +<!--26D4C64A620A43ED8B8A698095AD9A6F--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> +<!--26D4C64A620A43ED8B8A698095AD9A6F--> <AD_DATASET_ID><![CDATA[C22005ECEB254DFF86061605E9939AAF]]></AD_DATASET_ID> +<!--26D4C64A620A43ED8B8A698095AD9A6F--> <AD_TABLE_ID><![CDATA[D5066ABE94C144C19E3516C882B51DE4]]></AD_TABLE_ID> +<!--26D4C64A620A43ED8B8A698095AD9A6F--> <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS> +<!--26D4C64A620A43ED8B8A698095AD9A6F--> <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO> +<!--26D4C64A620A43ED8B8A698095AD9A6F--> <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT> +<!--26D4C64A620A43ED8B8A698095AD9A6F--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> +<!--26D4C64A620A43ED8B8A698095AD9A6F--></AD_DATASET_TABLE> + <!--2839C00896E211DD9D33001B388C61A4--><AD_DATASET_TABLE> <!--2839C00896E211DD9D33001B388C61A4--> <AD_DATASET_TABLE_ID><![CDATA[2839C00896E211DD9D33001B388C61A4]]></AD_DATASET_TABLE_ID> <!--2839C00896E211DD9D33001B388C61A4--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> @@ -317,6 +330,19 @@ <!--50A1A004991911DD8BA4001B388C61A4--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> <!--50A1A004991911DD8BA4001B388C61A4--></AD_DATASET_TABLE> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--><AD_DATASET_TABLE> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--> <AD_DATASET_TABLE_ID><![CDATA[550EBC3A2D334633B40D0FA6ACA1AB30]]></AD_DATASET_TABLE_ID> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--> <AD_DATASET_ID><![CDATA[C22005ECEB254DFF86061605E9939AAF]]></AD_DATASET_ID> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--> <AD_TABLE_ID><![CDATA[102]]></AD_TABLE_ID> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--> <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--> <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--> <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> +<!--550EBC3A2D334633B40D0FA6ACA1AB30--></AD_DATASET_TABLE> + <!--59A8CDEC96DC11DDA00C001B388C61A4--><AD_DATASET_TABLE> <!--59A8CDEC96DC11DDA00C001B388C61A4--> <AD_DATASET_TABLE_ID><![CDATA[59A8CDEC96DC11DDA00C001B388C61A4]]></AD_DATASET_TABLE_ID> <!--59A8CDEC96DC11DDA00C001B388C61A4--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> @@ -512,6 +538,19 @@ <!--7AF5DEC896E011DDA8AC001B388C61A4--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> <!--7AF5DEC896E011DDA8AC001B388C61A4--></AD_DATASET_TABLE> +<!--7D28B6D1F86A40A4A62129558A1F089C--><AD_DATASET_TABLE> +<!--7D28B6D1F86A40A4A62129558A1F089C--> <AD_DATASET_TABLE_ID><![CDATA[7D28B6D1F86A40A4A62129558A1F089C]]></AD_DATASET_TABLE_ID> +<!--7D28B6D1F86A40A4A62129558A1F089C--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> +<!--7D28B6D1F86A40A4A62129558A1F089C--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID> +<!--7D28B6D1F86A40A4A62129558A1F089C--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> +<!--7D28B6D1F86A40A4A62129558A1F089C--> <AD_DATASET_ID><![CDATA[C22005ECEB254DFF86061605E9939AAF]]></AD_DATASET_ID> +<!--7D28B6D1F86A40A4A62129558A1F089C--> <AD_TABLE_ID><![CDATA[100]]></AD_TABLE_ID> +<!--7D28B6D1F86A40A4A62129558A1F089C--> <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS> +<!--7D28B6D1F86A40A4A62129558A1F089C--> <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO> +<!--7D28B6D1F86A40A4A62129558A1F089C--> <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT> +<!--7D28B6D1F86A40A4A62129558A1F089C--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> +<!--7D28B6D1F86A40A4A62129558A1F089C--></AD_DATASET_TABLE> + <!--7DC6889096E111DDA4F6001B388C61A4--><AD_DATASET_TABLE> <!--7DC6889096E111DDA4F6001B388C61A4--> <AD_DATASET_TABLE_ID><![CDATA[7DC6889096E111DDA4F6001B388C61A4]]></AD_DATASET_TABLE_ID> <!--7DC6889096E111DDA4F6001B388C61A4--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> @@ -526,6 +565,19 @@ <!--7DC6889096E111DDA4F6001B388C61A4--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> <!--7DC6889096E111DDA4F6001B388C61A4--></AD_DATASET_TABLE> +<!--8ACFC500687E46F6998CD02A4DF4B475--><AD_DATASET_TABLE> +<!--8ACFC500687E46F6998CD02A4DF4B475--> <AD_DATASET_TABLE_ID><![CDATA[8ACFC500687E46F6998CD02A4DF4B475]]></AD_DATASET_TABLE_ID> +<!--8ACFC500687E46F6998CD02A4DF4B475--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> +<!--8ACFC500687E46F6998CD02A4DF4B475--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID> +<!--8ACFC500687E46F6998CD02A4DF4B475--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> +<!--8ACFC500687E46F6998CD02A4DF4B475--> <AD_DATASET_ID><![CDATA[C22005ECEB254DFF86061605E9939AAF]]></AD_DATASET_ID> +<!--8ACFC500687E46F6998CD02A4DF4B475--> <AD_TABLE_ID><![CDATA[103]]></AD_TABLE_ID> +<!--8ACFC500687E46F6998CD02A4DF4B475--> <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS> +<!--8ACFC500687E46F6998CD02A4DF4B475--> <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO> +<!--8ACFC500687E46F6998CD02A4DF4B475--> <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT> +<!--8ACFC500687E46F6998CD02A4DF4B475--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> +<!--8ACFC500687E46F6998CD02A4DF4B475--></AD_DATASET_TABLE> + <!--8D9EEE68A05211DD9D1A001B388C61A4--><AD_DATASET_TABLE> <!--8D9EEE68A05211DD9D1A001B388C61A4--> <AD_DATASET_TABLE_ID><![CDATA[8D9EEE68A05211DD9D1A001B388C61A4]]></AD_DATASET_TABLE_ID> <!--8D9EEE68A05211DD9D1A001B388C61A4--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> @@ -6261,6 +6313,19 @@ <!--CAD50C6096E111DDAE90001B388C61A4--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> <!--CAD50C6096E111DDAE90001B388C61A4--></AD_DATASET_TABLE> +<!--CD2E89EA58764D56810DA1FD1B5084A2--><AD_DATASET_TABLE> +<!--CD2E89EA58764D56810DA1FD1B5084A2--> <AD_DATASET_TABLE_ID><![CDATA[CD2E89EA58764D56810DA1FD1B5084A2]]></AD_DATASET_TABLE_ID> +<!--CD2E89EA58764D56810DA1FD1B5084A2--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> +<!--CD2E89EA58764D56810DA1FD1B5084A2--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID> +<!--CD2E89EA58764D56810DA1FD1B5084A2--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> +<!--CD2E89EA58764D56810DA1FD1B5084A2--> <AD_DATASET_ID><![CDATA[C22005ECEB254DFF86061605E9939AAF]]></AD_DATASET_ID> +<!--CD2E89EA58764D56810DA1FD1B5084A2--> <AD_TABLE_ID><![CDATA[104]]></AD_TABLE_ID> +<!--CD2E89EA58764D56810DA1FD1B5084A2--> <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS> +<!--CD2E89EA58764D56810DA1FD1B5084A2--> <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO> +<!--CD2E89EA58764D56810DA1FD1B5084A2--> <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT> +<!--CD2E89EA58764D56810DA1FD1B5084A2--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> +<!--CD2E89EA58764D56810DA1FD1B5084A2--></AD_DATASET_TABLE> + <!--CDAC10B183BA4D66A12668319F7C02C6--><AD_DATASET_TABLE> <!--CDAC10B183BA4D66A12668319F7C02C6--> <AD_DATASET_TABLE_ID><![CDATA[CDAC10B183BA4D66A12668319F7C02C6]]></AD_DATASET_TABLE_ID> <!--CDAC10B183BA4D66A12668319F7C02C6--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> @@ -6317,6 +6382,19 @@ <!--D5E0D610BAD711DD8763001B388C61A4--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> <!--D5E0D610BAD711DD8763001B388C61A4--></AD_DATASET_TABLE> +<!--D621906776C94378B4528834283A112C--><AD_DATASET_TABLE> +<!--D621906776C94378B4528834283A112C--> <AD_DATASET_TABLE_ID><![CDATA[D621906776C94378B4528834283A112C]]></AD_DATASET_TABLE_ID> +<!--D621906776C94378B4528834283A112C--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> +<!--D621906776C94378B4528834283A112C--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID> +<!--D621906776C94378B4528834283A112C--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> +<!--D621906776C94378B4528834283A112C--> <AD_DATASET_ID><![CDATA[C22005ECEB254DFF86061605E9939AAF]]></AD_DATASET_ID> +<!--D621906776C94378B4528834283A112C--> <AD_TABLE_ID><![CDATA[9D36D488605044F5A0264D7C8B916657]]></AD_TABLE_ID> +<!--D621906776C94378B4528834283A112C--> <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS> +<!--D621906776C94378B4528834283A112C--> <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO> +<!--D621906776C94378B4528834283A112C--> <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT> +<!--D621906776C94378B4528834283A112C--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> +<!--D621906776C94378B4528834283A112C--></AD_DATASET_TABLE> + <!--D7DDC46096DC11DDA6CE001B388C61A4--><AD_DATASET_TABLE> <!--D7DDC46096DC11DDA6CE001B388C61A4--> <AD_DATASET_TABLE_ID><![CDATA[D7DDC46096DC11DDA6CE001B388C61A4]]></AD_DATASET_TABLE_ID> <!--D7DDC46096DC11DDA6CE001B388C61A4--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> @@ -6401,6 +6479,32 @@ <!--E88223421F0C45A19DB44D36176C37EA--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> <!--E88223421F0C45A19DB44D36176C37EA--></AD_DATASET_TABLE> +<!--EAC53921F7084F1C9077802EB7966772--><AD_DATASET_TABLE> +<!--EAC53921F7084F1C9077802EB7966772--> <AD_DATASET_TABLE_ID><![CDATA[EAC53921F7084F1C9077802EB7966772]]></AD_DATASET_TABLE_ID> +<!--EAC53921F7084F1C9077802EB7966772--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> +<!--EAC53921F7084F1C9077802EB7966772--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID> +<!--EAC53921F7084F1C9077802EB7966772--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> +<!--EAC53921F7084F1C9077802EB7966772--> <AD_DATASET_ID><![CDATA[C22005ECEB254DFF86061605E9939AAF]]></AD_DATASET_ID> +<!--EAC53921F7084F1C9077802EB7966772--> <AD_TABLE_ID><![CDATA[101]]></AD_TABLE_ID> +<!--EAC53921F7084F1C9077802EB7966772--> <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS> +<!--EAC53921F7084F1C9077802EB7966772--> <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO> +<!--EAC53921F7084F1C9077802EB7966772--> <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT> +<!--EAC53921F7084F1C9077802EB7966772--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> +<!--EAC53921F7084F1C9077802EB7966772--></AD_DATASET_TABLE> + +<!--EB3E1401F99E447BA93BBCF2AF220B62--><AD_DATASET_TABLE> +<!--EB3E1401F99E447BA93BBCF2AF220B62--> <AD_DATASET_TABLE_ID><![CDATA[EB3E1401F99E447BA93BBCF2AF220B62]]></AD_DATASET_TABLE_ID> +<!--EB3E1401F99E447BA93BBCF2AF220B62--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> +<!--EB3E1401F99E447BA93BBCF2AF220B62--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID> +<!--EB3E1401F99E447BA93BBCF2AF220B62--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> +<!--EB3E1401F99E447BA93BBCF2AF220B62--> <AD_DATASET_ID><![CDATA[C22005ECEB254DFF86061605E9939AAF]]></AD_DATASET_ID> +<!--EB3E1401F99E447BA93BBCF2AF220B62--> <AD_TABLE_ID><![CDATA[800154]]></AD_TABLE_ID> +<!--EB3E1401F99E447BA93BBCF2AF220B62--> <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS> +<!--EB3E1401F99E447BA93BBCF2AF220B62--> <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO> +<!--EB3E1401F99E447BA93BBCF2AF220B62--> <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT> +<!--EB3E1401F99E447BA93BBCF2AF220B62--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID> +<!--EB3E1401F99E447BA93BBCF2AF220B62--></AD_DATASET_TABLE> + <!--EBB65FEC96E111DDAFA8001B388C61A4--><AD_DATASET_TABLE> <!--EBB65FEC96E111DDAFA8001B388C61A4--> <AD_DATASET_TABLE_ID><![CDATA[EBB65FEC96E111DDAFA8001B388C61A4]]></AD_DATASET_TABLE_ID> <!--EBB65FEC96E111DDAFA8001B388C61A4--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID> ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits