Hi, I understand that yuicompressor was chosen for js and css compression in 5.3. yuicompressor customises some rhino js classes but not all of them, and depends on the rhino jar for the classes it doesn't customise. See the stackoverflow question below:
http://stackoverflow.com/questions/6652550/yui-compressor-stringindexoutofboundsexception-on-jboss The problem is that the customised classes are in the same package as the originals and at runtime some environments, such as jboss, choose the wrong one, which results in nasty yuicompressor exceptions. It all seems to work fine in eclipse as maven seems to choose the yui customized classes over the original rhino ones. The only solution I found was to munge together most of rhino with yuicompressor in a custom jar. As far as I can see, something similar will have to happen in the tapestry codebase unless somebody can think of a cleverer solution? Kind regards, Luke Luke Wilson-Mawer Director Viscri Limited viscri.co.uk
