bhaidaya
19 Dec 2008, 7:22 AM
I found this last night and thought I would share my find. It is too good to not forward to the EXT community.
rockstarapps.com (never heard of them till tonight) has an aptana 'feature' that you download via aptanas internal software update engine. It allows for many other things (including css minification and concatenation) but I was only interested in the JS tools it offers.
It is very straight forward, select files in the resources pane or better yet select your script tags right in an HTML document and "right click--> rockstarapps -->concatenate javascript"
It produces an xyz.all.js file (with comments), a xyz.all.min.js file (without comments, linebreaks and spaces) an xyz.all.ycomp.js file (minified and yui compressed), AND it even includes a xyz.all.ycomp.js.gz (Gzipped)
No need to elaborate, they have pretty decent documentation on their website..
How to download for eclipse and/or Aptana
http://www.rockstarapps.com/pmwiki/pmwiki.php?n=JsLex.Download
Docs on how to do it..
http://www.rockstarapps.com/pmwiki/pmwiki.php?n=JsLex.JSConcatenation
There is a whole bunch of other features which i would love to hear about if anyone has success with them ( i haven't tried them as yet)
- Creating Image Sprites
- JavaScript size analysis
- jsLex Performance Metricing
This should be a Sticky (?) and I'm not sure this is the appropriate forum
rockstarapps.com (never heard of them till tonight) has an aptana 'feature' that you download via aptanas internal software update engine. It allows for many other things (including css minification and concatenation) but I was only interested in the JS tools it offers.
It is very straight forward, select files in the resources pane or better yet select your script tags right in an HTML document and "right click--> rockstarapps -->concatenate javascript"
It produces an xyz.all.js file (with comments), a xyz.all.min.js file (without comments, linebreaks and spaces) an xyz.all.ycomp.js file (minified and yui compressed), AND it even includes a xyz.all.ycomp.js.gz (Gzipped)
No need to elaborate, they have pretty decent documentation on their website..
How to download for eclipse and/or Aptana
http://www.rockstarapps.com/pmwiki/pmwiki.php?n=JsLex.Download
Docs on how to do it..
http://www.rockstarapps.com/pmwiki/pmwiki.php?n=JsLex.JSConcatenation
There is a whole bunch of other features which i would love to hear about if anyone has success with them ( i haven't tried them as yet)
- Creating Image Sprites
- JavaScript size analysis
- jsLex Performance Metricing
This should be a Sticky (?) and I'm not sure this is the appropriate forum