Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    48
    Vote Rating
    0
    $p00ky is on a distinguished road

      0  

    Default Failed to find file for Ext.ux.auth.controller.Sessions

    Failed to find file for Ext.ux.auth.controller.Sessions


    Sencha Cmd 3.0.0.230
    Sencha Touch 2.1.0rc2

    Right after generating an app, move to that app folder and type "sencha compile concatenate"
    ==> [ERROR] Failed to find file for Ext.ux.auth.controller.Sessions

    Complete error:
    Code:
    >sencha compile concatenate -o test
    Sencha Cmd v3.0.0.230
    [INFO ]         Processing classPath entry : C:\Users\...\SenchaCmd\sencha-compile-temp-dir
    [INFO ]         Processing classPath entry : C:\Users\...\SenchaCmd\touch\src
    [INFO ]         Processing classPath entry : C:\Users\...\SenchaCmd\app.js
    [INFO ]         Processing classPath entry : C:\Users\...\SenchaCmd\app
    [INFO ]         Processing class inheritance graph
    [INFO ]         Processing instantiation refereces to classes and aliases
    [INFO ]         Processing source dependencies
    [ERROR]         Failed to find file for Ext.ux.auth.controller.Sessions
     required by C:\Users\...\SenchaCmd\touch\src\ux\auth2\Auth.js
    [ERROR]         Failed to find any files for Ext.ux.auth.controller.Sessions

  2. #2
    Sencha Premium Member
    Join Date
    Apr 2008
    Posts
    229
    Vote Rating
    18
    themightychris will become famous soon enough themightychris will become famous soon enough

      0  

    Default


    Ext.ux isn't your namespace, the framework comes with classes already in Ext.ux and it has a specific place to find them within the SDK and you're custom files aren't in there. You want to avoid changing anything inside the SDK file tree as it will get wiped out every time you update the framework along with other headaches like this.

    Put your custom classes under your application's namespace+folder or create a new namespace and add its folder to classPath in .sencha/app/sencha.cfg

    I believe your app is called "SenchaCmd" so you should define your controller as SenchaCmd.controller.auth.Sessions and put in in SenchaCmd/app/controller/auth/Sessions.js
    Chief Architect @ Jarv.us Innovations
    Co-captain @ Code for Philly
    Co-founder @ Devnuts - Philadelphia Hackerspace

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    48
    Vote Rating
    0
    $p00ky is on a distinguished road

      0  

    Default


    That's the problem, I did not make any custom modification to the SDK file tree.
    That's based on the self-generated code from sencha cmd (I am just testing it before moving to it).

    Steps to reproduce (on a computer with no Sencha applications/frameworks):
    - Download and extract Sencha Touch 2.1.0rc2
    - Download and install Sencha Cmd 3.0.0.230
    - Navigate to the Sencha Touch 2.1.0rc2 SDK and generate an application ("sencha generate app -p my/path")
    - Navigate to the generated application and run "sencha compile concatenate" <= The error is raised

    Full log from scratch:

    Code:
    C:\>cd sencha-touch-2.1.0-rc2
    
    
    C:\sencha-touch-2.1.0-rc2>sencha generate app Test ./Test
    Sencha Cmd v3.0.0.230
    [INFO ]
    [INFO ]         init-properties:
    [INFO ]
    [INFO ]
    [INFO ]         init-sencha-command:
    [INFO ]
    [INFO ]
    [INFO ]         init:
    [INFO ]
    [INFO ]
    [INFO ]         -before-generate-workspace:
    [INFO ]
    [INFO ]
    [INFO ]         generate-workspace-impl:
    [INFO ]
    [INFO ]
    [INFO ]         -before-copy-framework-to-workspace:
    [INFO ]
    [INFO ]
    [INFO ]         copy-framework-to-workspace-impl:
    [INFO ]
    [INFO ]              [copy] Copying 1105 files to C:\sencha-touch-2.1.0-rc2\Test\touch
    [INFO ]
    [INFO ]              [copy] Copied 171 empty directories to 1 empty directory under C:\sencha-touch-2.1.0-rc2\Test\touch
    [INFO ]
    [INFO ]              [copy] Copying 1 file to C:\sencha-touch-2.1.0-rc2\Test\touch
    [INFO ]
    [INFO ]              [copy] Copying 1 file to C:\sencha-touch-2.1.0-rc2\Test\touch
    [INFO ]
    [INFO ]         [propertyfile] Updating property file: C:\sencha-touch-2.1.0-rc2\Test\.sencha\workspace\sencha.cfg
    [INFO ]
    [INFO ]
    [INFO ]         -after-copy-framework-to-workspace:
    [INFO ]
    [INFO ]
    [INFO ]         copy-framework-to-workspace:
    [INFO ]
    [INFO ]
    [INFO ]         -after-generate-workspace:
    [INFO ]
    [INFO ]
    [INFO ]         generate-workspace:
    [INFO ]
    [INFO ]
    [INFO ]         init-properties:
    [INFO ]
    [INFO ]
    [INFO ]         init-sencha-command:
    [INFO ]
    [INFO ]
    [INFO ]         init:
    [INFO ]
    [INFO ]
    [INFO ]         -before-generate-app:
    [INFO ]
    [INFO ]
    [INFO ]         generate-app-impl:
    [INFO ]
    [INFO ]             [mkdir] Created dir: C:\sencha-touch-2.1.0-rc2\Test\app\model
    [INFO ]
    [INFO ]             [mkdir] Created dir: C:\sencha-touch-2.1.0-rc2\Test\app\controller
    [INFO ]
    [INFO ]             [mkdir] Created dir: C:\sencha-touch-2.1.0-rc2\Test\app\store
    [INFO ]
    [INFO ]             [mkdir] Created dir: C:\sencha-touch-2.1.0-rc2\Test\app\profile
    [INFO ]
    [INFO ]         Generating new packager.json file using native packager
    [INFO ]
    [INFO ]         copy-sdk:
    [INFO ]
    [INFO ]              [copy] Copying 1 file to C:\sencha-touch-2.1.0-rc2\Test\resources\css
    [INFO ]
    [INFO ]
    [INFO ]         -after-generate-app:
    [INFO ]
    [INFO ]
    [INFO ]         generate-app:
    [INFO ]
    
    
    
    
    C:\sencha-touch-2.1.0-rc2>cd Test
    
    
    C:\sencha-touch-2.1.0-rc2\Test>sencha compile concatenate
    Sencha Cmd v3.0.0.230
    [ERROR]         sencha.compile.concatenate requires these parameters: output-file
    
    
    C:\sencha-touch-2.1.0-rc2\Test>sencha compile concatenate -o test
    Sencha Cmd v3.0.0.230
    [INFO ]         Processing classPath entry : C:\sencha-touch-2.1.0-rc2\Test\sencha-compile-temp-dir
    [INFO ]         Processing classPath entry : C:\sencha-touch-2.1.0-rc2\Test\touch\src
    [INFO ]         Processing classPath entry : C:\sencha-touch-2.1.0-rc2\Test\app.js
    [INFO ]         Processing classPath entry : C:\sencha-touch-2.1.0-rc2\Test\app
    [INFO ]         Processing class inheritance graph
    [INFO ]         Processing instantiation refereces to classes and aliases
    [INFO ]         Processing source dependencies
    [ERROR]         Failed to find file for Ext.ux.auth.controller.Sessions
     required by C:\sencha-touch-2.1.0-rc2\Test\touch\src\ux\auth2\Auth.js
    [ERROR]         Failed to find any files for Ext.ux.auth.controller.Sessions
    
    
    C:\sencha-touch-2.1.0-rc2\Test>
    Running in the web browser works.

    Maybe I'm not calling the right command.
    My goal is just to compress the file like in ExtJS 4 so I have only one "app-all.js" that includes all the dependencies so I do not need the full framework and it's much faster to load.
    Something similar to the old create JSB3 then create app-all.js from that file.

    How can I achieve that?

    Auto-Reply: Actually, "sencha app build" which is now working after installing compass seems to do what I was looking for.
    The "compile" tools are just independent tools used during the build process?

  4. #4
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,294
    Vote Rating
    121
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    Quote Originally Posted by $p00ky View Post
    Actually, "sencha app build" which is now working after installing compass seems to do what I was looking for.
    Right, "sencha app build" is the way to build a generated app. You can use the low-level commands like "sencha compile" but there are many steps to producing an app, especially a Sencha Touch app beyond just that.

    Good to hear you have compass working. Just in case you (or someone else reading this) needs to disable compass, you can set the "skip.sass" property for your app in .sencha/app/sencha.cfg, for the whole workspace in .sencha/workspace/sencha.cfg or locally (for you only) in ./local.properties (this file won't exist by default). Whichever file is appropriate, add this line:

    Code:
    skip.sass=1
    The "local.properties" file is intended to be ignored by source control and kept locally only.

    Obviously disabling compass can help speed up your builds but can give you stale results if something in the SASS changes.

    Quote Originally Posted by $p00ky View Post
    The "compile" tools are just independent tools used during the build process?
    Yes, the compile command is a rather low-level command. We use it internally for building apps to keep things simple and stay at a pretty high-level. There are other situations, however, where you might need to take more direct control over the compile step. There are some guides on some of these here:

    http://docs.sencha.com/ext-js/4-1/#!/guide/command_app
    http://docs.sencha.com/ext-js/4-1/#!...and_app_single
    http://docs.sencha.com/ext-js/4-1/#!...mand_app_multi

    And the compiler reference:

    http://docs.sencha.com/ext-js/4-1/#!...mmand_compiler
    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
    Jan 2012
    Posts
    48
    Vote Rating
    0
    $p00ky is on a distinguished road

      0  

    Default


    OK, thanks for your detailed explanation.
    I don't really mind having it enabled.

    Just a quick recommendation then: include compass along with Sencha Cmd so we don't have to install a full Ruby/Gem environment if we don't need.

  6. #6
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    539
    Vote Rating
    50
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      0  

    Default


    A big THANK YOU for "skip.sass=1"!!! - I have been trying for an hour to get compass running in my Debian build-server and probably nuked most of ruby in the process. While compass may be a wonderful tool (I don't know and haven't got a clue about SASS) it sure is a pain to get installed and even after I *think* I got everything right, still "sencha app build production" did not work on a completely new project:
    Code:
    [INFO ]        [shellscript] /home/msa/.rvm/bin/compass: line 6: /home/msa/.rvm/bin/compass: Argument list too long
    [INFO ]        [shellscript] /home/msa/.rvm/bin/compass: line 6: /home/msa/.rvm/bin/compass: Success
    /Mattias

  7. #7
    Sencha User
    Join Date
    Jan 2012
    Posts
    48
    Vote Rating
    0
    $p00ky is on a distinguished road

      0  

    Default


    Code:
    sudo apt-get install ruby-compass

  8. #8
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    539
    Vote Rating
    50
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      0  

    Default


    You must have added some other sources than I have:
    Code:
    root@debian-android:/home/msa# apt-get install ruby-compass
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package ruby-compass
    I have a stock installation Debian 6.0.5 from the netinst ISO.

  9. #9
    Sencha User
    Join Date
    Dec 2012
    Posts
    2
    Vote Rating
    0
    nefis is on a distinguished road

      0  

    Default


    Hello,

    now Sencha Cmd states that build command obsolete and recommend to switch to compile. But when I try to compile a freshly generated app, it outputs error from the first post in the thread. How could I address this?
    I have Sencha Cmd v3.0.0.250 and Sencha Touch 2.1.0.

    Sergey

  10. #10
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,294
    Vote Rating
    121
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    Quote Originally Posted by nefis View Post
    Hello,

    now Sencha Cmd states that build command obsolete and recommend to switch to compile. But when I try to compile a freshly generated app, it outputs error from the first post in the thread. How could I address this?
    I have Sencha Cmd v3.0.0.250 and Sencha Touch 2.1.0.

    Sergey
    First off, please post the exact command you are running and the error message(s) you get. I suspect the choice of commands is the issue you are running in to.

    Secondly, I would recommend upgrading to the current patch release (3.0.2) but that won't effect this issue. In a nutshell, with a generated app, when you run "sencha app build" there are some files excluded from the Sencha Touch framework. I believe this is one of a small number in the "ignores" set. If you are running a direct "sencha compile" command then this ignored set will not be used - you would need to add that to the "sencha compile" command line... that said, I don't think you want to run "sencha compile" for a generated app - "sencha app build" is the high-level build process that covers compilation and more.
    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!"