Permalink
Browse files

Use Java 1.5 compatable fallback YUI Compressor.

  • Loading branch information...
1 parent de05a4b commit 3581ab5151db0f9b14a94300825474e6afcaaef5 @reid reid committed Oct 20, 2010
Showing with 2 additions and 1 deletion.
  1. +1 −1 componentbuild/shared/macrolib.xml
  2. +1 −0 componentbuild/shared/properties.xml
View
2 componentbuild/shared/macrolib.xml
@@ -131,7 +131,7 @@
</then>
<else>
<echo level="info">Running yuicompressor on @{src} with @{args}</echo>
- <java jar="${yuicompressor.jar}" fork="true" failonerror="true">
+ <java jar="${yuicompressor.java15.jar}" fork="true" failonerror="true">
<arg line="@{args} -o" />
<arg file="@{dest}" />
<arg file="@{src}" />
View
1 componentbuild/shared/properties.xml
@@ -26,6 +26,7 @@
<property name="jslintconsole.js" location="${builddir}/lib/jslint/jslint-console.js" />
<property name="jslintsrc.js" location="${builddir}/lib/jslint/fulljslint.js" />
<property name="yuicompressor.jar" location="${builddir}/lib/yuicompressor/yuicompressor-2.4.5pre.jar" />
+ <property name="yuicompressor.java15.jar" location="${builddir}/lib/yuicompressor/yuicompressor-2.4.4.jar" />
<property name="yrb2jsonconsole.js" location="${builddir}/lib/yrb2json/yrb2json-console.js" />
<property name="yrb2jsonsrc.js" location="${builddir}/lib/yrb2json/yrb2json.js" />

0 comments on commit 3581ab5

Please sign in to comment.