1. #11
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,521
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Try --yui=false or --yui false or --yui 0 or --yui=0.

    Also, I think that posting this question in Sencha Cmd forum would be better - it is most likely scanned by Cmd developers.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  2. #12
    Ext JS Premium Member
    Join Date
    Nov 2011
    Posts
    200
    Vote Rating
    7
    Qarea is on a distinguished road

      0  

    Default


    All options are not correct or doesnt changed anything. Please move topic to Sencha Cmd forum

  3. #13
    Sencha User lsdriscoll's Avatar
    Join Date
    Jan 2012
    Location
    Bournemouth, UK
    Posts
    27
    Vote Rating
    15
    lsdriscoll will become famous soon enough

      0  

    Default


    I had the same issues come up.

    If you don't supply the -yui argument, YUI compression does not take place. If you haven't specified -yui and it's still coming up with YUI errors, then something is royally screwed with your project and I recommend using sencha app generate to create a new project and migrate your code into it (5 minutes work)

    * If you've modified the ext directory name since downloading it then this command just won't work. After playing around for ages with this I resorted to downloading the latest source, unpacking it, cd-ing (probably a verb) into the ext folder and running the `sencha app generate` command. Worked first time.


    You'll still need to compress your code at some point though so here's what to do to get that working.

    PATCH 1:

    Where you define the `float` property, wrap it in quotes and YUI will allow it.

    Code:
    var o = {
      "float": value,
      key: value
    }

    PATCH 2:

    If you're still not happy with modding your code to fit the compressor then try adding the -uglify flag in place of -yui.


    ACTUAL FIX:

    Use an IDE with code-refactoring (Basically all of them) and fix the errors for real.

  4. #14
    Ext JS Premium Member
    Join Date
    Nov 2011
    Posts
    200
    Vote Rating
    7
    Qarea is on a distinguished road

      0  

    Default


    I've created new sencha application , replaced app dir with my app , and trying to run
    PHP Code:
    sencha compile concatenate -uglify out.js 
    from app dir. And still getting yui errors. Same when running
    PHP Code:
    sencha app build 
    Looks like there no possibility to set compiler for "app build" , but "compile concatenate" accepts -uglify argument - so why it still uses YUI ?

    I'm using latest Sencha CMD 3.0.2.288

  5. #15
    Ext JS Premium Member
    Join Date
    Nov 2011
    Posts
    200
    Vote Rating
    7
    Qarea is on a distinguished road

      0  

    Default


    Even if using
    PHP Code:
    sencha app compile -e testing 
    , where code is not compressed only concatenated, I'm getting
    PHP Code:
    [INF]           -before-page:
    [
    INF]
    [
    INF]           -page:
    [
    INF]           Compiling page page
    [INF]           Processing classPath entry C:\Users\BU\bin\Sencha\Cmd\extjs-4.1.3\buapp\sencha-compile-temp-dir
    [INF]           Processing classPath entry C:\Users\BU\bin\Sencha\Cmd\extjs-4.1.3\buapp\ext\src
    [INF]           Processing classPath entry C:\Users\BU\bin\Sencha\Cmd\extjs-4.1.3\buapp\app
    [WRN]           C1000Yui Compressor Warning (Trailing comma is not legal in an ECMA-262 object initializer =>     ],)
    -- 
    C:\Users\BU\bin\Sencha\Cmd\extjs-4.1.3\buapp\app\view\app\LoginWindow.js:763
    [ERR]           C2000YUI Compressor Error (invalid property id =>                     float'right') -- C:\Users 

  6. #16
    Sencha User lsdriscoll's Avatar
    Join Date
    Jan 2012
    Location
    Bournemouth, UK
    Posts
    27
    Vote Rating
    15
    lsdriscoll will become famous soon enough

      0  

    Default Hey Qarea...

    Hey Qarea...


    How long have you been working on this Qarea? It's been over a week now. If I were you, I'd do the RIGHT thing and fix all the syntax errors.

    You'll need to compress the code before it goes live anyway, so you might as well just save yourself the stress and fix the errors.

    Even if it takes a whole day, it's still quicker than the amount of time you've spent on this so far.

    No-one is going to want to help you if you're not even willing to write compliant look
    Why did they have to go with CKEditor??

  7. #17
    Ext JS Premium Member
    Join Date
    Nov 2011
    Posts
    200
    Vote Rating
    7
    Qarea is on a distinguished road

      0  

    Default


    I didn't spent lot of time on this before, its stupid work to rename {style:{float:..}} properties, router.goto methods and etc, but I had to do it and finally built app-classes.js. And only to get that this is still not working.

    Nevertheless YUI errors when specifying -uglify or -closure looks like a bug, so I hope it will be checked and fixed

  8. #18
    Ext JS Premium Member
    Join Date
    Nov 2011
    Posts
    200
    Vote Rating
    7
    Qarea is on a distinguished road

      0  

    Default


    Can anybody explain why running sencha compile .. from sencha app dir and from custom dir (with all same paths) for same set of files produces different output file ?

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi