Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0041924 | Openbravo ERP | A. Platform | public | 2019-10-03 10:34 | 2022-02-01 07:24 | |||||||
Reporter | gorka_gil | |||||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | low | Severity | minor | Reproducibility | N/A | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0041924: ant clean unification | |||||||||||
Description | After compile openbravo with a java version and try to do another install source with another java version, sometimes fails because remain clases compiled with old java. And is needed to use special rm commands to clean all: rm -Rf build/ && rm -Rf src-core/build/ && rm -rf src-trl/build/ && rm -Rf src-wad/build/ && rm -Rf src-gen/org/openbravo/ Also, there is two clean tasks in the principal build.xml: - clean - cleanSubfolders Clean only clean the openbravo src, and cleanSubfolders only clean src-core, src-trl and src-wad. The install.source only calls to cleanSubfolders (As long as I can see) I think ant clean should call to cleanSubfolders. And the install.source should call to clean. Also think to what should call compile.complete, and do small review of the clean in the build.xml. | |||||||||||
Steps To Reproduce | - clone erp pi - save included classes: find . -name *.class > includedClasess.txt - run ant install.sources - run ant clean - Check that src-core, src-trl and src-wad was not cleaned find . -name *.class | grep -v -f includedClasess.txt - run ant cleanSubfolders - Check that still there are classes not cleaned find . -name *.class | grep -v -f includedClasess.txt ./src-db/build/classes/com/openbravo/db/OpenbravoMasterdataFilter.class ./src-db/build/classes/com/openbravo/db/OpenbravoDataFilter.class ./src-db/build/classes/com/openbravo/db/OpenbravoMetadataFilter.class ./src-db/build/classes/com/openbravo/db/OpenbravoExcludeFilter.class | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-10-03 10:34 | gorka_gil | New Issue | ||||||||||
2019-10-03 10:34 | gorka_gil | Assigned To | => platform | |||||||||
2019-10-03 10:34 | gorka_gil | Modules | => Core | |||||||||
2019-10-03 10:34 | gorka_gil | Triggers an Emergency Pack | => No | |||||||||
2019-10-03 10:35 | gorka_gil | Relationship added | related to 0020266 | |||||||||
2019-11-27 15:47 | shuehner | Note Added: 0115895 | ||||||||||
2022-02-01 07:24 | alostale | Assigned To | platform => Triage Platform Base |
Notes | |||||
|
|||||
|
|