In the future, if we do fix ICE-6702, and then want to compress the ACE CSS, we could modify ace/component/build.xml like this:
51a52,53
> <property name="combined.css" location="$
{resources}/org.icefaces.component.util/combined.css"/>
> <property name="combined.css.tmp" location="${combined.css}.tmp.css"/>
138c140
< <target name="compile" depends="prepare, generator-dist, compile-meta, generate, compile-base, compile-manual, compile-support, res-js-compress, res-js-no-compress, res-css-combine, res-copy"
—
> <target name="compile" depends="prepare, generator-dist, compile-meta, generate, compile-base, compile-manual, compile-support, res-compress, res-no-compress, res-copy"
160,161c162,163
< <target name="res-js-compress" depends="res-js-combine" unless="no-compress">
< <echo message="Compressing combined javascript code"/>
—
> <target name="res-compress" depends="res-js-combine, res-css-combine" unless="no-compress">
> <echo message="Compressing combined javascript and css"/>
167a170,175
> <java jar="${lib.dir}/yui-compressor.jar" fork="yes">
> <arg line="--preserve-semi"/>
> <arg value="-o"/>
> <arg value="${combined.css}"/>
> <arg value="${combined.css.tmp}"/>
> </java>
170,171c178,179
< <target name="res-js-no-compress" depends="res-js-combine" if="no-compress">
< <echo message="Not compressing combined javascript code"/>
—
> <target name="res-no-compress" depends="res-js-combine, res-css-combine" if="no-compress">
> <echo message="Not compressing combined javascript and css"/>
177a186,190
> <move file="${combined.css.tmp}" tofile="${combined.css}" overwrite="yes">
> <filterchain>
> <ignoreblank/>
> </filterchain>
> </move>
181,182c194,195
< <delete file="${resources}
/org.icefaces.component.util/combined.css" verbose="true"/>
< <concat destfile="$
{resources}
/org.icefaces.component.util/combined.css" force="true" fixlastline="true">
—
> <delete file="$
{combined.css.tmp}" verbose="true"/>
> <concat destfile="${combined.css.tmp}
" force="true" fixlastline="true">
Building on
ICE-6194's combining of the javascript files, this compresses that combined file.scratchpads/ICE-6698
Subversion 24393