admin管理员组

文章数量:1410696

I'm trying to download the YUI pressor to use on a Windows 7 platform. How do you do that?

PS. I don't need to build it or anything like that, all I need is an exe file to run to press my js files. Is there an easy way to download it?

I'm trying to download the YUI pressor to use on a Windows 7 platform. How do you do that?

PS. I don't need to build it or anything like that, all I need is an exe file to run to press my js files. Is there an easy way to download it?

Share asked Dec 4, 2011 at 0:32 johhny dowjohhny dow 531 silver badge5 bronze badges 5
  • possible duplicate of stackoverflow./questions/23745/… – Oleg Mikheev Commented Dec 4, 2011 at 0:38
  • I don't need gui. All I need is to download the damn thing... – johhny dow Commented Dec 4, 2011 at 0:43
  • a GUI and exe file are the same thing sometimes... – Oleg Mikheev Commented Dec 4, 2011 at 0:46
  • OK, I agree with you. So how can I download one? – johhny dow Commented Dec 4, 2011 at 1:04
  • 1 You can either download from YUI site and build it yourself or find a pre-built version hosted somewhere else (and be careful from where you download). – Zlatko Commented Dec 20, 2011 at 11:41
Add a ment  | 

1 Answer 1

Reset to default 5

I downloaded the jar version from here and just built it from .

unzip Downloads/yuipressor-2.4.7.zip
cd yuipressor-2.4.7
ant

Instead of mand line unzip, you can download 7-zip or something to extract it.

And it works:

java -jar yuipressor-2.4.7/build/yuipressor-2.4.7.jar

本文标签: javascriptHow to download YUI compressor for minification onlyStack Overflow