Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044768 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Y. DBSourceManager | minor | have not tried | 2020-08-07 07:06 | 2020-08-07 11:17 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0044768: cannot compile DBSM tests from cli | |||||||
Description | DBSM tests cannot be compiled from command line. | |||||||
Steps To Reproduce | In dbsm: 1. ensure test compilation is needed (rm -r ./src-test/build) 2. try to execute tests: ant run.tests ERROR: ant run.tests master Buildfile: /home/alostale/ws/base/dbsm/DBSourceManagerModularity/build.xml init: compile: run.tests: compile.tests: [javac] Compiling 60 source files to /home/alostale/ws/base/dbsm/DBSourceManagerModularity/src-test/build [javac] Processing annotations [javac] Annotations processed [javac] Processing annotations [javac] No elements to process [javac] /home/alostale/ws/base/dbsm/DBSourceManagerModularity/src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptColumnSizeChange.java:32: error: package org.openbravo.test.base does not exist [javac] import org.openbravo.test.base.Issue; [javac] ^ [javac] /home/alostale/ws/base/dbsm/DBSourceManagerModularity/src-test/src/org/openbravo/dbsm/test/model/Sequences.java:31: error: package org.openbravo.test.base does not exist [javac] import org.openbravo.test.base.Issue; [javac] ^ [javac] /home/alostale/ws/base/dbsm/DBSourceManagerModularity/src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptColumnSizeChange.java:84: error: cannot find symbol [javac] @Issue("36902") [javac] ^ [javac] symbol: class Issue [javac] location: class ConfigScriptColumnSizeChange [javac] /home/alostale/ws/base/dbsm/DBSourceManagerModularity/src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptColumnSizeChange.java:98: error: cannot find symbol [javac] @Issue("44069") [javac] ^ [javac] symbol: class Issue [javac] location: class ConfigScriptColumnSizeChange [javac] /home/alostale/ws/base/dbsm/DBSourceManagerModularity/src-test/src/org/openbravo/dbsm/test/model/Sequences.java:92: error: cannot find symbol [javac] @Issue("42908") [javac] ^ [javac] symbol: class Issue [javac] location: class Sequences [javac] /home/alostale/ws/base/dbsm/DBSourceManagerModularity/src-test/src/org/openbravo/dbsm/test/model/Sequences.java:101: error: cannot find symbol [javac] @Issue("42908") [javac] ^ [javac] symbol: class Issue [javac] location: class Sequences [javac] 6 errors BUILD FAILED | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0121887) hgbot (developer) 2020-08-07 07:14 |
Merge Request created: https://gitlab.com/openbravo/product/dbsm/-/merge_requests/12 [^] |
(0121912) hgbot (developer) 2020-08-07 11:17 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/dbsm [^] Changeset: f84dc5b019227b2335ea69ccb06006d2320bf61c Author: Asier Lostalé <asier.lostale@openbravo.com> Date: 2020-08-07T07:11:58+02:00 URL: https://gitlab.com/openbravo/product/dbsm/-/commit/f84dc5b019227b2335ea69ccb06006d2320bf61c [^] fixed BUG-44768: can't compile tests from cli It failed to compile because DBSM tests are making use of classes defined in base openbravo src-test. Added them to the test classpath to solve the problem. --- M src-test/build.xml --- |
(0121913) hgbot (developer) 2020-08-07 11:17 |
Merge request merged: https://gitlab.com/openbravo/product/dbsm/-/merge_requests/12 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2020-08-07 07:06 | alostale | New Issue | |
2020-08-07 07:06 | alostale | Assigned To | => platform |
2020-08-07 07:06 | alostale | OBNetwork customer | => No |
2020-08-07 07:06 | alostale | Modules | => Core |
2020-08-07 07:06 | alostale | Triggers an Emergency Pack | => No |
2020-08-07 07:06 | alostale | Assigned To | platform => alostale |
2020-08-07 07:06 | alostale | Steps to Reproduce Updated | View Revisions |
2020-08-07 07:10 | alostale | Relationship added | caused by 0041777 |
2020-08-07 07:14 | hgbot | Merge Request Status | => open |
2020-08-07 07:14 | hgbot | Note Added: 0121887 | |
2020-08-07 09:33 | hgbot | Merge Request Status | open => approved |
2020-08-07 11:17 | hgbot | Resolution | open => fixed |
2020-08-07 11:17 | hgbot | Status | new => closed |
2020-08-07 11:17 | hgbot | Note Added: 0121912 | |
2020-08-07 11:17 | hgbot | Note Added: 0121913 |
Copyright © 2000 - 2009 MantisBT Group |