Riverside-Software / pct

Build automation for OpenEdge ABL
Apache License 2.0
96 stars 62 forks source link

Problems with PCTCreateBase when definition file causes warnings #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello.

I'm upgraded my old PCT jar (build 138) to the latest version (build 170), in 
order to get support to Progress version 11.1.

But now, even warnings in the database creation is failling my Ant target.
I see that I have an option: "commitWhenErrors" in PCTLoadSchema (not 
PCTCreateBase). So, I could use PCTCreateBase without definitions, and Load via 
PCTLoadSchema with commitWhenErrors=false, but I don't guess this is correct to 
use... I just got a warning on my DF load, and commitWhenErrors=false will pass 
even if the DF is with real problems...

The following errors and/or warnings occurred while loading 
\\TOUROS\Auto\_DFS\ems2\2.04\11.5.4-SNAPSHOT\PSC\ems2cex.df
into database ems2cex on 28/01/13 at 11:21.

** ADD FIELD comentarios caused a warning **

SQL client cannot access fields having widths greater than 31995.
The width of the field "comentarios" in the .df file is 48024.
Use the data dictionary Adjust Width Utility to correct width.

** ADD FIELD dsl-mercad caused a warning **

SQL client cannot access fields having widths greater than 31995.
The width of the field "dsl-mercad" in the .df file is 40020.
Use the data dictionary Adjust Width Utility to correct width.

Ant the Ant Log (it's actually in Portuguese, but guess you can get the point):

[PCTCreateBase] Sessão Procopy iniciada por bruno.cunha em batch. (451)
[PCTCreateBase] 
[PCTCreateBase] Formatando extensões:
[PCTCreateBase]    tamanho                nome da área   nome do caminho
[PCTCreateBase]       4    Primary Recovery Area 
E:\Auto\targets\Datasul11.5.4\ems204-datasul11.5.4\Progress\Dados\unica\db\ems2c
ex.b1 00:00:00
[PCTCreateBase]      16              Schema Area 
E:\Auto\targets\Datasul11.5.4\ems204-datasul11.5.4\Progress\Dados\unica\db\ems2c
ex.d1 00:00:00
[PCTCreateBase] 
[PCTCreateBase] Copiando c:\dlc111\empty8 para ems2cex... (6715)
[PCTCreateBase] 
[PCTCreateBase] Iniciando a escrita dos blocos de dados. (6718)
[PCTCreateBase] 11:21:29 10 Porcentagem completo.
[PCTCreateBase] 11:21:29 20 Porcentagem completo.
[PCTCreateBase] 11:21:29 30 Porcentagem completo.
[PCTCreateBase] 11:21:29 40 Porcentagem completo.
[PCTCreateBase] 11:21:29 50 Porcentagem completo.
[PCTCreateBase] 11:21:29 60 Porcentagem completo.
[PCTCreateBase] 11:21:29 70 Porcentagem completo.
[PCTCreateBase] 11:21:29 80 Porcentagem completo.
[PCTCreateBase] 11:21:29 90 Porcentagem completo.
[PCTCreateBase] 11:21:29 100 Porcentagem completo.
[PCTCreateBase] 370 blocos copiados. (6720)
[PCTCreateBase] 
[PCTCreateBase] ...Copia completa. (6722)
[PCTCreateBase] Banco copiado de c:\dlc111\empty8. (1365)
[PCTCreateBase] Fim de sessão Procopy. (334)
[PCTCreateBase] Loading 
\\TOUROS\Auto\_DFS\ems2\2.04\11.5.4-SNAPSHOT\PSC\ems2cex.df into database
[PCTCreateBase] Errors during load. Log file can be found in 
C:\Jenkins\workspace\Upgrade - 11.5.4 - Progress (DLC 
11)\dados\Dados\dbtype\Progress\label\master\produtoversao\EMS2 
2.04\versao\11.5.4\Upgrade\ems2cex.e

BUILD FAILED

I appreciate your help.

Thank you.

Regards,
Bruno Candido Volpato da Cunha

Original issue reported on code.google.com by brunocvc...@gmail.com on 28 Jan 2013 at 3:29

GoogleCodeExporter commented 9 years ago
Build #172 should fix your problem. Could you have a look ?

Original comment by g.quer...@gmail.com on 8 Feb 2013 at 4:02