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.
>
I got the same problem also. I'm ruuning Solaris 1.0 on spacrs, using
JDK 1.5.
> 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 ?
>
Yes.
> 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>
>
That seems to work. Can someone check in this changes for now, so that
others don't have to do this to build?
-Kin-man
>
> 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
>