Fixed 11212: Remove some build.xml target which are not useful/working anymore
authorStefan Hühner <stefan.huehner@openbravo.com>
Tue, 17 Nov 2009 16:31:13 +0100
changeset 5443 41ecc4f0f539
parent 5442 145a7d779743
child 5444 15b7733d1be8
child 5654 9dffcace90b7
Fixed 11212: Remove some build.xml target which are not useful/working anymore
cleanup internal build.xml files in src-db to remove unsused parts from them
build.xml
src-db/database/build-create.xml
src-db/database/build.xml
--- a/build.xml	Tue Nov 17 14:41:56 2009 +0100
+++ b/build.xml	Tue Nov 17 16:31:13 2009 +0100
@@ -50,14 +50,9 @@
 eclipse.install.source: install the ERP from sources for eclipse (from Mercurial).
 create.database: refer to create.database target of database.
 update.database: refer to update.database target of database.
-create.database.structure: refer to create.database.structure target of database.
-update.database.structure: refer to update.database.structure target of database.
 create.database.script: refer to create.database.script target of database.
 update.database.script: refer to update.database.script target of database.
 export.database: exports database structure and data to xml files.
-export.database.structure: refer to export.database.structure target of database.
-export.database.data: refer to export.database.data target of database.
-import.database.data: refer to import.database.data target of database.
 -->
 <project name="openbravo" default="compile.complete" basedir=".">
   <property environment="env" />
@@ -545,14 +540,6 @@
     <ant dir="${base.db}" target="update.customized.database" inheritAll="true" inheritRefs="true" />
   </target>
 
-  <target name="create.database.structure" depends="init, core.lib">
-    <ant dir="${base.db}" target="create.database.structure" inheritAll="true" inheritRefs="true" />
-  </target>
-
-  <target name="update.database.structure" depends="init, core.lib">
-    <ant dir="${base.db}" target="update.database.structure" inheritAll="true" inheritRefs="true" />
-  </target>
-
   <target name="create.database.script" depends="init, core.lib">
     <ant dir="${base.db}" target="create.database.script" inheritAll="true" inheritRefs="true" />
   </target>
@@ -565,22 +552,10 @@
     <ant dir="${base.db}" target="export.database.structure" inheritAll="true" inheritRefs="true" />
   </target>
 
-  <target name="export.database.structure" depends="init, core.lib">
-    <ant dir="${base.db}" target="export.database.structure" inheritAll="true" inheritRefs="true" />
-  </target>
-
   <target name="export.config.script" depends="init, core.lib">
     <ant dir="${base.db}" target="export.config.script" inheritAll="true" inheritRefs="true" />
   </target>
 
-  <target name="export.database.data" depends="init, core.lib">
-    <ant dir="${base.db}" target="export.database.data" inheritAll="true" inheritRefs="true" />
-  </target>
-
-  <target name="import.database.data" depends="init, core.lib">
-    <ant dir="${base.db}" target="import.database.data" inheritAll="true" inheritRefs="true" />
-  </target>
-
   <target name="db.apply.modules" if="apply.modules.on.create">
     <echo message="applying modules" />    
     <antcall inheritall="true" inheritrefs="true" target="apply.module" />
--- a/src-db/database/build-create.xml	Tue Nov 17 14:41:56 2009 +0100
+++ b/src-db/database/build-create.xml	Tue Nov 17 16:31:13 2009 +0100
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -46,11 +46,6 @@
     <classpath refid="runtime-classpath-create" />
   </taskdef>
 
-  <taskdef name="importdata" classname="org.openbravo.ddlutils.task.ImportDataXML">
-    <classpath refid="runtime-classpath-create" />
-  </taskdef>
-
-
   <target name="create.database">
     <antcall target="clean.database.${bbdd.rdbms}" />
     <antcall target="prepare.database" />
--- a/src-db/database/build.xml	Tue Nov 17 14:41:56 2009 +0100
+++ b/src-db/database/build.xml	Tue Nov 17 16:31:13 2009 +0100
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,24 +20,12 @@
 <!--
 List of targets:
 
-create.database: creates the database from scratch.
 update.database: updates structure and data in database.
-clean.database.ORACLE: Drop database from Oracle.
-clean.database.POSTGRE: Drop database from PostgreSQL.
-ORACLE.structure: Creates the database in Oracle.
-POSTGRE.structure: Creates the database in PostgreSql.
-prepare.database: Call to the specific rdbms structure.
-create.database.structure: Create the database structure from xml files.
-update.database.structure: Updates the database structure from xml files.
 create.database.script: Creates the database script in the script directory.
 update.database.script: Updates the database script in the script directory.
 export.database.structure: Exports the database structure in the xml's files.
-import.database.data: Imports the data into the database.
-export.database.data: Exports the data from database to xml's files.
-database.postcreate.ORACLE: Executes post creation operation in Oracle database.
-database.postcreate.POSTGRE: Executes post creation operation in PostgreSQL database.
 -->
-<project name="openbravo" default="create.database" basedir=".">
+<project name="openbravo" basedir=".">
   <property environment="env" />
   <condition property="bbdd.owner.url" value="${bbdd.url}/${bbdd.sid}" else="${bbdd.url}">
     <and>
@@ -56,71 +44,29 @@
     </fileset>
   </path>
 
-  <taskdef name="createdatabase" classname="org.openbravo.ddlutils.task.CreateDatabase">
-    <classpath refid="runtime-classpath" />
-  </taskdef>
   <taskdef name="createscript" classname="org.openbravo.ddlutils.task.CreateXML2SQL">
     <classpath refid="runtime-classpath" />
   </taskdef>
-  <taskdef name="alterdatabase" classname="org.openbravo.ddlutils.task.AlterDatabase">
-    <classpath refid="runtime-classpath" />
-  </taskdef>
-  <taskdef name="alterdatabasedata" classname="org.openbravo.ddlutils.task.AlterDatabaseData">
-    <classpath refid="runtime-classpath" />
-  </taskdef>
   <taskdef name="alterdatabasedataall" classname="org.openbravo.ddlutils.task.AlterDatabaseDataAll">
     <classpath refid="runtime-classpath" />
   </taskdef>
   <taskdef name="alterdatabasedatamod" classname="org.openbravo.ddlutils.task.AlterDatabaseDataMod">
     <classpath refid="runtime-classpath" />
   </taskdef>
-  <taskdef name="altercustomizeddatabasedata" classname="org.openbravo.ddlutils.task.AlterCustomizedDatabaseData">
-    <classpath refid="runtime-classpath" />
-  </taskdef>
   <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="importdata" classname="org.openbravo.ddlutils.task.ImportDataXML">
-    <classpath refid="runtime-classpath" />
-  </taskdef>
-  <taskdef name="exportdata" classname="org.openbravo.ddlutils.task.ExportDataXMLMod">
-    <classpath refid="runtime-classpath" />
-  </taskdef>
   <taskdef name="exportconfigscript" classname="org.openbravo.ddlutils.task.ExportConfigScript">
     <classpath refid="runtime-classpath" />
   </taskdef>
-  <taskdef name="savemodel" classname="org.openbravo.ddlutils.task.SaveDatabase">
-    <classpath refid="runtime-classpath" />
-  </taskdef>
-  <taskdef name="comparedatabase" classname="org.openbravo.ddlutils.task.CompareDatabase">
-    <classpath refid="runtime-classpath" />
-  </taskdef>
-  <taskdef name="comparedata" classname="org.openbravo.ddlutils.task.CompareData">
-    <classpath refid="runtime-classpath" />
-  </taskdef>
-
-  <target name="create.database">
-    <antcall target="clean.database.${bbdd.rdbms}" />
-    <antcall target="prepare.database" />
-    <antcall target="create.database.all" />
-    <antcall target="database.preimport.${bbdd.rdbms}" />
-    <antcall target="database.postimport.${bbdd.rdbms}" />
-    <antcall target="database.postcreate.${bbdd.rdbms}" />
-    <antcall target="update.dbupdate.timestamp" />
-  </target>
 
   <target name="export.config.script">
     <exportconfigscript driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" filter="com.openbravo.db.OpenbravoMetadataFilter" password="${bbdd.password}" excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" moduledir="${base.modules}" model="model" coreData="${base.db}/sourcedata" verbosity="${bbdd.verbosity}" industryTemplate="${industryTemplate}" userId="0" propertiesFile="${base.config}/Openbravo.properties" />
   </target>
 
-  <target name="update.database.old">
-    <alterdatabasedata 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" />
-    <antcall target="database.postupdate.${bbdd.rdbms}" />
-  </target>
-
   <target name="update.database">
     <alterdatabasedataall 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" propertiesFile="${base.config}/Openbravo.properties" force="${force}" onlyIfModified="${onlyIfModified}"/>
     <antcall target="database.postupdate.${bbdd.rdbms}" />
@@ -159,156 +105,6 @@
     <antcall target="database.postupdate.${bbdd.rdbms}" />
     <antcall target="update.dbupdate.timestamp" />
   </target>
-  <target name="clean.database.ORACLE">
-    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-        DROP USER ${bbdd.user} CASCADE;
-      </transaction>
-    </sql>
-  </target>
-
-  <target name="clean.database.POSTGRE">
-    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-        DROP DATABASE ${bbdd.sid};
-      </transaction>
-    </sql>
-    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-        DROP ROLE ${bbdd.user};
-      </transaction>
-    </sql>
-  </target>
-
-  <target name="ORACLE.structure">
-    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" delimiter="/">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-        --CHEKING IF USER EXISTS
-        DECLARE
-          v_count NUMBER;
-        BEGIN
-          SELECT COUNT(*) INTO v_count FROM DBA_USERS WHERE USERNAME = '${bbdd.user}';
-          IF (v_count > 0) THEN
-            RAISE_APPLICATION_ERROR(-20100, '${bbdd.user} ALREADY EXISTS. SELECT ANOTHER USER OR DROP IT FIRST');
-          END IF;
-        END;
-        /
-      </transaction>
-
-    </sql>
-    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-        --UPDATING OPEN CURSORS NUMBER
-        ALTER SYSTEM SET OPEN_CURSORS = 10000 SCOPE=BOTH;
-      </transaction>
-    </sql>
-    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-        --CREATING USER
-        CREATE USER ${bbdd.user} IDENTIFIED BY ${bbdd.password}
-        DEFAULT TABLESPACE USERS
-        TEMPORARY TABLESPACE TEMP;
-
-        --GRANTING USER
-      	grant create session     to ${bbdd.user};
-      	grant alter  session     to ${bbdd.user};
-      	grant create table       to ${bbdd.user};
-      	grant create procedure   to ${bbdd.user};
-      	grant create trigger     to ${bbdd.user};
-      	grant create view        to ${bbdd.user};
-      	alter user ${bbdd.user} quota unlimited on users;
-      </transaction>
-    </sql>
-  </target>
-
-  <target name="POSTGRE.structure">
-    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-        --CREATING USER
-        CREATE ROLE ${bbdd.user} LOGIN PASSWORD '${bbdd.password}'
-               SUPERUSER CREATEDB CREATEROLE
-               VALID UNTIL 'infinity';
-        
-        UPDATE pg_authid SET rolcatupdate=true WHERE rolname='${bbdd.user}';
-      </transaction>
-    </sql>
-    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-        CREATE DATABASE ${bbdd.sid}
-                  WITH ENCODING='UTF8'
-                  OWNER=${bbdd.user}
-                  TEMPLATE=template0;
-      </transaction>
-    </sql>
-  </target>
-
-  <target name="prepare.database">
-    <antcall target="${bbdd.rdbms}.structure" />
-  </target>
-
-  <target name="create.database.all">
-    <createdatabase driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" password="${bbdd.password}" model="model" object="${bbdd.object}" dropfirst="false" failonerror="false" verbosity="${bbdd.verbosity}" basedir="${base.modules}/" modulesDir="${base.modules}/" dirFilter="*/src-db/database/model" filter="com.openbravo.db.OpenbravoMetadataFilter" input="src-db/database/sourcedata,modules/*/src-db/database/sourcedata">
-    </createdatabase>
-    <antcall target="database.poststructure.${bbdd.rdbms}" />
-  </target>
-
-  <target name="create.original.database.structure">
-    <createdatabase driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" password="${bbdd.password}" model="../originalDatabase/model" object="${bbdd.object}" dropfirst="false" failonerror="false" verbosity="${bbdd.verbosity}" />
-    <antcall target="database.poststructure.${bbdd.rdbms}" />
-  </target>
-
-  <target name="update.database.structure">
-    <alterdatabase driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" password="${bbdd.password}" excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" model="model" object="${bbdd.object}" failonerror="false" verbosity="${bbdd.verbosity}" />
-    <antcall target="database.poststructure.${bbdd.rdbms}" />
-  </target>
 
   <target name="create.database.script">
     <createscript driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" password="${bbdd.password}" model="model" object="${bbdd.object}" output="${bbdd.outputscript}" dropfirst="false" verbosity="${bbdd.verbosity}" />
@@ -322,69 +118,6 @@
     <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" rd="${rd}" />
   </target>
 
-  <target name="import.database.data">
-    <antcall target="database.preimport.${bbdd.rdbms}" />
-    <importdata driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" filter="com.openbravo.db.OpenbravoMetadataFilter" password="${bbdd.password}" excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" basedir="${base.db}/../.." input="src-db/database/sourcedata" verbosity="${bbdd.verbosity}" />
-    <antcall target="database.postimport.${bbdd.rdbms}" />
-    <antcall target="database.postupdate.${bbdd.rdbms}" />
-  </target>
-
-
-  <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}" datasetList="AD,ADRD"/>
-  </target>
-
-  <target name="database.postcreate.ORACLE">
-    <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-          DELETE FROM AD_SYSTEM;
-          INSERT INTO AD_SYSTEM (AD_SYSTEM_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, TAD_RECORDRANGE, TAD_RECORDRANGE_INFO, TAD_TRANSACTIONALRANGE, TAD_THEME)
-          VALUES ('0', '0', '0', 'Y', NOW(), '0', NOW(), '0', '?', 20, 100, 1, 'Default');
-          DELETE FROM AD_SYSTEM_INFO;
-          INSERT INTO AD_SYSTEM_INFO(AD_SYSTEM_INFO_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ANT_VERSION, OB_INSTALLMODE, CODE_REVISION)
-          VALUES('0', '0', '0', 'Y', NOW(), '0', NOW(), '0', '${ant.version}', 'From Sources', '${code.revision}');
-          DELETE FROM AD_REGISTRATION_INFO;
-          INSERT INTO AD_REGISTRATION_INFO(AD_REGISTRATION_INFO_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY)
-          VALUES('0', '0', '0', 'Y', NOW(), '0', NOW(), '0');
-          CALL AD_UPDATE_SEQUENCE();
-          CALL AD_UPDATE_ACCESS();
-          UPDATE AD_MODULE SET ISINDEVELOPMENT='N', ISDEFAULT='N', SEQNO=NULL, STATUS='P', UPDATE_AVAILABLE=NULL, ISREGISTERED='N' WHERE STATUS IS NULL OR STATUS='I';
-        </transaction>
-    </sql>
-  </target>
-
-  <target name="database.postcreate.POSTGRE">
-    <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-          DELETE FROM AD_SYSTEM;
-          INSERT INTO AD_SYSTEM (AD_SYSTEM_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, TAD_RECORDRANGE, TAD_RECORDRANGE_INFO, TAD_TRANSACTIONALRANGE, TAD_THEME)
-          VALUES ('0', '0', '0', 'Y', NOW(), '0', NOW(), '0', '?', 20, 100, 1, 'Default');
-          DELETE FROM AD_SYSTEM_INFO;
-          INSERT INTO AD_SYSTEM_INFO(AD_SYSTEM_INFO_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ANT_VERSION, OB_INSTALLMODE, CODE_REVISION)
-          VALUES('0', '0', '0', 'Y', NOW(), '0', NOW(), '0', '${ant.version}', 'From Sources', '${code.revision}');
-          DELETE FROM AD_REGISTRATION_INFO;
-          INSERT INTO AD_REGISTRATION_INFO(AD_REGISTRATION_INFO_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY)
-          VALUES('0', '0', '0', 'Y', NOW(), '0', NOW(), '0');
-          SELECT AD_UPDATE_SEQUENCE();
-          SELECT AD_UPDATE_ACCESS();
-          UPDATE AD_MODULE SET ISINDEVELOPMENT='N', ISDEFAULT='N', SEQNO=NULL, STATUS='P', UPDATE_AVAILABLE=NULL, ISREGISTERED='N' WHERE STATUS IS NULL OR STATUS='I';
-        </transaction>
-    </sql>
-  </target>
-
-
   <target name="database.postupdate.ORACLE">
     <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="abort" autocommit="true">
       <classpath>
@@ -421,35 +154,6 @@
     </sql>
   </target>
 
-  <target name="update.customized.database">
-    <altercustomizeddatabasedata driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" password="${bbdd.password}" filter="com.openbravo.db.OpenbravoMetadataFilter" model="model" orgModel="../originalDatabase/model" data="${basedir}/sourcedata" orgData="${basedir}/../originalDatabase/sourcedata" verbosity="${bbdd.verbosity}" />
-    <antcall target="database.postcreate.${bbdd.rdbms}" />
-  </target>
-
-  <target name="database.preimport.ORACLE">
-  </target>
-  <target name="database.postimport.ORACLE">
-  </target>
-  <target name="database.preimport.POSTGRE">
-  </target>
-  <target name="database.postimport.POSTGRE">
-  </target>
-  <target name="database.poststructure.ORACLE">
-    <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true">
-      <classpath>
-        <fileset dir="${base.lib}">
-          <include name="**/*.jar">
-          </include>
-        </fileset>
-      </classpath>
-      <transaction>
-            PURGE RECYCLEBIN;
-        </transaction>
-    </sql>
-  </target>
-  <target name="database.poststructure.POSTGRE">
-  </target>
-
   <target name="update.dbupdate.timestamp">
     <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true">
       <classpath>