yui-compressor

Behaviour of Packer, YUI compressor etc.

I'm trying to understand how all these tools work since, as far as I know, they change the name of variables to achieve a better compression. Do they also change the name of properties of objects? I guess they would not, since otherwise anything using the object[property] notation, where property is computed dynamically, could fail. Is ...

Visual Studio: Check out file when building project

I have a post build event that combines my JavaScript files and outputs to Production.js, however if Production.js is not checked out, the build fails. Is it possible to automatically check Production.js out when a project is built? [Edit] If possible using a post-build event, does anyone know how to do this? I am using Visual Studio...

minify and combine files - what is your development and release setup?

I am currently using PHP minify to combine and compress the static files (CSS and JS). With PHP minify it is very easy to develop and deploy. Because: Say there are two files: a.js and b.js and we combine and minify them in ab.js. Now its enough for me to include only one script tag: <script type="text/javascript" src="http://static.ex...

Web deployment with compressed files

Short Version When using file compressors like YUI compressor, what is the proper procedure for deploying your website, so that you don't have to mess with compressed files during development time? Should there be a compression script as part of the release process? Long Version I just joined a project where we use YUI compressor for ...

yui compressor maven: A required class is missing: org.mozilla.javascript.ErrorReporter

I am not able to use yui-compressor maven plugin in my web app. When I run maven I get following error [INFO] Internal error in the plugin manager executing goal 'net.sf.alchim:yuicompressor-maven-plugin:0.7.1:compress': Unable to load the mojo 'net.sf.alchim: yuicompressor-maven-plugin:0.7.1:compress' in the plugin 'net.sf.alchim:yui...

yui compressor maven plugin doesnt compress the js files

Hi, I am using yui compressor to compress the js files in my web app. I have configured the plugin as indicated on yui maven plugin site yui compressor maven plugin. This is the pom plugin conf <plugin> <groupId>net.sf.alchim</groupId> <artifactId>yuicompressor-maven-plugin</artifactId> <version>0.7.1</version> ...

YUI Compressor redirect verbose output MSDOS

Hi, I am calling the YUI compressor in MSDOS as follows: C:\Program Files (x86)\Java\jre6\bin>java -jar c:\min\yuicompressor-2.4.2.jar -v c:\min\file1.js -o c:\min\file1-min.js > c:\min\output.txt Is there a way to get the verbose output piped to a file? Ive tried the > c:\min\output.txt (as above) but it just creates empty files. ...