Ross, I am using OpenJDK: $ java -version java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu11) OpenJDK 64-Bit Server VM (build 14.0-b08, mixed mode)
Is it possible to use YUI Compressor at all with OpenJDK? Peter On Oct 5, 7:32 pm, Ross Mellgren <dri...@gmail.com> wrote: > I thought someone mentioned this a little while ago and it was due to > OpenJDK (and only related to the YUI compressor)? > > -Ross > > On Oct 5, 2009, at 1:25 PM, jon wrote: > > > > > Is there a syntax problem in one of your javascript files? > > > On Oct 5, 1:23 pm, Peter Robinett <pe...@bubblefoundry.com> wrote: > >> Hi all, > > >> I've been compiling and running my Lift app on my personal machine > >> without any problems but when I try to run it on another machine > >> (where it had previously worked), I am getting fatal YUI Compressor > >> errors. > > >> Not knowing YUI Compressor or how Lift and Maven use it (but willing > >> to learn!), I'd appreciate any tips on how to get it to work again. > > >> Thanks in advance, > >> Peter Robinett > > >> PS I thought I already posted a version of this message but I don't > >> see it on the Groups site. My apologies if this message is a > >> duplicate. > > >> $ mvn jetty:run > >> [INFO] Scanning for projects... > >> [INFO] Searching repository for plugin with prefix: 'jetty'. > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Building server > >> [INFO] task-segment: [jetty:run] > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Preparing jetty:run > >> [INFO] [resources:resources] > >> [INFO] Using default encoding to copy filtered resources. > >> [INFO] [yuicompressor:compress {execution: default}] > >> [INFO] equalnetworks.css (267b) -> equalnetworks.css (197b)[73%] > >> [INFO] dashboard.css (5511b) -> dashboard.css (4478b)[81%] > >> [INFO] jquery.tooltip.css (172b) -> jquery.tooltip.css (145b)[84%] > >> [INFO] > >> ------------------------------------------------------------------------ > >> [ERROR] FATAL ERROR > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] null > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Trace > >> java.lang.RuntimeException > >> at > >> com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber > >> (JavaScriptCompressor.java:299) > >> at > >> com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse > >> (JavaScriptCompressor.java:335) > >> at > >> com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init> > >> (JavaScriptCompressor.java:532) > >> at > >> net.sf.alchim.mojo.yuicompressor.YuiCompressorMojo.processFile > >> (YuiCompressorMojo.java:178) > >> at net.sf.alchim.mojo.yuicompressor.MojoSupport.processDir > >> (MojoSupport.java:151) > >> at net.sf.alchim.mojo.yuicompressor.MojoSupport.execute > >> (MojoSupport.java:105) > >> at org.apache.maven.plugin.DefaultPluginManager.executeMojo > >> (DefaultPluginManager.java:451) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > >> (DefaultLifecycleExecutor.java:558) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycl > >> e > >> (DefaultLifecycleExecutor.java:499) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle > >> (DefaultLifecycleExecutor.java:924) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle > >> (DefaultLifecycleExecutor.java:767) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > >> (DefaultLifecycleExecutor.java:529) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal > >> (DefaultLifecycleExecutor.java:512) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > >> (DefaultLifecycleExecutor.java:482) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai > >> lures > >> (DefaultLifecycleExecutor.java:330) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments > >> (DefaultLifecycleExecutor.java:291) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > >> (DefaultLifecycleExecutor.java:142) > >> at org.apache.maven.DefaultMaven.doExecute > >> (DefaultMaven.java:336) > >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: > >> 129) > >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > >> Method) > >> at sun.reflect.NativeMethodAccessorImpl.invoke > >> (NativeMethodAccessorImpl.java:57) > >> at sun.reflect.DelegatingMethodAccessorImpl.invoke > >> (DelegatingMethodAccessorImpl.java:43) > >> at java.lang.reflect.Method.invoke(Method.java:616) > >> at org.codehaus.classworlds.Launcher.launchEnhanced > >> (Launcher.java: > >> 315) > >> at org.codehaus.classworlds.Launcher.launch(Launcher.java: > >> 255) > >> at org.codehaus.classworlds.Launcher.mainWithExitCode > >> (Launcher.java: > >> 430) > >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Total time: 2 seconds > >> [INFO] Finished at: Mon Oct 05 17:18:57 UTC 2009 > >> [INFO] Final Memory: 27M/66M > >> [INFO] > >> ------------------------------------------------------------------------ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---