1. #11
    Sencha User
    Join Date
    May 2011
    Location
    Northern California
    Posts
    255
    Vote Rating
    17
    BillHubbard has a spectacular aura about BillHubbard has a spectacular aura about BillHubbard has a spectacular aura about

      0  

    Default


    Apparently, this JS Builder tool gives no indication when it fails, other than to produce bad output.

    It is not compressing or obfuscating my scripts, and I wind up with the following in my directory:
    11/10/2011 04:54 PM 733,798 sjs-all-debug.js
    11/10/2011 04:54 PM 733,665 sjs-all.js
    11/10/2011 04:54 PM 733,665 sjs-all.js-temp-707842769255.8569

  2. #12
    Ext JS Premium Member
    Join Date
    Jan 2008
    Posts
    3
    Vote Rating
    0
    deane turner is on a distinguished road

      0  

    Default Here is a JSBuilder 3 Document

    Here is a JSBuilder 3 Document


    Hello Bill,

    I just posted a link to a resource that may help you.

    http://www.sencha.com/forum/showthre...-starting-out.

  3. #13
    Ext JS Premium Member
    Join Date
    Jan 2008
    Posts
    3
    Vote Rating
    0
    deane turner is on a distinguished road

      0  

    Default Here is the direct link.


  4. #14
    Sencha User
    Join Date
    Feb 2011
    Posts
    104
    Vote Rating
    0
    headkit is on a distinguished road

      0  

    Default


    Quote Originally Posted by BillHubbard View Post
    Thanks, that was very helpful.
    As an experiment, I created a jsb3 file by hand and was able to generate a script file. But the deployment version is not getting compressed or obfuscated, even though I specified "compress": true in the JSON.
    same here:
    Code:
    ...
      * Compress and obfuscate appName.js...
    rsync: -: unknown option
    rsync error: syntax or usage error (code 1) at main.c(1455) [client=3.0.9]
    java.io.FileNotFoundException: /Users/NAME/PATH/TO/APP/www/nameOfBuildJSFile.js-temp-882015127581.6014 (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:120)
            at java.io.FileInputStream.<init>(FileInputStream.java:79)
            at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:92)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.java:20)

  5. #15
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    331
    Vote Rating
    4
    stewardsencha is on a distinguished road

      0  

    Default


    sencha create jsb -a http://chat.stewardsencha.com/index.php -p chat.jsb3

    Code:
    2012-02-05 14:07:58.545 phantomjs[15311:903] Error loading /Users/stewardsencha/Library/Internet Plug-Ins/WebEx.plugin/Contents/MacOS/WebEx:  dlopen(/Users/stewardsencha/Library/Internet Plug-Ins/WebEx.plugin/Contents/MacOS/WebEx, 262): no suitable image found.  Did find:
        /Users/stewardsencha/Library/Internet Plug-Ins/WebEx.plugin/Contents/MacOS/WebEx: mach-o, but wrong architecture
    2012-02-05 14:07:58.595 phantomjs[15311:903] Error loading /Library/Internet Plug-Ins/Silverlight.plugin/Contents/MacOS/agcore:  dlopen(/Library/Internet Plug-Ins/Silverlight.plugin/Contents/MacOS/agcore, 262): no suitable image found.  Did find:
        /Library/Internet Plug-Ins/Silverlight.plugin/Contents/MacOS/agcore: mach-o, but wrong architecture
    2012-02-05 14:07:58.630 phantomjs[15311:903] Error loading /Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin:  dlopen(/Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin, 265): no suitable image found.  Did find:
        /Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin: no matching architecture in universal wrapper
    plugin,NP_Initialize start
    plugin,NP_Initialize end
    plugin,NP_GetEntryPoints start
    Private_Initialize
    plugin,NP_GetEntryPoints end
    2012-02-05 14:07:58.956 phantomjs[15311:903] Error loading /Library/Internet Plug-Ins/iPhotoPhotocast.plugin/Contents/MacOS/iPhotoPhotocast:  dlopen(/Library/Internet Plug-Ins/iPhotoPhotocast.plugin/Contents/MacOS/iPhotoPhotocast, 262): no suitable image found.  Did find:
        /Library/Internet Plug-Ins/iPhotoPhotocast.plugin/Contents/MacOS/iPhotoPhotocast: no matching architecture in universal wrapper
    The "app" is barely more than "Hello World".

    No idea if my machine has gone sour or Sencha is serving up more mystery.

    Anyone know what "phantom.js" is? Are these messages for real?

  6. #16
    Sencha User
    Join Date
    Feb 2011
    Posts
    104
    Vote Rating
    0
    headkit is on a distinguished road

      0  

    Default


    compiled and installed newest rsync, then rebooted - all good now!

  7. #17
    Sencha User
    Join Date
    Aug 2012
    Location
    Vancouver, Canada
    Posts
    27
    Vote Rating
    0
    trevorcox is on a distinguished road

      0  

    Default Sencha Touch 2 tools on MacOS 10.8.2: create jsb hangs, or reports 'Ext not found'

    Sencha Touch 2 tools on MacOS 10.8.2: create jsb hangs, or reports 'Ext not found'


    I've spent hours trying to get this to work on my own project ("ReferenceError: Can't find variable: Ext"), so I thought I would start with the Jog With Friends example, since it has a jsb3. But when I run:

    sencha create jsb -a index.html -p tc.jsb3 -v

    it just hangs. (Freshly downloaded 2.0.1.1 sencha touch.

    It also hangs on Windows 7. And if I do -a file:///..., it loops printing "Can't find variable: Ext"
    Last edited by trevorcox; 25 Sep 2012 at 10:08 PM. Reason: more testing

  8. #18
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    698
    Vote Rating
    40
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    'Tools' is now called 'CMD' and although still in beta, seems to be much better then its predecessor. Description and download links here: http://blog.sencha.com/blog/all-new-sencha-cmd/

  9. #19
    Sencha User
    Join Date
    Aug 2012
    Location
    Vancouver, Canada
    Posts
    27
    Vote Rating
    0
    trevorcox is on a distinguished road

      0  

    Default Sencha Touch 2 tools on MacOS 10.8.2: create jsb hangs, or reports 'Ext not found'

    Sencha Touch 2 tools on MacOS 10.8.2: create jsb hangs, or reports 'Ext not found'


    Thanks! It looks like Sencha Cmd v3.0.0.141 is close to working on Sencha Touch. When I run

    sencha compile -debug -classpath=ftapp/app.js,ftapp,sdk/src page -in=index.html -out=built.html

    It processes quite a bit before terminating with:

    Processing class inheritance graph
    [ERROR] Failed to resolve dependency Ext.scroll.scroller.CssPosition for file Ext.scroll.scroller.Infinite
    [ERROR] Error executing page compilation Unknown definition for dependency : Ext.scroll.scroller.CssPosition

    The latest version of Touch does not have CssPosition, but it is referenced.

  10. #20
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,230
    Vote Rating
    114
    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


    For building Sencha Touch apps with Sencha Cmd V3, you will need Sencha Touch 2.1 Beta 3. To build the app, you should use "sencha app build" from the application folder. Using the compiler directly for Sencha Touch applications can be done, but it is not really the simple way
    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!"

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar