Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012958Openbravo ERPA. Platformpublic2010-04-13 20:102010-05-18 21:43
shuehner 
alostale 
urgentmajorhave not tried
closedfixed 
5
pi 
 
Core
No
0012958: MMC recompile with deploy.mode=war does not call generate.entities -> makes compilation fails for modules adding tables
Found during install of 'UI Selector Example' module in a standalone tomcat with deploy.mode=war

in this case generate.entities is not called before compileSqlc which makes the rebuild fail as some of the new modules use the (not) generated model classes

Note: using deploy.mode=class works fine in this case
use deploy.mode=war
goto mmc: install 'UI Selector example' module
Rebuild in the mmc
Will fail
No tags attached.
related to defect 0012175 closed alostale Deploy mode 'none' doesn't work properly. Compilation is skipped 
txt apply-log-deploy.mode.war.txt (86,993) 2010-04-13 20:10
https://issues.openbravo.com/file_download.php?file_id=2435&type=bug
txt apply-log-deploy.mode.class.txt (72,067) 2010-04-13 20:11
https://issues.openbravo.com/file_download.php?file_id=2436&type=bug
Issue History
2010-04-13 20:10shuehnerNew Issue
2010-04-13 20:10shuehnerAssigned To => alostale
2010-04-13 20:10shuehnerFile Added: apply-log-deploy.mode.war.txt
2010-04-13 20:11shuehnerNote Added: 0026158
2010-04-13 20:11shuehnerFile Added: apply-log-deploy.mode.class.txt
2010-04-13 20:11shuehnerNote Added: 0026159
2010-04-19 08:30alostaleStatusnew => scheduled
2010-04-19 08:30alostalefix_in_branch => pi
2010-04-30 13:13alostaleRelationship addedrelated to 0012175
2010-04-30 13:24hgbotCheckin
2010-04-30 13:24hgbotNote Added: 0026813
2010-04-30 13:24hgbotStatusscheduled => resolved
2010-04-30 13:24hgbotResolutionopen => fixed
2010-04-30 13:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fba8bb3038a682b8851616021284858e042e6fdc [^]
2010-05-13 16:45shuehnerNote Added: 0027207
2010-05-13 16:45shuehnerStatusresolved => closed
2010-05-14 00:00anonymoussf_bug_id0 => 3001310
2010-05-18 21:43hudsonbotCheckin
2010-05-18 21:43hudsonbotNote Added: 0027461

Notes
(0026158)
shuehner   
2010-04-13 20:11   
Attached apply.log for failed build
(0026159)
shuehner   
2010-04-13 20:11   
apply.log for working build
(0026813)
hgbot   
2010-04-30 13:24   
Repository: erp/devel/pi
Changeset: fba8bb3038a682b8851616021284858e042e6fdc
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 30 13:23:53 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fba8bb3038a682b8851616021284858e042e6fdc [^]

fixed bug 12958: comple with deploy.mode=war does not call generate.entities

---
M build.xml
---
(0027207)
shuehner   
2010-05-13 16:45   
Tested in pi/pgsql working fine now.
(0027461)
hudsonbot   
2010-05-18 21:43   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/fba8bb3038a6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]