dev@glassfish.java.net

Re: V3 build error (trun): "Embedded error: invalid block type"

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 30 Apr 2008 14:18:17 -0700

We started seeing errors in JVM around jar handling. We still don't know
the exact cause of this, but in my environment and on Hudson, I found
the following voodoo useful:

   export MAVEN_OPTS="-Xmx256m"

Hope that works for you.

Lloyd L Chambers wrote:
> This was after:
> svn up
> mvn clean
> mvn install
>
>
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building JavaEE Core Classes
> [INFO] task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [hk2:hk2-compile]
> [INFO] Compiling 18 source files to /v3/code/core/javaee-core/target/
> classes
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [hk2:package]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error assembling JAR
>
> Embedded error: invalid block type
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 44 seconds
> [INFO] Finished at: Tue Apr 29 14:15:13 PDT 2008
> [INFO] Final Memory: 42M/87M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com