3 rem *************************************************************************************
\r
4 rem Windows batch script to compress the prototype library using the YUI compressor
\r
5 rem Prototype is Copyright 2005-2010 by Sam Stephenson
\r
6 rem For details, see the Prototype web site at http://www.prototypejs.org/
\r
7 rem *************************************************************************************
\r
9 set dest=..\ricoClient\js
\r
11 if exist yuicompressor-2.4.6.jar goto compress
\r
12 echo This script requires Java and the YUI compressor
\r
13 echo yuicompressor-2.4.6.jar should be placed in this directory before running the script.
\r
14 echo Download it from http://developer.yahoo.com/yui/compressor/
\r
17 rem *** Compress Javascript ***
\r
20 java -jar yuicompressor-2.4.6.jar -o %dest%\proto_min.js prototype.js
\r