-
8 Dec 2008 2:40 AM #1
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!
-
18 Feb 2009 10:47 AM #2
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 Apr 2009 2:56 PM #3
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
-
5 Apr 2009 7:02 PM #4
Isn't it just a matter of turning off the option 'Compress the source files and copy them to the following directory'
-
6 Apr 2009 6:33 AM #5
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 ?
-
7 Apr 2009 5:24 PM #6
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.
-
8 Apr 2009 10:41 AM #7
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
-
9 Sep 2009 9:59 AM #8
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 IDESpket IDE - Development Tool for RIA
-
22 Mar 2010 11:59 PM #9
-
23 Jun 2010 12:38 AM #10
Thanks to Eric Suen, that post helped me too with my problem!
Thanks again!
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote
