Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044768
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagerminorhave not tried2020-08-07 07:062020-08-07 11:17
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044768: cannot compile DBSM tests from cli

DescriptionDBSM tests cannot be compiled from command line.
Steps To ReproduceIn 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0041777 closedalostale add an annotation to link test cases with issues 

-  Notes
(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 [^]

- Issue History
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 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 Note Added: 0121887
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
Powered by Mantis Bugtracker