Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034368Openbravo ERPY. DBSourceManagerpublic2016-11-02 17:542022-02-01 08:09
AugustoMauch 
Triage Platform Base 
normalminorhave not tried
acknowledgedopen 
5
 
 
Core
No
0034368: ant jar should fail if mercurial detects unknown java files
This changeset [1] ensured that the ant jar task cannot be executed if there are local changes. This is done by checking that the revision id does not contain the '+' character.

The problem is that if there are new java files that have not been added to the repo, the check done in [1] does not detect it and the jar file will be created.

[1] https://issues.openbravo.com/view.php?id=32809 [^]
- Create a new Java file
- Check that mercurial detects it as unknown: hg st -u
- Check that mercurial does not detect the change in its revision id: hg id -i
- Check that the ant jar task can be executed.
Check if there are unknown java files before creating the jar:

hg st -u | grep java
No tags attached.
related to feature request 0032809 closed alostale ensure proper rev.id info in dbsourcemanager.jar 
Issue History
2016-11-02 17:54AugustoMauchNew Issue
2016-11-02 17:54AugustoMauchAssigned To => platform
2016-11-02 17:54AugustoMauchModules => Core
2016-11-02 17:54AugustoMauchTriggers an Emergency Pack => No
2016-11-02 17:54AugustoMauchRelationship addedrelated to 0032809
2016-11-03 08:31alostaleTypedefect => feature request
2016-11-03 08:31alostaleStatusnew => acknowledged
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.