Skip to content

Commit

Permalink
Changed order to add libraries before framework version extracting (q…
Browse files Browse the repository at this point in the history
  • Loading branch information
goldim authored Oct 14, 2024
1 parent 46b6c88 commit 5dd55ef
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions source/class/qx/tool/cli/commands/Compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,15 @@ Framework: v${await this.getQxVersion()} in ${await this.getQxPath()}`);
if (data.environment) {
maker.setEnvironment(data.environment);
}

/*
Libraries have to be added first because there is qx library
which includes a framework version
*/
for (let library of librariesArray) {
maker.getAnalyser().addLibrary(library);
}

let targetEnvironment = {
"qx.version": maker.getAnalyser().getQooxdooVersion(),
"qx.compiler.targetType": target.getType(),
Expand Down Expand Up @@ -1406,10 +1415,6 @@ Framework: v${await this.getQxVersion()} in ${await this.getQxPath()}`);
maker.getAnalyser().setVerboseCreatedAt(true);
}

for (let library of librariesArray) {
maker.getAnalyser().addLibrary(library);
}

let allApplicationTypes = {};
appConfigs.forEach(appConfig => {
var app = (appConfig.app = new qx.tool.compiler.app.Application(
Expand Down

0 comments on commit 5dd55ef

Please sign in to comment.