incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: Compile Error
Date Mon, 01 Feb 2010 04:49:56 GMT
Depending on what platform you are on, this plug-in may not work.
Which JDK are using?

Look at the pom.xml and comment out the following plug-in

 <plugin>
288     <groupId>net.sf.alchim</groupId>
289     <artifactId>yuicompressor-maven-plugin</artifactId>
290     <executions>
291     <execution>
292     <goals>
293     <goal>compress</goal>
294     </goals>
295     </execution>
296     </executions>
297     <configuration>
298     <nosuffix>true</nosuffix>
299     <jswarn>false</jswarn>
300     </configuration>
301     </plugin>



On Mon, Feb 1, 2010 at 5:45 AM, Uday Subbarayan
<uday.subbarayan@yahoo.com> wrote:
> HiAll,
>     I checked out the src code and when trying to compile both in trunk & branch,
getting this following run time exception. Am I missing any libs?
>
> Thanks,
> Uday.
>
> [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.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(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: 1 minute 5 seconds
> [INFO] Finished at: Sun Jan 31 20:39:21 PST 2010
> [INFO] Final Memory: 21M/117M
> [INFO] ------------------------------------------------------------------------
>
>
>
>
>
>
>

Mime
View raw message