PDA

View Full Version : Broken JSB3 file in 4.1-gpl



sg707
26 May 2012, 9:04 PM
In the build/sdk.jsb3 .. it seems to have wrong path to javascript. For example, pkgs directory doesn't exist in build directory. Can someone show me how to create jsb3 or how to correct it? I'm trying to use it for Spket but doesn't seem to work. I manually remapped the folder and that still didn't work.

scottmartin
11 Jun 2012, 11:01 AM
Example JSB3



{
"projectName": "Project Name",
"licenseText": "Copyright(c) 2012 Company Name",
"builds": [
{
"name": "All Classes",
"target": "all-classes.js",
"options": {
"debug": true
},
"files": [
{
"clsName": "Ext.chart.Callout",
"name": "Callout.js",
"path": "assets/extjs-4.1.1-rc1/src/chart/"
},

...... all project files

{
"clsName": "Ext.form.field.Checkbox",
"name": "Checkbox.js",
"path": "assets/extjs-4.1.1-rc1/src/form/field/"
}
]
},
{
"name": "Application - Production",
"target": "app-all.js",
"compress": true,
"files": [
{
"path": "",
"name": "all-classes.js"
},
{
"path": "",
"name": "app.js"
}
]
}
],
"resources": []
}


Scott