You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@esme.apache.org by Uday Subbarayan <ud...@yahoo.com> on 2010/02/01 05:45:44 UTC

Compile Error

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] ------------------------------------------------------------------------






      

Re: Compile Error

Posted by Vassil Dichev <vd...@apache.org>.
I remember having a similar problem with a conflict with the rhino
library. I bet you're using a Debian-based distro like Ubuntu. If this
is the case, you have a link /usr/share/java/js.jar pointing  to the
package-installed rhino version. It is in conflict with the
maven-installed rhino version, so *if* this file is a link, you need
to (re)move it.

On Mon, Feb 1, 2010 at 6:49 AM, Richard Hirsch <hi...@gmail.com> wrote:
> 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
> <ud...@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] ------------------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>

Re: Compile Error(Fixed)

Posted by Uday Subbarayan <ud...@yahoo.com>.
Thanks. I will write a one-pager about checking out code, compile and deploying to a servlet container. I couldn't able to find this one in the website.

Uday.

-------------------------

I do not blog but e-write:

http://uds-web.blogspot.com

--- On Mon, 2/1/10, Richard Hirsch <hi...@gmail.com> wrote:

From: Richard Hirsch <hi...@gmail.com>
Subject: Re: Compile Error(Fixed)
To: esme-dev@incubator.apache.org
Date: Monday, February 1, 2010, 3:20 PM

On Mon, Feb 1, 2010 at 4:15 PM, Uday Subbarayan
<ud...@yahoo.com> wrote:
> Thanks for the help and it worked. I got the war file. I think I can deploy "as-is" on Tomcat?

Yep
>
> (I remember seeing some comment in the website about missing few jars and need for repackage. Hope that's a old comment)

That was a real old comment - from our GoogleCode days :->

D.

>
> Best,
> Uday.
>
> -------------------------
>
> I do not blog but e-write:
>
> http://uds-web.blogspot.com
>
> --- On Mon, 2/1/10, Sig Rinde <si...@rinde.com> wrote:
>
> From: Sig Rinde <si...@rinde.com>
> Subject: Re: Compile Error
> To: esme-dev@incubator.apache.org
> Date: Monday, February 1, 2010, 8:21 AM
>
> Yep, Richard's suggestion should fix that error - had exactly same on
> Ubuntu 9.04.
>
> Time to add that comment-out-suggestion to the ESME installation guide
> page for Linux perhaps?
>
> (Would be interesting to hear what distro Uday is on though...)
>
>
> On 1 February 2010 05:49, Richard Hirsch <hi...@gmail.com> wrote:
>> 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
>> <ud...@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] ------------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
>
>
>



      

Re: Compile Error(Fixed)

Posted by Richard Hirsch <hi...@gmail.com>.
On Mon, Feb 1, 2010 at 4:15 PM, Uday Subbarayan
<ud...@yahoo.com> wrote:
> Thanks for the help and it worked. I got the war file. I think I can deploy "as-is" on Tomcat?

Yep
>
> (I remember seeing some comment in the website about missing few jars and need for repackage. Hope that's a old comment)

That was a real old comment - from our GoogleCode days :->

D.

>
> Best,
> Uday.
>
> -------------------------
>
> I do not blog but e-write:
>
> http://uds-web.blogspot.com
>
> --- On Mon, 2/1/10, Sig Rinde <si...@rinde.com> wrote:
>
> From: Sig Rinde <si...@rinde.com>
> Subject: Re: Compile Error
> To: esme-dev@incubator.apache.org
> Date: Monday, February 1, 2010, 8:21 AM
>
> Yep, Richard's suggestion should fix that error - had exactly same on
> Ubuntu 9.04.
>
> Time to add that comment-out-suggestion to the ESME installation guide
> page for Linux perhaps?
>
> (Would be interesting to hear what distro Uday is on though...)
>
>
> On 1 February 2010 05:49, Richard Hirsch <hi...@gmail.com> wrote:
>> 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
>> <ud...@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] ------------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
>
>
>

Re: Compile Error(Fixed)

Posted by Uday Subbarayan <ud...@yahoo.com>.
Thanks for the help and it worked. I got the war file. I think I can deploy "as-is" on Tomcat?

(I remember seeing some comment in the website about missing few jars and need for repackage. Hope that's a old comment)

Best,
Uday.

-------------------------

I do not blog but e-write:

http://uds-web.blogspot.com

--- On Mon, 2/1/10, Sig Rinde <si...@rinde.com> wrote:

From: Sig Rinde <si...@rinde.com>
Subject: Re: Compile Error
To: esme-dev@incubator.apache.org
Date: Monday, February 1, 2010, 8:21 AM

Yep, Richard's suggestion should fix that error - had exactly same on
Ubuntu 9.04.

Time to add that comment-out-suggestion to the ESME installation guide
page for Linux perhaps?

(Would be interesting to hear what distro Uday is on though...)


On 1 February 2010 05:49, Richard Hirsch <hi...@gmail.com> wrote:
> 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
> <ud...@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] ------------------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>



      

Re: Compile Error

Posted by Uday Subbarayan <ud...@yahoo.com>.
Thanks Guys. Appreciate the quick response. Yes it's Ubuntu 8 with Java 1.6..

Let me work on it.

Best,
Uday.

-------------------------

I do not blog but e-write:

http://uds-web.blogspot.com

--- On Mon, 2/1/10, Sig Rinde <si...@rinde.com> wrote:

From: Sig Rinde <si...@rinde.com>
Subject: Re: Compile Error
To: esme-dev@incubator.apache.org
Date: Monday, February 1, 2010, 8:21 AM

Yep, Richard's suggestion should fix that error - had exactly same on
Ubuntu 9.04.

Time to add that comment-out-suggestion to the ESME installation guide
page for Linux perhaps?

(Would be interesting to hear what distro Uday is on though...)


On 1 February 2010 05:49, Richard Hirsch <hi...@gmail.com> wrote:
> 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
> <ud...@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] ------------------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>



      

Re: Compile Error

Posted by Sig Rinde <si...@rinde.com>.
Yep, Richard's suggestion should fix that error - had exactly same on
Ubuntu 9.04.

Time to add that comment-out-suggestion to the ESME installation guide
page for Linux perhaps?

(Would be interesting to hear what distro Uday is on though...)


On 1 February 2010 05:49, Richard Hirsch <hi...@gmail.com> wrote:
> 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
> <ud...@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] ------------------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>

Re: Compile Error

Posted by Richard Hirsch <hi...@gmail.com>.
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
<ud...@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] ------------------------------------------------------------------------
>
>
>
>
>
>
>