错误:Variantoptimizer:未找到 (qx.debug:off) 的默认情况

发布于 2024-10-12 00:42:18 字数 248 浏览 3 评论 0原文

当尝试在 config.json 中将变体“qx.debug”设置为“on”来生成我们的应用程序时,我收到很多这样的错误:

Error: Variantoptimizer: No default case found for (qx.debug:off) at (qx.core.Property:1004)

我可以通过添加“默认”情况来修复这些错误,但我想知道,如果我一开始就做错了什么,或者这些是 qooxdoo SDK 中的实际问题。

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: Variantoptimizer: 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

琴流音 2024-10-19 00:42:18

一方面,qx.debug 在源版本中默认设置为“on”,因此您无需为此执行任何操作。

对于构建版本,您需要在 config.json 中进行配置,例如在“jobs”部分添加

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

这是您的配置吗?你给出的错误信息很奇怪,你用的是哪个qooxdoo版本?您不需要在框架代码中为此变体提供任何“默认”情况。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文