dev@glassfish.java.net

Re: GFV3 build error in core

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Fri, 04 Jan 2008 16:45:47 -0800

this was the other issue that Kohsuke and I fixed. Somehow the api
module has not been building successfully for a long time without us
noticing.

can you do a

mvn -U install

On Jan 4, 2008, at 4:45 PM, Tim Quinn wrote:

>
>
> Jerome Dochez wrote:
>> no sorry, I got caught in fixing another build issue we had, should
>> be fine now
>> just svn update.
> OK, thanks.
>
> I did that, got the new Java class and pom, and tried mvn install
> again.
>
> Now I get this compilation error in the web module. This looks
> different from Kedar's latest.
>
> - Tim
>
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Web Container Common Utilities
> [INFO] task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [hk2:hk2-compile]
> [INFO] Compiling 14 source files to C:\tim\asgroup\v3\v3\web\war-util
> \target\classes
> C:\tim\asgroup\v3\v3\web\war-util\src\main\java\org\apache\catalina
> \loader\WebappClassLoader.java:2559: package javax.el does not ex
> ist
> Field fieldlist[] =
> javax.el.BeanELResolver.class.getDeclaredFields();
> ^
> Note: C:\tim\asgroup\v3\v3\web\war-util\src\main\java\org\apache
> \catalina\loader\WebappClassLoader.java uses or overrides a deprecat
> ed 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
>
>>
>> On Jan 4, 2008, at 4:03 PM, Tim Quinn wrote:
>>
>>> Hi, again.
>>>
>>> svn checkout reported fetching no changes and displayed the same
>>> revision number. And mvn install gave the same compilation error
>>> as before.
>>>
>>> I should not have to clean out my local repository, should I?
>>>
>>> - Tim
>>>
>>> Jerome Dochez wrote:
>>>> fixed.
>>>>
>>>> On Jan 4, 2008, at 3:24 PM, Tim Quinn wrote:
>>>>
>>>>> I have successfully checked out the whole code base and now I
>>>>> get the compilation error below.
>>>>>
>>>>> Is anyone else seeing this or have I missed something? Do I not
>>>>> have the up-to-date hk2? Does that explain the error on the
>>>>> @Override? Is this working for others?
>>>>>
>>>>> - Tim
>>>>>
>>>>> [INFO]
>>>>> ----------------------------------------------------------------------------
>>>>> [INFO] Building Appserver Core Bootstraping Classes
>>>>> [INFO] task-segment: [install]
>>>>> [INFO]
>>>>> ----------------------------------------------------------------------------
>>>>> [INFO] [resources:resources]
>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>> [INFO] [hk2:hk2-compile]
>>>>> [INFO] Compiling 1 source file to C:\tim\asgroup\v3\v3\core
>>>>> \bootstrap\target\classes
>>>>> C:\tim\asgroup\v3\v3\core\bootstrap\src\main\java\com\sun
>>>>> \enterprise\glassfish\bootstrap\Main.java:107:
>>>>> createRepository
>>>>> (java
>>>>> .io
>>>>> .File
>>>>> ,java
>>>>> .io
>>>>> .File
>>>>> ,java
>>>>> .util.jar.Manifest,com.sun.enterprise.module.ModulesRegistry) in
>>>>> com.sun.enterprise.module.bootstrap.Main cannot be applied to
>>>>> (java
>>>>> .io
>>>>> .File
>>>>> ,java.util.jar.Manifest,com.sun.enterprise.module.ModulesRegistry)
>>>>> super.createRepository(root, mf, mr);
>>>>> ^
>>>>> C:\tim\asgroup\v3\v3\core\bootstrap\src\main\java\com\sun
>>>>> \enterprise\glassfish\bootstrap\Main.java:104: method does not
>>>>> override or implement a method from a supertype
>>>>> @Override
>>>>> ^
>>>>> 2 errors
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD ERROR
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Fatal error compiling
>>>>>
>>>>> Embedded error: APT failed: 1
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>
>>
>> ---------------------------------------------------------------------
>> 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
>