dev@glassfish.java.net

Re: Does the trunk build?

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Fri, 17 Oct 2008 10:38:17 -0700

Hi Nandini,

That's strange how it only works for some. In theory, it should compile
since the method exists in javax.servlet and I cannot produce the
compilation error.

In order to get your build going, I'd recommend either try compiling
javax.servlet module first (cd web\javax.servlet and mvn install) before
compiling the entire workspace.

I can try to revert the patch if Sahoo's maven version fix doesn't fix
the error.

Sorry for the trouble.

Amy

Nandini Ektare wrote:
> Hi Amy,
>
> Unfortunately that did not work. I have tried fresh workspace and a
> fresh maven repository (tried specifying new repo explicitly too)
> I have tried both mvn -U install and mvn install (just in case
> dependencies are resolved differently)
>
> Trunk fails with the same error below. Any idea how I could work around
> this issue? (I am on windows if that matters in any way)
>
> Thanks
> Nandini
>
> Amy Roh wrote:
>> The javax.servlet.ServletContext does have the method in question.
>> Try rebuilding after update.
>>
>> Hudson build is fine.
>>
>> Amy
>>
>> Nandini Ektare wrote:
>>> servlet-api module seems incompatible....
>>>
>>> [INFO] [hk2:hk2-compile]
>>> [INFO] Compiling 130 source files to
>>> C:\scf\v3\web\web-glue\target\classes
>>> Note:
>>> C:\scf\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.
>>> C:\scf\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 or override a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> 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
>>>
>>> -Nandini
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>