Thank you for reporting this bug. We will make it our priority to review this report.
  1. #11
    Sencha User
    Join Date
    Jun 2012
    Location
    Dhaka, Bangladesh
    Posts
    10
    Vote Rating
    -1
    sayem.bd has a little shameless behaviour in the past

      0  

    Default


    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 -

    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?
    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?

    You see my point?

  2. #12
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    Lausanne, Switzerland
    Posts
    196
    Vote Rating
    2
    mcbl can only hope to improve

      1  

    Default 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.

  3. #13
    Sencha User
    Join Date
    Jun 2012
    Location
    Dhaka, Bangladesh
    Posts
    10
    Vote Rating
    -1
    sayem.bd has a little shameless behaviour in the past

      0  

    Default


    Quote Originally Posted by mcbl View Post
    Do update or we will simply leave this bad documented framed work.
    You've spoken my mind!

    Quote Originally Posted by mcbl View Post
    Have you tried Wakanda, full JavaScript stack? It seems much more documented.
    Gotta check this out!!

  4. #14
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    52
    Vote Rating
    11
    celticboyone will become famous soon enough

      0  

    Default


    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

  5. #15
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,033
    Vote Rating
    57
    dongryphon is a jewel in the rough dongryphon is a jewel in the rough dongryphon is a jewel in the rough

      0  

    Default


    Quote Originally Posted by celticboyone View Post
    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 )
    Looks like ".sencha_backup" got left in there (a temporary copy during upgrade). Delete that folder or move it out of your project and see if that doesn't help.
    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!"

  6. #16
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    52
    Vote Rating
    11
    celticboyone will become famous soon enough

      0  

    Default


    Quote Originally Posted by frankbolviken View Post
    I got it working in a few hours, simply by following these steps:
    1: Build a new application with the sencha cmd 3.
    2: Migrate your code into this "skeleton" folder.
    3: Make sure not to overwrite and loose essential configuration options in certain files (like index.html, <!-- <x-compile> --> etc)
    4: moving my css and sass files etc to the folders which sencha cmd 3 created. (From resources/sass to resources/sass/default/
    5: Moved my app.js from root to app/ folder.
    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

  7. #17
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    52
    Vote Rating
    11
    celticboyone will become famous soon enough

      0  

    Default


    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):

    Code:
    #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
    ... and here is where it appears to go bad

    Code:
    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
    Thank you

  8. #18
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,033
    Vote Rating
    57
    dongryphon is a jewel in the rough dongryphon is a jewel in the rough dongryphon is a jewel in the rough

      0  

    Default


    Quote Originally Posted by celticboyone View Post
    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
    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!"

  9. #19
    Sencha User
    Join Date
    Sep 2012
    Posts
    8
    Vote Rating
    1
    cburgdorf is on a distinguished road

      0  

    Default


    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...

  10. #20
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    401
    Vote Rating
    36
    shepsii has a spectacular aura about shepsii has a spectacular aura about

      2  

    Default


    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