PDA

View Full Version : Deploy still needs the extjs directory?



WagsMax
13 Sep 2012, 2:59 PM
I have followed the instructions on deploying an extjs app, but the deploy still seems to need the extjs directory. If I remove the extjs directory from the deployment directory I get the following error:

GET http://localhost/atmgo/extjs/src/layout/container/Border.js?_dc=1347576596752 404 (Not Found)

My dir structure while getting this error is:

atmgo
|--app-all.js
|--index.html

If the deploy process is condensing and minifying why do I still need the extjs directory?

scottmartin
13 Sep 2012, 6:42 PM
You simply need to include your ext-all.js / css files with your deploy. You can also create your own smaller version as well.

You do not need the DIR and files itself unless your app is looking for the above files in that dir.

It looks like it may be trying to find a file (class) you do not have available.. so it starts searching.

Did you use the SDK to compile?

Scott.

WagsMax
13 Sep 2012, 8:20 PM
Yes, thanks, after your suggestion, I included the ext-all.js and the error did not come up. When I was getting the error, I was using ext.js. Thanks!