On 23 Apr 2012, at 17:58, Kalle Korhonen wrote: > On Mon, Apr 23, 2012 at 4:37 AM, Luke Wilson <l...@viscri.co.uk> wrote: >> On 23 Apr 2012, at 11:25, netdawg wrote: >>> Thanks, Luke. Yes, please... >> I've uploaded the repackaged version here: >> http://viscri.co.uk/labs/tapestry/yuicompressor-rhino-bugfix-5.0.jar > > Did you actually change any of the code or you just included the same > version of rhino in the same jar?
I pretty much just included most of rhino (since it's all pretty inextricably linked together) into the same jar, although I might have missed some classes that aren't involved in minifying CSS or JavaScript. > >>> Did I have to install into maven repository (would appreciate version etc)? >>> And/Or do I use it to compress? >> <groupId>yuicompressorbugfix</groupId> >> <artifactId>yuicompressor-rhino-bugfix</artifactId> >> <version>5.0</version> >> If you don't run your own version of nexus, you'll have to install it on the >> machine that you want to build on. This is the command you need I think: >> http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html >> You'll also need to exclude the yuicompressor version that tapestry pulls in: >> <dependency> >> <groupId>org.apache.tapestry</groupId> >> <artifactId>tapestry-yuicompressor</artifactId> >> <version>5.3.2</version> >> <exclusions> >> <exclusion> >> <groupId>com.yahoo.platform.yui</groupId> >> <artifactId>yuicompressor</artifactId> >> </exclusion> >> </exclusions> >> </dependency> > > Just FYI, the usual way of doing this is by adding a suffix to the > version (such 1.2.3-mycompanyfixes) and leaving GA coordinates intact. > That way you don't have to exclude other versions of the same library. That's good to know, thanks. > > Kalle > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org