Results 1 to 6 of 6

Thread: app-all.js and all-classes.js works only with sencha-touch-all.js

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    75
    Answers
    4

    Default Answered: app-all.js and all-classes.js works only with sencha-touch-all.js

    Hi everybody,

    I have used the command:
    Code:
    sencha build -p app.jsb3 -d ./
    
    I get an app-all.js and all-classes.js files. But they only work with a sencha-touch-all.js or sencha-touch-all-debug.js build.

    My jsb3 file has I guess all the classes my webapp uses from sencha, but anyway I need to use a sencha-touch-all.js

    Is anyone else having the same issues or any suggestion about what could I be doing wrong.

  2. This happens when you use the sdk tool command line. In order to be able to use the sencha-touch.js I have used the sencha command line from inside my app project, this should be the sencha touch command line.

    sdk tool and sencha command line are two different things

    In my own experience, to use the sencha-touch.js follow the information on "sencha command": http://docs.sencha.com/touch/2-0/#!/guide/command

    A
    nd forget about the "Using and creating builds info".

  3. #2
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    28
    Answers
    1

    Default

    I have the same problem.

  4. #3

    Default

    Yup, same issue here as well.

    I followed the steps as explained on http://docs.sencha.com/touch/2-0/#!/guide/building but no-go.

  5. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    75
    Answers
    4

    Default

    This happens when you use the sdk tool command line. In order to be able to use the sencha-touch.js I have used the sencha command line from inside my app project, this should be the sencha touch command line.

    sdk tool and sencha command line are two different things

    In my own experience, to use the sencha-touch.js follow the information on "sencha command": http://docs.sencha.com/touch/2-0/#!/guide/command

    A
    nd forget about the "Using and creating builds info".

  6. #5

    Default

    Quote Originally Posted by todos27 View Post
    This happens when you use the sdk tool command line. In order to be able to use the sencha-touch.js I have used the sencha command line from inside my app project, this should be the sencha touch command line.
    Ah, great! That seems to work much better.

    I'm now using "sencha app build ..." which creates a production-ready version of my app.

    Thanks

  7. #6

    Default How you are using production version ?

    Could you explain me how you are using build for production version. and we need all-classes.js file for production build ?

    thanks in advance

Posting Permissions

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