-
30 Sep 2012 10:21 PM #1
Sencha Compile bug
Sencha Compile bug
When I run sencha compile, i got the following bugs:
Code:sencha compile -classpath=sdk/src,app,app.js page -in=app.html -out=build/index.html Sencha Cmd v3.0.0.141 [INFO ] Compiling page null [INFO ] Processing classPath entry : sencha-compile-temp-dir [INFO ] Processing classPath entry : sdk/src [INFO ] Processing classPath entry : app [INFO ] Processing classPath entry : app.js [WARN ] JsParse Warning : message => Trailing comma is not legal in an ECMA-262 object initializer file => sdk/src/fx/animation/Cube.js:126,13 line => }, [INFO ] Processing class inheritance graph [ERROR] Failed to resolve dependency Ext.scroll.scroller.CssPosition for file Ext.scroll.scroller.Infinite [ERROR] Error executing page compilation Unknown definition for dependency : Ext.scroll.scroller.CssPosition [ERROR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.scroll.scroller.CssPosition
-
1 Oct 2012 6:05 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
Can you try with our latest release?
http://www.sencha.com/forum/showthre...-Now-Available
There really should be no issue with resolving a framework file, you can also ensure that the file is there.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
1 Oct 2012 3:34 PM #3
I have upgraded to the latest version Sencha Cmd v3.0.0.181 but still got the same error. Is there anyway I can tell Sencha Cmd to ignore the sdk/src ?
-
16 Oct 2012 2:10 AM #4
I have it too.
I have it too.
Same thing happening here. Using the latest SDK (3.0.0.190) and latest Sencha Touch 2.1 beta, I get this when trying to compile:
Code:[ERROR] Failed to resolve dependency Ext.scroll.scroller.CssPosition for file Ext.scroll.scroller.Infinite [ERROR] Error executing page compilation Unknown definition for dependency : Ext.scroll.scroller.CssPosition [ERROR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.scroll.scroller.CssPosition
-
16 Oct 2012 2:25 AM #5
Got it fixed.
Got it fixed.
Got it fixed. Had to replace a line in touch/src/scroll/scroller/Infinite.js:
line 5 used to be:
but I replaced it to be:Code:extend: 'Ext.scroll.scroller.CssPosition',
so looks like a typoCode:extend: 'Ext.util.translatable.CssPosition',
Works nicely now.
-
18 Oct 2012 2:02 AM #6
for me it only worked with:
is this correct?Code:extend: 'Ext.util.translatable.ScrollPosition',
Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.


Reply With Quote