-
Notifications
You must be signed in to change notification settings - Fork 23
qx.core.Environment.get("qx.libraryInfoMap") not working in "build" target #781
Comments
@sgaillard Thanks for reporting. @johnspackman , can you have a look? |
Hi everybody, |
This should work if you use the |
Just tryed |
Hi,
Here is my issue as suggested by Henner Kollmann @hkollmann on gitter.
I use to rely on
qx.core.Environment.get("qx.libraryInfoMap")
to get information about version and packages used in my apps and display them to the end user or as a log hint when debugging deployed apps.But today (qx --version: 1.0.0-beta-20201203-1458), as with version 1.0.0-beta-20201003-1033 when I first ask on gitter, this call returns un undefined value in target "build" and with qx deploy. With qx compile --target source (default compile target) everything goes as expected.
Step to reproduce:
qx create new_app
console.log(qx.core.Environment.get("qx.libraryInfoMap"));
in the body of the appqx compile --target source
qx compile --target build
(orqx deploy --clean -o compiled/new_app
)Result:
new_app/compiled/source
result in the display in js console of theqx.libraryInfoMap
with all libraries info available.new_app/compiled/build
result in the display in js console of anundefined
content.Expected:
Same result in both source and build targets
Environment:
Minimum demo Application.js file:
The text was updated successfully, but these errors were encountered: