Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036471Openbravo ERPY. DBSourceManagerpublic2017-07-12 11:212017-07-19 13:36
alostale 
alostale 
normaltrivialhave not tried
closedfixed 
5
 
3.0PR17Q4 
caristu
Core
No
0036471: allow to bypass local changes build prevention
Since 0032809 dbsm will not generate jar file in case there are uncommitted local changes.

This feature is useful to prevent unwanted commits of jar files that are not longer traceable, but it makes dbsm development cycle harder because whenever jar is wanted to be tested it requires to previously commit whatever has changed if those changes are not final they will need to be amended.
1. do any modification in dbsm
2. run ant jar
  -> It stops
Add a new force property to bypass this check and add a log message in case build is forced and there are local changes.
No tags attached.
depends on feature request 0032809 closed alostale ensure proper rev.id info in dbsourcemanager.jar 
Issue History
2017-07-12 11:21alostaleNew Issue
2017-07-12 11:21alostaleAssigned To => alostale
2017-07-12 11:21alostaleModules => Core
2017-07-12 11:21alostaleTriggers an Emergency Pack => No
2017-07-12 11:21alostaleRelationship addeddepends on 0032809
2017-07-12 11:22alostaleReview Assigned To => caristu
2017-07-12 11:26hgbotCheckin
2017-07-12 11:26hgbotNote Added: 0098039
2017-07-12 11:26hgbotStatusnew => resolved
2017-07-12 11:26hgbotResolutionopen => fixed
2017-07-12 11:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/dbsm-main/rev/8b4b8b540b554230a4f5b5e4e97f6e6499a96f0f [^]
2017-07-19 13:36caristuNote Added: 0098135
2017-07-19 13:36caristuStatusresolved => closed
2017-07-19 13:36caristuFixed in Version => 3.0PR17Q4

Notes
(0098039)
hgbot   
2017-07-12 11:26   
Repository: erp/devel/dbsm-main
Changeset: 8b4b8b540b554230a4f5b5e4e97f6e6499a96f0f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 12 11:25:51 2017 +0200
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/8b4b8b540b554230a4f5b5e4e97f6e6499a96f0f [^]

fixed 36471: allow to bypass local changes build prevention

  Now if force property is set, it will allow to build jar and will show a message
  warning about not commtable jar.

---
M build.xml
---
(0098135)
caristu   
2017-07-19 13:36   
Code reviewed + testing OK: ant jar -Dforce=true generates the jar even if there are local changes. A warning message is displayed in that case.