dev@glassfish.java.net

Re: FullBuild of v3 causing compilation problem

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 09 Dec 2008 21:46:43 +0530

Are you using mvn 2.0.9 or not?

Wolfram Rittmeyer wrote:
> Hello,
>
>
> I've just tried to do a full build as described on the wiki:
>
> http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions
>
>
> Alas this resulted in the following error right after executing
> mvn -U -Prelease-phase1 install:
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Web Container glue code
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
>
> ... (some more lines)
>
> [INFO] [hk2:hk2-compile]
> [INFO] Compiling 35 source files to
> /home/rittmey/projects/glassfish_v3/v3/web/web-glue/target/classes
> Note:
> /home/rittmey/projects/glassfish_v3/v3/web/web-glue/src/main/java/com/sun/enterprise/web/WebComponentInvocation.java
> uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> /home/rittmey/projects/glassfish_v3/v3/web/web-glue/src/main/java/com/sun/enterprise/web/pwc/connector/coyote/PwcCoyoteRequest.java:146:
> cannot find symbol
> symbol : method getSessionCookieConfig()
> location: interface javax.servlet.ServletContext
> (servletContext.getSessionCookieConfig()!=null)) {
> ^
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 error
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Fatal error compiling
>
> Embedded error: APT failed: 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 62 minutes 40 seconds
> [INFO] Finished at: Tue Dec 09 14:18:00 CET 2008
> [INFO] Final Memory: 61M/110M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Anything I missed, or is this actually a problem in the SVN repository?
>
>
> --
> Wolfram Rittmeyer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>