错误:Variantoptimizer:未找到 (qx.debug:off) 的默认情况
当尝试在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一方面,
qx.debug
在源版本中默认设置为“on”,因此您无需为此执行任何操作。对于构建版本,您需要在 config.json 中进行配置,例如在“jobs”部分添加
这是您的配置吗?你给出的错误信息很奇怪,你用的是哪个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
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.