I've run into some trouble using YUI Compressor to process the javascript within the universality theme.
Even the new version of YUI Compressor that we installed in the 3rd party repository (version 2.4.2) throws a StringIndexOutOfBoundsException in the constructor for the JavaScriptCompressor. I stumbled across the author's blog (http://www.julienlecomte.net/blog/2008/10/80/), in which he hints that he needed to modify Mozilla's Rhino javascript engine in order for it to work. Turns out that YUICompressor version 2.4 and later all include (!) the author's modified version of Rhino (see for yourself, org.mozilla.javascript packages bundled inside). I modified the pom.xml in maven-uportal-plugin to exclude rhino/js as a dependency for both yuicompressor and cernunnos, and sure enough the JavaScript compressor works without fail, including on the javascript in the universality theme. My question to the group is: is it ok to exclude the trusted rhino/js and depend on this author's undocumented changes? It's really the only way we can get YUI Compressor to work in this plugin. Will this present any other problems (e.g. licensing)? -- You are currently subscribed to uportal-dev@lists.ja-sig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev