我无法在ExtJs中为我的MVC应用程序运行sencha构建命令。但是sencha create jsb命令已经成功生成了文件
{
"projectName": "Project Name",
"licenseText": "Copyright(c) 2011 Company Name",
"builds": [
{
"name": "All Classes",
"target": "all-classes.js",
"options": {
"debug": true
},
"files": []
},
{
"name": "Application - Production",
"target": "app-all.js",
"compress": true,
"files": [
{
"path": "",
"name": "all-classes.js"
},
{
"path": "",
"name": "app.js"
}
]
}
],
"resources": []
}
有人可以帮助我
答案 0 :(得分:0)
似乎jsb文件没有成功创建,应用程序的文件应该位于构建部分的“文件”中,但事实并非如此。 像这样:
...
"builds": [
{
"name": "All Classes",
"target": "all-classes.js",
"options": {
"debug": true
},
"files": [{
"path": "app/controller",
"name": "MyController.js"
}, {
... etc
}]
},
...
您使用的是什么版本的sdk?