Hi there, i've been stuck for two days with this and i'm getting nowhere, so here i am... here's the thing:
I've modified the "js" section of app.json:
and in sencha.cfg:
So my app works fine like that.... now when i build in testing or production i'm pretty lost as to what to do next.
I'm developing the touch version of my extjs app, so my folder structure looks like this in public folder (i'm using Ruby as backend)
and my index.html just have the microloader
Code:
<script id="microloader" type="text/javascript" src="mobile/.sencha/app/microloader/development.js"></script>
I've modified the "js" section of app.json:
Code:
{
"path": "mobile/bootstrap.js",
"x-bootstrap": true
},
{
"path": "mobile/app.js",
"bundle": true, /* Indicates that all class dependencies are concatenated into this file when build */
"update": "delta"
},
{
"path": "mobile/app/ext-lang-es.js"
}
and in sencha.cfg:
Code:
app.classpath=mobile/app.js,mobile/app
So my app works fine like that.... now when i build in testing or production i'm pretty lost as to what to do next.
If i replace the index.html with the ones provided in the respective builds, it fails to find the right paths to the app files.
My guess is i messed up something in app.json and/or in sencha.cfg, but it was the only way to make the app run in the microloader/development version. Since i intend to build also for native, i wanted to make it the "right" way, but i failed misserably...
If anyone could point me at the right direction, i'd be most grateful....
Thanks in advance from Argentina!
Aucun commentaire:
Enregistrer un commentaire