-
7 Jun 2012 7:51 AM #1
Sencha Command 2.0.2 and Architect
Sencha Command 2.0.2 and Architect
Hello,
I have a big problem and hope someone can help me.
We where going to lunch our application today. The "only" thing missing was to run Sencha Command so that everything was minified.
Now 8 hours later I do not have it up and running.
I have followed http://www.sencha.com/forum/showthre...ools-v2-beta-3
Step by step but I keep getting problems. After deleting all kind of stuff (don't know how to get that to work later on) I om down to these errors:
Code:[WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.data.proxy.JsonP'; consider adding 'Ext.data.proxy.JsonP' explicitly as a require of the corresponding classConsole.js:35 [WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.navigation.View'; consider adding 'Ext.navigation.View' explicitly as a require of the corresponding class Console.js:35 [WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.carousel.Carousel'; consider adding 'Ext.carousel.Carousel' explicitly as a require of the corresponding class Console.js:35 [WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.field.Search'; consider adding 'Ext.field.Search' explicitly as a require of the corresponding class Console.js:35 [WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.plugin.ListPaging'; consider adding 'Ext.plugin.ListPaging' explicitly as a require of the corresponding class Console.js:35 [WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.form.Panel'; consider adding 'Ext.form.Panel' explicitly as a require of the corresponding class Console.js:35 [WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.form.FieldSet'; consider adding 'Ext.form.FieldSet' explicitly as a require of the corresponding class Console.js:35 [WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.field.Password'; consider adding 'Ext.field.Password' explicitly as a require of the corresponding class
-
7 Jun 2012 7:58 AM #2
If you add these to your Application or Controller requires thse errors will go away.
http://www.sencha.com/blog/using-ext...ur-applicationPhil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
-
7 Jun 2012 8:10 AM #3
For ST2?
I don't understand, can I do that within Architect?
Thanks for the help, I really need it.
-
7 Jun 2012 10:10 AM #4
In Architect you can add requires to your Application node
Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
-
7 Jun 2012 10:33 AM #5
-
8 Jun 2012 1:34 AM #6
One down, but two new ones:
- It gives me a error that Container.js is missing. I can manually copy that file but something else must be wrong? If I do so I will get error 2.
- Code:
TypeError: 'undefined' is not an object (evaluating 'name.split') sencha-touch.js:5834
-
8 Jun 2012 3:48 AM #7
-
9 Jun 2012 8:18 PM #8
At some point Architect will include things for you automatically but it does not do that today. If you don't include the require it will have to dynamically load it in production which is not what you want likely. There are at times good reasons to use the loader for seldom used portions of the code so as not to have every use pull down code they will never use.
Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team


Reply With Quote