dev@glassfish.java.net

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

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 01 May 2008 12:10:23 -0700

Thanks.

I will set that permanently. But I just tried a 2nd time and it worked.

Lloyd

On Apr 30, 2008, at 2:18 PM, Kohsuke Kawaguchi wrote:

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

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc