2

I just downloaded the yuicompressor-master from https://github.com/yui/yuicompressor and am planning on using it in my symfony2 app. The problem is that there is no yuicompressor.jar file.

I am guessing I need to build the .jar file from the files in the yuicompressor-master folder but after some time duckduckgo'in around (i try and avoid google) I can't find instructions on how I am supposed to build the .jar if that's what needs to be done.

I am comfortable on the command line and don't mind reading through some man documents to figure this out. Can anyone point me in the right direction? I apologize if this is a dumb question, I have no experience working with java obviously. Thanks!

4

1 回答 1

5

我从终端运行这些命令来安装 yui 压缩器:

Mac 操作系统:

brew install yuicompressor
ln -s /usr/local/Cellar/yuicompressor/2.4.7/libexec/yuicompressor-2.4.7.jar ~/htdocs/symfony/app/Resources/java/

Ubuntu:

sudo apt-get install yui-compressor

无论如何,仍然想知道如何处理来自https://github.com/yui/yuicompressor的文件

于 2013-05-06T11:23:27.420 回答