Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    163
    Vote Rating
    1
    extremed is on a distinguished road

      0  

    Default How to build desktop example?

    How to build desktop example?


    Hi

    How can i build desktop example with latest sencha cmd?

    do i have to generate jsb3 file and then build using that file?


    Regards

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,046
    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


    We have not provided a build of the examples other than Kitchen Sink, but to build the example yourself you would not use JSB files with Cmd. Are you intending to build your application using the desktop example as a starter?
    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!"

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    163
    Vote Rating
    1
    extremed is on a distinguished road

      0  

    Default


    im not a starter though but im kind of lost with new versions of cmd + 4.2.0 extjs. just wanted to see a build and how it works.

  4. #4
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,046
    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


    I see. In the case of our examples... they all pre-date Cmd and so were not structured in consistent ways and so each requires a porting exercise... some are easy but some are less so.

    We have started this process using the Kitchen Sink as the show case app to hold the simple examples. The combination examples will take further effort, so I would not recommend using something like Desktop as a case study on using Cmd. At least not in this version. If you look at Kitchen Sink, you will see how we have created an MVC application using Ext JS 4.2 and Cmd 3.1 and handled multiple-themes in the build process... Locales will be coming soon to Kitchen Sink to show off RTL.

    After seeing many different approaches to starting on Cmd + Ext JS, I would recommend using Cmd to generate a new app in a scratch folder somewhere. Looking at what Cmd generates is good way to see how you might put those pieces in place in your own app.

    If the structure Cmd produces is very different from your app then there may be some challenges "merging" these. In this case, Cmd does have a lot of lower-level commands that can still be used but will require more understanding. The Cmd generated build script (in .sencha/app/build-impl.xml) is a good place to look at how Cmd has automated the various aspects of the build. It is also a good place to see how you might hook in to the process using the extension points it provides.

    Have you had a chance to look at the generated app yet? If so, do you have any questions there?

    NOTE: There are many benefits to the combination of Cmd and Ext JS, but Ext JS 4.2 does not require Cmd - in case there is any confusion there. Ext JS 4.2 ships with all of the bits in basically the same form as before providing the "all" files for JS, CSS and SCSS.
    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. #5
    Sencha User
    Join Date
    Jul 2011
    Posts
    163
    Vote Rating
    1
    extremed is on a distinguished road

      0  

    Default


    Thanks for the explanation. i checked the generated app from cmd and found that once compiled there are some border missing with neptune theme.

    maybe im doing something wrong. i guess i should wait till new documentation comes live

    Thanks

  6. #6
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,046
    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


    Neptune is a (mostly) border-less UI so that may be on purpose. You can always add "border:true" on the components you want to see if that gives you the result you are after.
    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!"