Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000553Openbravo ERPA. Platformpublic2008-06-05 08:292009-04-22 00:00
jpabloae 
alostale 
normalminoralways
closedfixed 
30Gentoo - 2.6.24
pi 
2.402.50beta 
Core
No
0000553: Build should stop when sqlc fails
If the sqlc xsql files compilation fails, it should stop and not continue with the buildAD and compileSqlc tasks.

Attached a sample log.
1. Get a revision with an error in a xsql file (r4832).
2. Run "ant install.source"
Exists the possibility of setting up if you want to stop since the first error shows up. Besides this when the error appears, it would be nice if in the error message it is written that you can configure this (Stop or not stop)
No tags attached.
related to defect 00005522.40 closed cromero ReportBankJR_data.xsql fails to compile in pgsql 
log openbravo-trunk_pgsql.log (198,614) 2008-06-05 08:29
https://issues.openbravo.com/file_download.php?file_id=59&type=bug
Issue History
2008-06-05 08:29jpabloaeNew Issue
2008-06-05 08:29jpabloaeAssigned To => cromero
2008-06-05 08:29jpabloaeFile Added: openbravo-trunk_pgsql.log
2008-06-05 08:30jpabloaeRelationship addedrelated to 0000552
2008-06-05 08:32jpabloaeReproducibilityhave not tried => always
2008-06-09 12:09psarobeSteps to Reproduce Updated
2008-06-09 12:09psarobeStatusnew => scheduled
2008-06-09 12:09psarobeAssigned Tocromero => alostale
2008-06-13 19:59cromeroTarget Version => 2.40
2008-12-10 09:58alostaleAssigned Toalostale => iperdomo
2009-01-30 18:43iciordiaAssigned Toiperdomo => alostale
2009-02-20 09:12alostaleNote Added: 0013786
2009-02-20 09:13svnbotCheckin
2009-02-20 09:13svnbotNote Added: 0013787
2009-02-20 09:13svnbotStatusscheduled => resolved
2009-02-20 09:13svnbotResolutionopen => fixed
2009-02-20 09:13svnbotsvn_revision => 13444
2009-04-21 10:54psarobeStatusresolved => closed
2009-04-22 00:00anonymoussf_bug_id0 => 2777898

Notes
(0013786)
alostale   
2009-02-20 09:12   
The way it is going to work is displaying all the errors in sql and in case there are errors do not continue with the compilation.
(0013787)
svnbot   
2009-02-20 09:13   
Repository: openbravo
Revision: 13444
Author: alostale
Date: 2009-02-20 09:12:59 +0100 (Fri, 20 Feb 2009)

fixed bug 0000553: Build should stop when sqlc fails

---
U trunk/src/build.xml
U trunk/src-core/src/org/openbravo/data/Sqlc.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=13444&sc=1 [^]