Results 1 to 8 of 8

Thread: sencha-touch-2.0.1 and Sencha Command v2.0.2 - creating builds

  1. #1

    Default sencha-touch-2.0.1 and Sencha Command v2.0.2 - creating builds

    Hi Folks,

    I'm using sencha-touch-2.0.1 and Sencha Command v2.0.2.

    http://docs.sencha.com/touch/2-0/#!/guide/building - Using and Creating Builds

    http://docs.sencha.com/touch/2-0/#!/guide/command - Using Sencha Command

    The above two urls of the sencha touch docs provides different ways of building.

    But I assume for sencha-touch-2.0.1 and Sencha Command v2.0.2 the information in http://docs.sencha.com/touch/2-0/#!/guide/command - Using Sencha Command is the correct one.

    Please let me know whether my assumtion is right.

    Thank you.
    Regards,
    Kishan.G

  2. #2

    Default Creating a New Application - sencha touch 2.0.1 and sencha cmd v 2.0.2

    Hi Folks,

    I'm using sencha touch 2.0.1 and sencha cmd v 2.0.2

    Just want to know when Creating a New Application using
    sencha app create MyApp/path/to/www/myapp
    as mentioned in http://docs.sencha.com/touch/2-0/#!/guide/command

    1) The code generated (default build) is nothing but a development version (build), since the index.html uses the microloader/development.js - is this correct?

    2) When we create a new app (the develpment build as mentioned above), under the sdk folder, there are two files namely sencha-touch.js and sencha-touch-all.js. But as per the documentation (http://docs.sencha.com/touch/2-0/#!/api/Ext.Loader), the development build should use the sencha-touch-debug.js and sencha-touch-debug-all.js. My question is are the files (two js files), under sdk folder, when we create a new app using sencha command, is nothing but the debug version of these two js files.

    Please clarify.

    Thank you.
    Regards,
    Kishan.G

  3. #3
    Sencha Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    658
    Answers
    7

    Default

    I think you are correct, but Sencha Command v2.0.2 ? Newer seen never than 2.0.0 beta 3.
    Sven Tore Iversen

  4. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449
    Answers
    3997

    Default

    Yes, they are the development versions (not minified). When you do the build with sencha app build production or the like it will minify it.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #5
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449
    Answers
    3997

    Default

    Merged your two threads together. Please don't double post.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  6. #6

    Default

    Hi svenna,

    Thanks for your reply.

    Yes, you are correct, its Sencha Command v2.0.0 for Sencha Touch 2 and not 2.0.2. Thanks for pointing out.

    Regards,
    Kishan

  7. #7

    Default

    Hi mitchellsimoens ,

    Thanks for your quick reply.

    Regards,
    Kishan.G

  8. #8

    Default

    Hi mitchellsimoens ,

    Sorry for the misunderstanding.

    One thread is related to creating builds and the other thread is related to creating new application.

    Thank you.
    Regards,
    Kishan.G



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •