- <java jar="${JAR}" fork="true">
- <arg value="${BUILD_DIR}/build/min.js" />
- <arg value="${JQ}" />
- <arg value="${JQ_MIN}" />
- </java>
+ <apply executable="java" parallel="false" verbose="true" dest="${DIST_DIR}">
+ <fileset dir="${DIST_DIR}">
+ <include name="jquery.js" />
+ </fileset>
+ <arg line="-jar" />
+ <arg path="${YUICompressor}" />
+ <arg value="--charset" />
+ <arg value="ANSI" />
+ <arg value="-o" />
+ <targetfile />
+ <mapper type="glob" from="jquery.js" to="jquery.min.js" />
+ </apply>