dev@glassfish.java.net

Re: Help : Build Error with Freshly checked out V3

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Thu, 07 Aug 2008 15:52:02 -0700

Anissa, Ken,

This pom differs only in an extra empty line at the end, so obviously it doesn't
change anything :(

thanks,
-marina

Kin-man Chung wrote:
> Anissa,
>
> The pom.xml you you sent me is identical to the one I already have.
>
> -Kin-man
>
> Anissa Lam wrote:
>
>> Hi Marina/Kin-Man ,
>>
>> Since you can reproduce the build problem relating to dataprovider,
>> can you help test if the pom.xml that Ken sent out for review actually
>> fixes the issue. He attached that to the email sent to Sahoo earlier
>> if you want to see whats the difference.
>> I have also attached it here.
>> This is to replace v3/admingui/dataprovider/pom.xml that you
>> currently have.
>>
>> Kin-Man, if you have previously commented out <dataprovider> in
>> admingui/pom.xml, you need to uncomment that to do the test.
>>
>> thanks
>> Anissa
>>
>> Marina Vatkina wrote:
>>
>>> I'm also seeing this problem after I updated my ws. today :(.
>>>
>>> I'm on Solaris 10 x86, java version 1.5.0_16-b02.
>>>
>>> thanks,
>>> -marina
>>>
>>> Sahoo wrote:
>>>
>>>> Anissa,
>>>>
>>>> Why is the version set to 4.2 in admingui/dataprovider/pom.xml?
>>>> That's bad, because this artifact is built every time and hence we
>>>> are likely to update the repository keeping the version number same.
>>>> It should inherit its version from parent.
>>>> I highly recommend people to send their pom.xmls to dev alias for
>>>> review.
>>>>
>>>> Thanks,
>>>> Sahoo
>>>>
>>>> Anissa Lam wrote:
>>>>
>>>>>
>>>>> Many of you have seen this problem that failed in some system and
>>>>> worked in other. What platform are you building on ? OS version
>>>>> ? Java version ? mvn version ? Maybe we can see some
>>>>> commonalities between the failed system.
>>>>>
>>>>> Does the class 'com.sun.data.provider.RowKey' exists in your
>>>>> repository/org/glassfish/admingui/dataprovider/4.2/dataprovider-4.2.jar
>>>>> which is specified as the dependency ?
>>>>>
>>>>> This jar is an OSGi bundle created by wrapping the dataprovider.jar
>>>>> that comes from woodstock, which is not an OSGi bundle. Can Sahoo
>>>>> help us take a look at this to see if there is anything looks
>>>>> suspicious ?
>>>>>
>>>>> Can you try doing 'rm -rf
>>>>> repository/org/glassfish/admingui/dataprovider' to remove the one
>>>>> you build yourself,
>>>>> and then edit admingui/pom.xml to remove building the
>>>>> dataprovider module, forcing it to download from the maven
>>>>> repository to see if makes any difference ?
>>>>>
>>>>> <modules>
>>>>> <module>dataprovider</module> <==== remove this module
>>>>> <module>jsftemplating</module>
>>>>> <module>plugin-service</module>
>>>>> <module>common</module>
>>>>> <module>core</module>
>>>>> <module>web</module>
>>>>> <module>jdbc-gui</module>
>>>>> <module>security</module>
>>>>> <module>war</module>
>>>>> </modules>
>>>>>
>>>>>
>>>>> Harsha, will you be able to help out on this issue that more and
>>>>> more people is facing since admingui is now part of the v3 build ?
>>>>>
>>>>> Sorry, i have more questions than answers :)
>>>>>
>>>>>
>>>>> thaniks
>>>>> Anissa
>>>>>
>>>>>
>>>>> Shalini Muthukrishnan wrote:
>>>>>
>>>>>> I faced the same issue on a freshly built workspace. As per
>>>>>> Anissa's previous mail, i checked the contents of my .m2 repository:
>>>>>>
>>>>>> #ls -ltr ~/.m2/repository/org/glassfish/admingui/dataprovider/4.2
>>>>>> -rw-r--r-- 1 shalini shalini 327 2008-08-07 18:00
>>>>>> dataprovider-4.2-sources.jar
>>>>>> -rw-r--r-- 1 shalini shalini 4773 2008-08-07 18:00
>>>>>> dataprovider-4.2.pom
>>>>>> -rw-r--r-- 1 shalini shalini *106012* 2008-08-07 18:00
>>>>>> dataprovider-4.2.jar
>>>>>>
>>>>>> The size of the dataprovider-4.2.jar seems different from what was
>>>>>> mentioned in the email :
>>>>>> -rw-r--r-- 1 anilam staff *105980* Aug 5 13:01
>>>>>> dataprovider-4.2.jar
>>>>>>
>>>>>> I tried copying dataprovider-4.2.jar with size "*105980*" from
>>>>>> another workspace into my repository and i still see these errors.
>>>>>> I checked out my workspace 2 hours back. Any workarounds for this?
>>>>>> I need to perform certain tests for my code changes with admin GUI
>>>>>> so i need to build this module.
>>>>>>
>>>>>> Thanks,
>>>>>> Shalini.
>>>>>>
>>>>>> V B Kumar Jayanti wrote:
>>>>>>
>>>>>>> Any thoughts on how to fix this ?.
>>>>>>>
>>>>>>> E:\FRESH\V3\Aug07\v3\admingui\core\src\main\java\org\glassfish\admingui\handlers
>>>>>>>
>>>>>>> \TableHandlers.java:144: cannot find symbol
>>>>>>> symbol : class RowKey
>>>>>>> location: class org.glassfish.admingui.handlers.TableHandlers
>>>>>>> RowKey[] keys = (RowKey [])
>>>>>>> handlerCtx.getInputValue("rowKeys");
>>>>>>> ^
>>>>>>> E:\FRESH\V3\Aug07\v3\admingui\core\src\main\java\org\glassfish\admingui\handlers
>>>>>>>
>>>>>>> \TableHandlers.java:144: cannot find symbol
>>>>>>> symbol : class RowKey
>>>>>>> location: class org.glassfish.admingui.handlers.TableHandlers
>>>>>>> RowKey[] keys = (RowKey [])
>>>>>>> handlerCtx.getInputValue("rowKeys");
>>>>>>> ^
>>>>>>> E:\FRESH\V3\Aug07\v3\admingui\core\src\main\java\org\glassfish\admingui\handlers
>>>>>>>
>>>>>>> \TableHandlers.java:146: inconvertible types
>>>>>>> found : java.lang.Object
>>>>>>> required:
>>>>>>> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
>>>>>>>
>>>>>>> (MultipleListDataProvider) trg.getSourceData();
>>>>>>> ^
>>>>>>> E:\FRESH\V3\Aug07\v3\admingui\core\src\main\java\org\glassfish\admingui\handlers
>>>>>>>
>>>>>>> \TableHandlers.java:147: cannot find symbol
>>>>>>> symbol : class RowKey
>>>>>>> location: class org.glassfish.admingui.handlers.TableHandlers
>>>>>>> for (RowKey key : keys) {
>>>>>>> ^
>>>>>>> E:\FRESH\V3\Aug07\v3\admingui\core\src\main\java\org\glassfish\admingui\handlers
>>>>>>>
>>>>>>> \TableHandlers.java:165: inconvertible types
>>>>>>> found : java.lang.Object
>>>>>>> required:
>>>>>>> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
>>>>>>>
>>>>>>> (MultipleListDataProvider) trg.getSourceData();
>>>>>>> ^
>>>>>>> E:\FRESH\V3\Aug07\v3\admingui\core\src\main\java\org\glassfish\admingui\handlers
>>>>>>>
>>>>>>> \TableHandlers.java:254: inconvertible types
>>>>>>> found : java.lang.Object
>>>>>>> required:
>>>>>>> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
>>>>>>>
>>>>>>> MultipleListDataProvider dp =
>>>>>>> (MultipleListDataProvider)trg.getSourceDat
>>>>>>> a();
>>>>>>>
>>>>>>> ^
>>>>>>> E:\FRESH\V3\Aug07\v3\admingui\core\src\main\java\org\glassfish\admingui\handlers
>>>>>>>
>>>>>>> \TableHandlers.java:287: inconvertible types
>>>>>>> found : java.lang.Object
>>>>>>> required:
>>>>>>> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
>>>>>>>
>>>>>>> MultipleListDataProvider dp =
>>>>>>> (MultipleListDataProvider)trg.getSourceDat
>>>>>>> a();
>>>>>>>
>>>>>>> ^
>>>>>>> Note: Some input files use unchecked or unsafe operations.
>>>>>>> Note: Recompile with -Xlint:unchecked for details.
>>>>>>> 15 errors
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> 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
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>