-
4 Feb 2013 8:02 AM #11
Yes, I saw that.
My point is, this document should have been updated by sencha itself! But in this case, people find the correct way from a comment. Most of the cases, beginners don't tend to read the comments from a documentation. What if someone reads the documentation information, and then thinks -
What would have happened if that guy didn't comment here? Sencha provides offline documentation from it's commercial bundle. What if someone tried to search it from there? What if some other parts of this documentation contain this kind of inconsistency where no one has commented yet to point that out?Hey, this is paid stuff, so they must be careful enough to provide correct information in the documentation. After all, this IS the official documentation, right?
You see my point?
-
4 Feb 2013 8:30 AM #12
Sencha Team needs some F*****G Coffee
Sencha Team needs some F*****G Coffee
We the developers all agree on the point: Invest more money in documentation!
We can't work with such messy things. Do update or we will simply leave this bad documented framed work.
Have you tried Wakanda, full JavaScript stack? It seems much more documented.
-
4 Feb 2013 9:00 AM #13
-
4 Feb 2013 1:42 PM #14
Dear frankbolviken
That is a great idea - it's how we did it in SDK 2.0. The new Sencha Cmd v3 is different in that it first "upgrades" the project - in fact Architect replicates the entire project in a different directory and then as I understand the command line is used from there. I've been chasing my tail installing Ant, Java SDK, editing cfg files, copying compass support files updating Sencha Cmd etc. but I haven't been able to work it out - it throws errors that I really don't understand how to fix, like this:
Code:[INF] Processing classPath entry : C:\inetpub\wwwroot\myprojects\scorecard\app.js [INF] Processing classPath entry : C:\inetpub\wwwroot\myprojects\scorecard [WRN] [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initializer => /*7df37ae6b93652f5886ec15b36940c7eb6840d53*/Ext.define("Ext.event.ListenerStack",{currentOrder:"current",length:0,constructor:function(){this.listeners={before:[],current:[],after:[]};this.lateBindingMap={};return this},add:function(h,j,k,e){var a=this.lateBi [ERR] [ [2000] : YUI Compressor Error <> missing name after . operator => packagerConfig.outputPath = path.resolve(config.buildPaths.native); ] :: ( C:\inetpub\wwwroot\myprojects\scorecard\.sencha_backup\2.0.0\sdk\command\src\module\Application.js => 294 : 98 )
I'll go back to my original project and see if I can do as you recommend.
Thank you
-
4 Feb 2013 2:02 PM #15
Don Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
-
4 Feb 2013 2:05 PM #16
I responded earlier but have a question: Since Architect uses it's own project structure. Do you have to do step 2: "Migrate your code into this 'skeleton' folder" each time you do a build? If so, how big a job is that - do you have any more details on it?
Thank you
-
4 Feb 2013 3:02 PM #17
Wow - I removed the sencha_backup directory and that definitely made a big different, it goes a lot further now -- all the way down to line 314. Below is where it appears to go bad and it has a lot of the same "Adding implicit dependencies..." before this. First is my sencha.cfg file (not sure I have the classpath correct):
... and here is where it appears to go badCode:#Fri, 01 Feb 2013 15:54:12 -0800 app.name=Scorecard app.framework=touch app.classpath=app.js,${app.dir} app.cmd.version=3.0.0.250
Thank youCode:line 314: [DBG] Adding implicit dependency on Ext.app.Controller for Scorecard.view.DriverInspectionList to file C:\inetpub\wwwroot\myprojects\scorecard\build\Scorecard\production\app.js [DBG] Adding implicit dependency on Ext.app.Controller for Scorecard.view.CarrierDriverDetailsCarousel to file C:\inetpub\wwwroot\myprojects\scorecard\build\Scorecard\production\app.js [DBG] Adding implicit dependency on Ext.app.Controller for Scorecard.view.DriverBySectioncodeNav to file C:\inetpub\wwwroot\myprojects\scorecard\build\Scorecard\production\app.js [DBG] Adding implicit dependency on Ext.app.Controller for Scorecard.view.SearchContainer to file C:\inetpub\wwwroot\myprojects\scorecard\build\Scorecard\production\app.js [DBG] Adding implicit dependency on Ext.app.Controller for Scorecard.view.SearchDriverCarousel to file C:\inetpub\wwwroot\myprojects\scorecard\build\Scorecard\production\app.js [INF] Processing class inheritance graph [INF] Processing instantiation refereces to classes and aliases [DBG] Detected Ext.create call [DBG] [ [1002] : Class was referenced but not found <> button ] :: ( C:\inetpub\wwwroot\myprojects\scorecard\touch\src\ActionSheet.js => 76 : 13 ) [DBG] [ [1002] : Class was referenced but not found ] :: ( C:\inetpub\wwwroot\myprojects\scorecard\touch\src\Container.js => 284 : 13 ) [DBG] found property named 'xtype' at C:\inetpub\wwwroot\myprojects\scorecard\touch\src\Container.js : 1167 : 8, but value was not a string literal [DBG] [ [1002] : Class was referenced but not found ] :: ( C:\inetpub\wwwroot\myprojects\scorecard\touch\sencha-touch-all.js => 30435 : 13 ) [DBG] [ [1002] : Class was referenced but not found ] :: ( C:\inetpub\wwwroot\myprojects\scorecard\touch\sencha-touch-all.js => 30435 : 13 ) [DBG] Detected Ext.create call
-
4 Feb 2013 3:10 PM #18
The steps in http://www.sencha.com/forum/showthre...-Sencha-Cmd-v3 should work - if not that thread is the place to ask for clarification. You do not need to restructure an Architect app.
If you have specific issues or errors, please start a thread with the steps you've taken, the command(s) you have run and their console output. Use "sencha -debug" to get more details.
From comments above - Sencha Cmd is not what you want to use for Sencha Touch 2.0. For that version, you should continue to use SDK Tools v2. For Sencha Touch 2.1+, you need Sencha Cmd.
To help further, we need some of those specifics and they would be impossible to discuss/track in the middle of this thread...Don Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
-
5 Feb 2013 1:42 PM #19
Not trying to be a dick but, I really would love to see someone starting a yeoman/grunt based community replacement for the Sencha CMD...
-
6 Feb 2013 7:15 AM #20
If Sencha aren't going to come through, what needs to happen is community driven docs. The product is there and functional, it seems, just no-one knows how to use it. And given it's a command line app... that's fairly disastrous
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote
