You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Tom Vaughan <to...@positiveenergyusa.com> on 2009/08/07 18:50:16 UTC

Startup Woes #1 of #2

Hi,

I'm brand new to shindig and it's my first day doing some eval work on it.
I've run in to 2 separate blockers and thought I'd reach out to the list to
see if these were known issues of if they're something I can help with.

Issue #1:

Doing a fresh check out of the shindig trunk, followed up by a "mvn" command
gets almost all the way through, but errors out with the error below.
Anyone know what's going on here?

*My Info*
  Linux tvaughan-laptop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35
UTC 2009 i686 GNU/Linux
  Maven version: 2.0.8
  Java version: 1.6.0_0
  OS name: "linux" version: "2.6.28-14-generic" arch: "i386" Family: "unix"

*Stack*
[INFO] Installing
/home/tvaughan/workspaces/apache-shindig/java/social-api/target/shindig-social-api-1.1-BETA3-incubating-SNAPSHOT-tests.jar
to
/home/tvaughan/.m2/repository/org/apache/shindig/shindig-social-api/1.1-BETA3-incubating-SNAPSHOT/shindig-social-api-1.1-BETA3-incubating-SNAPSHOT-tests.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Shindig Features
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1031 resources to features
[INFO] Copying 1 resource to META-INF
[INFO] Copying 4 resources
[INFO] [yuicompressor:compress {execution: default}]
[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:103)
    at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
    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 minutes 19 seconds
[INFO] Finished at: Fri Aug 07 12:37:03 EDT 2009
[INFO] Final Memory: 40M/58M
[INFO]
------------------------------------------------------------------------

Re: Startup Woes #1 of #2

Posted by Kevin Brown <et...@google.com>.
On Mon, Aug 10, 2009 at 8:49 AM, Tom Vaughan <
tom.vaughan@positiveenergyusa.com> wrote:

> I've tried running "mvn" and "mvn clean install" from the top-level pom
> (i.e. from the directory containing ./assembly through ./php) and also from
> beneath the ./java subproject with the same results...
>
> I upgraded to maven 2.2.0 and I'm still getting this build error towards
> the
> end of the build.
>
> I grepped around and I don't see where the yuicompressor stuff is coming
> from.  I was expecting it to be a plugin in some pom, but my cursory search
> didn't pick that up.
>
> It also turns out that java-6-open can't run the
> YUICompressor<
> https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255149>.
> The alleged work-around is to switch over to java-6-sun or delete the
> rhino.jar symlink in the java-6-open lib directory.  Neither of those get
> the shindig build to work for me however :-(


You could just modify your pom locally and remove all references to the
yuicompressor. I believe this is all done in features/pom.xml

You're right about the openjdk / rhino issue. I'm using openjdk myself and
somehow this is working just fine, but I think there's something special
about my environment. I know that's probably not helpful to you, but there
does seem to be some way to make it work


>
>
> [INFO] [yuicompressor:compress {execution: default}]
> [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:103)
>    at
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>     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 41 seconds
> [INFO] Finished at: Mon Aug 10 11:17:06 EDT 2009
> [INFO] Final Memory: 46M/68M
> [INFO]
> ------------------------------------------------------------------------
> ~/workspaces/apache-shindig$ mvn --version
> Apache Maven 2.2.0 (rdebian-0ubuntu1~ppa4)
> Java version: 1.6.0_0
> Java home: /usr/lib/jvm/java-6-openjdk/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.28-14-generic" arch: "i386" Family: "unix"
>
>
>
>
>
> On Fri, Aug 7, 2009 at 2:14 PM, Kevin Brown <et...@google.com> wrote:
>
> > Where did you run "mvn" from?
> >
> > You may want to try maven 2.2.0.
> >
> > On Fri, Aug 7, 2009 at 9:50 AM, Tom Vaughan <
> > tom.vaughan@positiveenergyusa.com> wrote:
> >
> > > Hi,
> > >
> > > I'm brand new to shindig and it's my first day doing some eval work on
> > it.
> > > I've run in to 2 separate blockers and thought I'd reach out to the
> list
> > to
> > > see if these were known issues of if they're something I can help with.
> > >
> > > Issue #1:
> > >
> > > Doing a fresh check out of the shindig trunk, followed up by a "mvn"
> > > command
> > > gets almost all the way through, but errors out with the error below.
> > > Anyone know what's going on here?
> > >
> > > *My Info*
> > >  Linux tvaughan-laptop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25
> > 00:28:35
> > > UTC 2009 i686 GNU/Linux
> > >  Maven version: 2.0.8
> > >  Java version: 1.6.0_0
> > >  OS name: "linux" version: "2.6.28-14-generic" arch: "i386" Family:
> > "unix"
> > >
> > > *Stack*
> > > [INFO] Installing
> > >
> > >
> >
> /home/tvaughan/workspaces/apache-shindig/java/social-api/target/shindig-social-api-1.1-BETA3-incubating-SNAPSHOT-tests.jar
> > > to
> > >
> > >
> >
> /home/tvaughan/.m2/repository/org/apache/shindig/shindig-social-api/1.1-BETA3-incubating-SNAPSHOT/shindig-social-api-1.1-BETA3-incubating-SNAPSHOT-tests.jar
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Building Apache Shindig Features
> > > [INFO]    task-segment: [install]
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] [enforcer:enforce {execution: enforce-java}]
> > > [INFO] [remote-resources:process {execution: default}]
> > > [INFO] [resources:resources]
> > > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > > [INFO] Copying 1031 resources to features
> > > [INFO] Copying 1 resource to META-INF
> > > [INFO] Copying 4 resources
> > > [INFO] [yuicompressor:compress {execution: default}]
> > > [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:103)
> > >    at
> > >
> > >
> >
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
> > >    at
> > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> > >    at
> > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> > >    at
> > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
> > >    at
> > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> > >    at
> > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> > >    at
> > >
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> > >    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
> > >    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
> > >    at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> > >    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 minutes 19 seconds
> > > [INFO] Finished at: Fri Aug 07 12:37:03 EDT 2009
> > > [INFO] Final Memory: 40M/58M
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > >
> >
>

Re: Startup Woes #1 of #2

Posted by Tom Vaughan <to...@positiveenergyusa.com>.
I've tried running "mvn" and "mvn clean install" from the top-level pom
(i.e. from the directory containing ./assembly through ./php) and also from
beneath the ./java subproject with the same results...

I upgraded to maven 2.2.0 and I'm still getting this build error towards the
end of the build.

I grepped around and I don't see where the yuicompressor stuff is coming
from.  I was expecting it to be a plugin in some pom, but my cursory search
didn't pick that up.

It also turns out that java-6-open can't run the
YUICompressor<https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255149>.
The alleged work-around is to switch over to java-6-sun or delete the
rhino.jar symlink in the java-6-open lib directory.  Neither of those get
the shindig build to work for me however :-(

[INFO] [yuicompressor:compress {execution: default}]
[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:103)
    at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    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 41 seconds
[INFO] Finished at: Mon Aug 10 11:17:06 EDT 2009
[INFO] Final Memory: 46M/68M
[INFO]
------------------------------------------------------------------------
~/workspaces/apache-shindig$ mvn --version
Apache Maven 2.2.0 (rdebian-0ubuntu1~ppa4)
Java version: 1.6.0_0
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.28-14-generic" arch: "i386" Family: "unix"





On Fri, Aug 7, 2009 at 2:14 PM, Kevin Brown <et...@google.com> wrote:

> Where did you run "mvn" from?
>
> You may want to try maven 2.2.0.
>
> On Fri, Aug 7, 2009 at 9:50 AM, Tom Vaughan <
> tom.vaughan@positiveenergyusa.com> wrote:
>
> > Hi,
> >
> > I'm brand new to shindig and it's my first day doing some eval work on
> it.
> > I've run in to 2 separate blockers and thought I'd reach out to the list
> to
> > see if these were known issues of if they're something I can help with.
> >
> > Issue #1:
> >
> > Doing a fresh check out of the shindig trunk, followed up by a "mvn"
> > command
> > gets almost all the way through, but errors out with the error below.
> > Anyone know what's going on here?
> >
> > *My Info*
> >  Linux tvaughan-laptop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25
> 00:28:35
> > UTC 2009 i686 GNU/Linux
> >  Maven version: 2.0.8
> >  Java version: 1.6.0_0
> >  OS name: "linux" version: "2.6.28-14-generic" arch: "i386" Family:
> "unix"
> >
> > *Stack*
> > [INFO] Installing
> >
> >
> /home/tvaughan/workspaces/apache-shindig/java/social-api/target/shindig-social-api-1.1-BETA3-incubating-SNAPSHOT-tests.jar
> > to
> >
> >
> /home/tvaughan/.m2/repository/org/apache/shindig/shindig-social-api/1.1-BETA3-incubating-SNAPSHOT/shindig-social-api-1.1-BETA3-incubating-SNAPSHOT-tests.jar
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Apache Shindig Features
> > [INFO]    task-segment: [install]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [enforcer:enforce {execution: enforce-java}]
> > [INFO] [remote-resources:process {execution: default}]
> > [INFO] [resources:resources]
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > [INFO] Copying 1031 resources to features
> > [INFO] Copying 1 resource to META-INF
> > [INFO] Copying 4 resources
> > [INFO] [yuicompressor:compress {execution: default}]
> > [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:103)
> >    at
> >
> >
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
> >    at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> >    at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> >    at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
> >    at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> >    at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> >    at
> >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> >    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
> >    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
> >    at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> >    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 minutes 19 seconds
> > [INFO] Finished at: Fri Aug 07 12:37:03 EDT 2009
> > [INFO] Final Memory: 40M/58M
> > [INFO]
> > ------------------------------------------------------------------------
> >
>

Re: Startup Woes #1 of #2

Posted by Kevin Brown <et...@google.com>.
Where did you run "mvn" from?

You may want to try maven 2.2.0.

On Fri, Aug 7, 2009 at 9:50 AM, Tom Vaughan <
tom.vaughan@positiveenergyusa.com> wrote:

> Hi,
>
> I'm brand new to shindig and it's my first day doing some eval work on it.
> I've run in to 2 separate blockers and thought I'd reach out to the list to
> see if these were known issues of if they're something I can help with.
>
> Issue #1:
>
> Doing a fresh check out of the shindig trunk, followed up by a "mvn"
> command
> gets almost all the way through, but errors out with the error below.
> Anyone know what's going on here?
>
> *My Info*
>  Linux tvaughan-laptop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35
> UTC 2009 i686 GNU/Linux
>  Maven version: 2.0.8
>  Java version: 1.6.0_0
>  OS name: "linux" version: "2.6.28-14-generic" arch: "i386" Family: "unix"
>
> *Stack*
> [INFO] Installing
>
> /home/tvaughan/workspaces/apache-shindig/java/social-api/target/shindig-social-api-1.1-BETA3-incubating-SNAPSHOT-tests.jar
> to
>
> /home/tvaughan/.m2/repository/org/apache/shindig/shindig-social-api/1.1-BETA3-incubating-SNAPSHOT/shindig-social-api-1.1-BETA3-incubating-SNAPSHOT-tests.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Shindig Features
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1031 resources to features
> [INFO] Copying 1 resource to META-INF
> [INFO] Copying 4 resources
> [INFO] [yuicompressor:compress {execution: default}]
> [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:103)
>    at
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>    at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>    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 minutes 19 seconds
> [INFO] Finished at: Fri Aug 07 12:37:03 EDT 2009
> [INFO] Final Memory: 40M/58M
> [INFO]
> ------------------------------------------------------------------------
>