-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not call YUICSSOptimizer/ClosureJSOptimizer #103
Comments
You're probably missing YUI or the closure compiler on your workstation. Cheers,
|
Just to clarify that last point The IOError you are seeing is for the external processor (e.g. closure Cheers, |
Thanks, I didn't realize they were external dependencies. Both can be installed with Homebrew. I installed YUI, but Closure requires Java 7, which is no longer installed on Mavericks. I like the lightweight idea of the plugin system, but the front-end related ones seem to cover near identical ground to Grunt. Optimizing and fingerprinting is good, but there's no uglifying or concatenating. Forgive me if I'm not seeing the larger picture. |
Hi there, The plugin system is intentionally very flexible, and actually gives you For one, I integrated with require.js and scss (I believe grunt wasn't So, to answer your original question. Yes, the built-in minification Cheers,
|
YUICSSOptimizer is the name of a Cactus plugin. Under the hood it uses YUI Compressor, which is a Java jar package. The GitHub page is at https://github.com/yui/yuicompressor. ClosureJSOptimizer is also the name of a Cactus plugin. It uses Google Closure Compiler, which is a also a Java jar package. The GitHub page is at https://github.com/google/closure-compiler. I have a Mac, and thus use Homebrew to make my life easy to install these packages. If you're on Ubuntu, it seems like the best thing to do would be to create your own builds with Ant, which seems to be available as an Ubuntu package ( |
OK, thanks for the advice.... I've already checked and I do have java in my computer. I didn't knew how to install the pacakges after downloading them, I will check Ant later 👍 |
When I run
cactus build
orcactus serve
, I get errors related to my use of optimize inconfig.json
:When I load up a console, importing them like
static/static_optimizers.py
does loads them no problem, so I don't know what I'm doing wrong.I'm using the v3 branch.
My
config.json
:The text was updated successfully, but these errors were encountered: