PDA

View Full Version : Using Sencha SDK Tools on Ext Designer output



ghal_maraz
8 Mar 2012, 7:00 AM
hi,

I'm new to Ext JS and after reading the first tutorials, I am trying to use the Sencha SDK Tools to build a simple application based on the Ext Designer output and a bit of own code for eventhandling.

The application is running on wamp like expected, but when I try to run sencha create and sencha build the all-classes.js is empty and the app-all.js contains only very few code (furthermore it is not compressed but that ok for now).

I already renamed the output to index.html and app.js and replaced the link to the external ext js lib to a locale one. Before that sencha create jsb just hang forever. Now this is my output:


{
"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": []
}

I would expect that the output of one Sencha Tool is compatible to another one, so what am I missing?
Do I have to add some require-Statements to my code?

Thanks and best regards