Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Mar 2008
    Location
    Philadelphia, PA
    Posts
    131
    Vote Rating
    0
    mprice is on a distinguished road

      0  

    Default How to remove comments?

    How to remove comments?


    I downloaded Ext 3.1, and ran jsbuilder2 on the source using the jsb2 file included in the 3.1 download package:

    Code:
    java.exe -jar jsbuilder2.jar --projectFile "c:\development\js builder\staging\ext.jsb2" --homeDir "c:\development\js builder\compiled"
    I then compared the resulting ext-all-debug.js to the ext-all-debug.js in the 3.1 download package. I expected that they would be identical, but they are not. There are commetns speckled throughout the .js created using jsbuilder. I thought Ext uses jsbuilder themselves to create the "-all" files. Is there a way to force comments to be removed?

  2. #2
    Ext User krider2010's Avatar
    Join Date
    Aug 2007
    Location
    Berkshire, UK
    Posts
    18
    Vote Rating
    0
    krider2010 is on a distinguished road

      0  

    Default


    I'd also like to know this if anyone has any ideas?

    I'm not concerned if ext-all-debug.js has to be passed through another tool, I'd just like to know what is done by Ext to build the distributable releases, so that I can build patched versions that differ only by the patch and not the presence of comments etc.

    Cheers

  3. #3
    Sencha User
    Join Date
    Jul 2007
    Posts
    77
    Vote Rating
    0
    csky is on a distinguished road

      0  

    Default


    Any luck? I'm trying to figure out the same thing here.

  4. #4
    Ext User
    Join Date
    May 2010
    Posts
    1
    Vote Rating
    0
    kotletas is on a distinguished road

      0  

    Default


    Same prob, waiting for issue ...

    -----------------------------
    use seroquel
    soft

  5. #5
    Sencha User
    Join Date
    Jul 2007
    Posts
    77
    Vote Rating
    0
    csky is on a distinguished road

      0  

    Default


    I filed a bug report regarding this issue. We should be able to reproduce the ext-all*.js files exactly as ExtJS does.