开发者

Error: Variantoptimizer: No default case found for (qx.debug:off)

开发者 https://www.devze.com 2023-02-04 00:47 出处:网络
When trying to generate our application with the variant \"qx.debug\" set to \"on\" in the config.json I get a lot of errors like this:

When trying to generate our application with the variant "qx.debug" set to "on" in the config.json I get a lot of errors like this:

Error: Variantoptimize开发者_运维问答r: No default case found for (qx.debug:off) at (qx.core.Property:1004)

I could fix those by adding the "default" cases, but I was wondering, if I was doing something wrong in the first place or if this these are actual issues in the qooxdoo SDK.


For one thing, qx.debug is set to "on" in the source version by default, so you don't have to do anything for that.

For the build version, you need to configure this in your config.json, e.g. in the "jobs" section add

"build" : {
   "variants" : {
       "=qx.debug" : [ "on" ]
   }
}

Is this what your config looks like? The error message you gave is weird, which qooxdoo version are you using? You shouldn't need to provide any "default" cases for this variant in the framework code.

0

精彩评论

暂无评论...
验证码 换一张
取 消