Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [openbravo@SRVOBPRUEBAS OpenbravoERP]$ ant update.database
- Buildfile: build.xml
- set.code.rev:
- code.rev:
- init:
- core.lib:
- init:
- compile:
- build.jar:
- build:
- copy.core.lib:
- database.lib:
- init:
- compile:
- build.jar:
- jar:
- buildvalidation:
- [sql] Executing commands
- [sql] 2 of 2 SQL statements executed successfully
- buildvalidation:
- [java] 0 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.Cbpvendoracct
- [java] 340 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.DuplicatedJavaPackage
- [java] 346 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.PaymentGLItemCheck
- [java] 350 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.PreferenceConflict
- update.database:
- [sql] Executing commands
- [sql] 2 of 2 SQL statements executed successfully
- update.database.java:
- [java] Executing database update process without checking changes in local files.
- [java] 0 INFO - Database connection: jdbc:postgresql://localhost:5432/openbravo. User: tad
- [java] 780 INFO - Executing full update.database
- [java] 787 INFO - Reading tables...
- [java] 8872 INFO - Reading views...
- [java] 9118 INFO - Reading sequences...
- [java] 9122 INFO - Reading triggers...
- [java] 9188 INFO - Reading functions...
- [java] 9557 INFO - Sorting foreign keys, indexes and checks...
- [java] 9787 INFO - Starting function and trigger standardization.
- [java] 59783 INFO - Checking datatypes from the model loaded from the database
- [java] 59789 INFO - Original model loaded from database.
- [java] 65652 INFO - Checking datatypes from the model loaded from XML files
- [java] 65723 INFO - Loading data from XML files
- [java] 71882 INFO - Loading and applying configuration scripts
- [java] 71886 INFO - Loading configuration script: /opt/OpenbravoERP/modules/com.openbravo.gps.praxistemplate/src-db/database/configScript.xml
- [java] Checking if database structure was modified locally.
- [java] Checking if data has changed in the application dictionary.
- [java] 79877 INFO - Executing default prescript
- [java] 80174 INFO - Executed 116 SQL command(s) successfully
- [java] 80199 INFO - Updating database model...
- [java] 80500 WARN - Warning: Name of object NUMO_C_BPARTNER_LOCATION_PRAXIS is too long (31 characters; maximum length: 30 characters)
- [java] 80502 WARN - Warning: Name of object NUMO_C_BPARTNER_LOCATION_PRAXIS is too long (31 characters; maximum length: 30 characters)
- [java] 80503 WARN - Warning: Name of object NUMO_C_BPARTNER_LOCATION_PRAXIS is too long (31 characters; maximum length: 30 characters)
- [java] 82156 WARN - SQL Command failed with: ERROR: function numo_c_bpartner_ocation_praxis() does not exist
- [java] 82158 WARN - -- -----------------------------------------------------------------------
- [java] -- FUNCTION NUMO_C_BPARTNER_OCATION_PRAXIS
- [java] -- -----------------------------------------------------------------------
- [java] DROP FUNCTION NUMO_C_BPARTNER_OCATION_PRAXIS()
- [java] 82207 INFO - Executed 3 SQL command(s) with 1 error(s)
- [java] 82209 INFO - Model update complete.
- [java] 82211 INFO - Disabling foreign keys
- [java] 92151 INFO - Executed 2676 SQL command(s) successfully
- [java] 92154 INFO - Disabling triggers
- [java] 92778 INFO - Executed 542 SQL command(s) successfully
- [java] 93481 INFO - Executed 503 SQL command(s) successfully
- [java] 93489 INFO - Executing moduleScript: org.openbravo.modulescript.CreateDoctypeTemplate
- [java] 93499 INFO - Executing moduleScript: org.openbravo.modulescript.HBFix
- [java] 93510 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateEmailPasswords
- [java] 93514 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateFinancialAccountAccounts
- [java] 93518 INFO - Executing moduleScript: org.openbravo.userinterface.selector.UpdateLanguageColumn
- [java] 93522 INFO - Comparing databases to find differences
- [java] 96815 INFO - Updating Application Dictionary data...
- [java] 96856 INFO - Removing invalid rows.
- [java] 114346 INFO - Executed 179 SQL command(s) successfully
- [java] 114348 INFO - Recreating Primary Keys
- [java] 114450 INFO - Executing update final script (NOT NULLs and dropping temporary tables)
- [java] 117976 INFO - Executed 135 SQL command(s) successfully
- [java] 119072 INFO - Executed 548 SQL command(s) successfully
- [java] 119877 WARN - SQL Command failed with: ERROR: insert or update on table "ad_column" violates foreign key constraint "ad_element_ad_column"
- [java] Detail: Key (ad_element_id)=(EB99D9CE6C48412CBF4EA56BB8DBBA9E) is not present in table "ad_element".
- [java] 119878 WARN - -- END
- [java] ALTER TABLE AD_COLUMN
- [java] ADD CONSTRAINT AD_ELEMENT_AD_COLUMN FOREIGN KEY (AD_ELEMENT_ID) REFERENCES AD_ELEMENT (AD_ELEMENT_ID)
- [java] 119885 WARN - SQL Command failed with: ERROR: insert or update on table "ad_column" violates foreign key constraint "ad_reference_columnvalue"
- [java] Detail: Key (ad_reference_value_id)=(E0C4849B8EE246DF83F52F22AB9F2CCF) is not present in table "ad_reference".
- [java] 119887 WARN - -- END
- [java] ALTER TABLE AD_COLUMN
- [java] ADD CONSTRAINT AD_REFERENCE_COLUMNVALUE FOREIGN KEY (AD_REFERENCE_VALUE_ID) REFERENCES AD_REFERENCE (AD_REFERENCE_ID)
- [java] 119888 INFO - Executed 76 SQL command(s) with 2 error(s)
- [java] 119889 INFO - Enabling Foreign Keys and Triggers
- [java] 136530 INFO - Executed 2676 SQL command(s) successfully
- [java] 161056 INFO - Executed 542 SQL command(s) successfully
- [java] 161063 INFO - Executing default postscript
- [java] 167148 INFO - Executed 22 SQL command(s) successfully
- database.postupdate.POSTGRE:
- [sql] Executing commands
- [sql] 5 of 5 SQL statements executed successfully
- update.dbupdate.timestamp:
- [sql] Executing commands
- [sql] 1 of 1 SQL statements executed successfully
- generate.entities.quick:
- init:
- compile.src.gen:
- [javac] Compiling 4 source files to /opt/OpenbravoERP/build/classes
- [copy] Copying 191 files to /opt/OpenbravoERP/build/classes
- generate.entities.quick:
- [workflow] Adding param: /opt/OpenbravoERP/src/org/openbravo/base/gen/gen_entity.oaw
- [workflow] Adding param: -pob.properties.location=/opt/OpenbravoERP/config/Openbravo.properties
- [workflow] Adding param: -pbase.src.gen=/opt/OpenbravoERP/src-gen
- [workflow] Adding param: --ant
- [workflow] 0 [main] ERROR org.openarchitectureware.xpand2.Generator - Error in Component of type org.openarchitectureware.xpand2.Generator:
- [workflow] EvaluationException : java.lang.reflect.InvocationTargetException
- [workflow] org::openbravo::base::gen::base.xpt[1261,5] on line 24 'model'
- [workflow] [23,54] on line 1 'EXPAND org::openbravo::base::gen::base::root FOR model'
- [workflow]
- [workflow] 70 [main] ERROR org.openarchitectureware.workflow.WorkflowRunner - Workflow interrupted. Reason: EvaluationException : java.lang.reflect.InvocationTargetException
- [workflow] org::openbravo::base::gen::base.xpt[1261,5] on line 24 'model'
- [workflow] [23,54] on line 1 'EXPAND org::openbravo::base::gen::base::root FOR model'
- [workflow]
- [workflow] 73 [main] ERROR org.openarchitectureware.workflow.WorkflowRunner - ERROR in Component of type org.openarchitectureware.xpand2.Generator
- [workflow] java.lang.reflect.InvocationTargetException [model] in workflow: Generator: generating 'org::openbravo::base::gen::base::root FOR model' => directory 'null'
- [workflow] 75 [main] ERROR org.openarchitectureware.workflow.WorkflowRunner - ERROR in Component of type org.openarchitectureware.xpand2.Generator
- [workflow] java.lang.reflect.InvocationTargetException [EXPAND org::openbravo::base::gen::entity::EntityTemplate FOREACH model] in workflow: Generator: generating 'org::openbravo::base::gen::base::root FOR model' => directory 'null'
- [workflow] 76 [main] ERROR org.openarchitectureware.workflow.WorkflowRunner - ERROR in Component of type org.openarchitectureware.xpand2.Generator
- [workflow] java.lang.reflect.InvocationTargetException [root : ModelProvider] in workflow: Generator: generating 'org::openbravo::base::gen::base::root FOR model' => directory 'null'
- [workflow] 78 [main] ERROR org.openarchitectureware.workflow.WorkflowRunner - ERROR in Component of type org.openarchitectureware.xpand2.Generator
- [workflow] java.lang.reflect.InvocationTargetException [EXPAND org::openbravo::base::gen::base::root FOR model] in workflow: Generator: generating 'org::openbravo::base::gen::base::root FOR model' => directory 'null'
- BUILD FAILED
- /opt/OpenbravoERP/build.xml:685: The following error occurred while executing this line:
- /opt/OpenbravoERP/build.xml:522: The following error occurred while executing this line:
- /opt/OpenbravoERP/src/build.xml:282: workflow failed: Java returned: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement