1. #1
    Sencha User
    Join Date
    Dec 2008
    Posts
    10
    Vote Rating
    0
    pk69com is on a distinguished road

      0  

    Question How can I disable JSMin compression?

    How can I disable JSMin compression?


    Hello everyone.

    I'm looking for ability to turn off files minification. Right now JSBuilder compress all project files while building but I really don't want my files to be minified with JSMin as I'm using YUI Compressor. Does anyone knows how can I disable that complression/minification? I didn't find anything about that in optionsm ;(

    Please, advice. Thanks!

  2. #2
    Ext JS Premium Member
    Join Date
    Nov 2008
    Posts
    134
    Vote Rating
    0
    sramanna is on a distinguished road

      0  

    Default


    I am looking for a similar solution as well. Is it possible to turn off minification.

    Or Is there any tool just to combine files ?

  3. #3
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    57
    Vote Rating
    0
    cafebabe is on a distinguished road

      0  

    Default


    I am looking for something exactly like this as well. My reason is I want a .jsb I can drop into eclipse to give me code complete with my js source folder. I have been building a stripped down version of the .jsb via a perl script and a unix find command to get me all .js files, however this is problematic because if the tags are not written in a certain order spket does not load the classes in the order they are inherrited and code complete breaks seemingly randomly. I will start looking at the C# code to extract a process of doing this because in the end I want something i can run from within eclipse to generate the .jsb so that all i have to do is click reload javascript profille when new .js files are added.

    however if anyone has already sovled this problem please let me know

  4. #4
    Ext User
    Join Date
    Apr 2007
    Location
    Melbourne, Australia
    Posts
    169
    Vote Rating
    0
    Zakaroonikov is on a distinguished road

      0  

    Default


    Isn't it just a matter of turning off the option 'Compress the source files and copy them to the following directory'

  5. #5
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    57
    Vote Rating
    0
    cafebabe is on a distinguished road

      0  

    Default


    I realize what I want to do is not as simple as flipping a switch. Is anyone familiar with how js-builder builds the .jsb files? Is it based on doc comments? Does it look for "Ext.extend" to determine what order to write out it's <include ...> tags ?

  6. #6
    Ext User
    Join Date
    Apr 2007
    Location
    Melbourne, Australia
    Posts
    169
    Vote Rating
    0
    Zakaroonikov is on a distinguished road

      0  

    Default


    Quote Originally Posted by cafebabe View Post
    I realize what I want to do is not as simple as flipping a switch. Is anyone familiar with how js-builder builds the .jsb files? Is it based on doc comments? Does it look for "Ext.extend" to determine what order to write out it's <include ...> tags ?
    I found that I had to drag and drop to set the order of the javascript files. Something like http://getsprockets.org/installation_and_usage might be doing what you are after.

  7. #7
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    57
    Vote Rating
    0
    cafebabe is on a distinguished road

      0  

    Default


    for better or worse I ended up writing some perl classes that look for js doc tags @class and @extends as well as looking for the Ext.extend string. Given a source folder it recurses and finds all .js files, parses them, finds dependencies based on those 2 factors just mentioned, and writes out the <include...> tags in the order they should be in. This gives me one click rebuild of my libs and gives me code complete in spket once i reload my js profile.

    I didn't spend too much time looking at Sprockets, but it seems that it concats the js files into one file, which is not exactly what i want. I want to be able to jump between different files in my lib and have code complete and docs available w/o having to resort to the docs page all the time.

    thanks to all those who replied

  8. #8
    Ext User
    Join Date
    Jun 2007
    Posts
    111
    Vote Rating
    0
    Eric Suen is on a distinguished road

      0  

    Default


    For those who using YUI Compressor and Spket, you can download flowing files and put it into Spket plugins folder

    http://www.agpad.com/downloads/com.spket.js_1.6.17.jar
    http://www.agpad.com/downloads/com.s...uic_1.6.17.jar

    After restart Spket IDE, just choose any files/folders and click mouse right button, in context menu, choose "YUI Compressor..." item. it can compress multi files into one output, and it support jsb and jsb2 format, this feature will include in next version of Spket IDE
    Spket IDE - Development Tool for RIA

  9. #9
    Ext User
    Join Date
    Mar 2010
    Posts
    1
    Vote Rating
    0
    Xavier1 is on a distinguished road

      0  

    Default


    Thank you so much for sharing this, it really works and i just fixed my issue through these reference links.

    Quote Originally Posted by Eric Suen View Post
    For those who using YUI Compressor and Spket, you can download flowing files and put it into Spket plugins folder

    http://www.agpad.com/downloads/com.spket.js_1.6.17.jar
    http://www.agpad.com/downloads/com.s...uic_1.6.17.jar

    After restart Spket IDE, just choose any files/folders and click mouse right button, in context menu, choose "YUI Compressor..." item. it can compress multi files into one output, and it support jsb and jsb2 format, this feature will include in next version of Spket IDE
    Xavier

  10. #10
    Ext User
    Join Date
    Apr 2010
    Posts
    1
    Vote Rating
    0
    christinnah is on a distinguished road

      0  

    Default


    Thanks to Eric Suen, that post helped me too with my problem!

    Thanks again!

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