bardware / yuicompress

Demo - how to use YUI JavaScriptCompressor from Coldfusion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using the The Yahoo! JavaScript and CSS Compressor from Coldfusion 10

I use createDynamicProxy to instantiate a class implementing an interface defined in a 3rd party jar file. I want to pass the class to the constructor of another class: namely com.yahoo.platform.yui.compressor.JavaScriptCompressor.

It works quite well when the jar file yuicompressor-2.4.8.jar resides in a subdirectory which is specified in the THIS.javaSettings LoadPaths member. It does not work if THIS.javaSettings does not exist, even if the jar file is stored in the classpath set in the Coldfusion administrator.

About

Demo - how to use YUI JavaScriptCompressor from Coldfusion

License:MIT License


Languages

Language:ColdFusion 100.0%