dev@glassfish.java.net

Re: v3 build error?

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Tue, 05 Aug 2008 13:39:07 -0700

I was never able to reproduce this problem, and Hudson has been fine all
along.
admingui is now part of the v3 build. This is changed this morning.
I have just created a new workspace, remove ~/.m2/repository and did mvn
install. It went through fine.
Check if the following match:

%ls -l ~/.m2/repository/com/sun/woodstock/dependlibs/dataprovider/1.0
-rw-r--r-- 1 anilam staff 2122 Aug 5 12:52 dataprovider-1.0.pom
-rw-r--r-- 1 anilam staff 40 Aug 5 12:52
dataprovider-1.0.pom.sha1
-rw-r--r-- 1 anilam staff 101509 Aug 5 12:52 dataprovider-1.0.jar
-rw-r--r-- 1 anilam staff 40 Aug 5 12:52
dataprovider-1.0.jar.sha1

% ls -l ~/.m2/repository/org/glassfish/admingui/dataprovider/4.2
-rw-r--r-- 1 anilam staff 105980 Aug 5 13:01 dataprovider-4.2.jar
-rw-r--r-- 1 anilam staff 4773 Aug 5 13:01 dataprovider-4.2.pom
-rw-r--r-- 1 anilam staff 327 Aug 5 13:01
dataprovider-4.2-sources.jar

Hong, if you still can't get through this, then you can try remove
'admingui' from v3/pom.xml, so that it won't build admingui and you can
temp. continue your work.

Anissa.

Jan.Luehe_at_Sun.COM wrote:
> Hi Hong,
>
> I got the exact same error when I built the admingui separately, i.e.,
> when the admingui was not yet part of the V3 build.
>
> I never got around that problem ...
>
> Jan
>
> Hong Zhang wrote:
>
>> With svn update; mvn -U clean install, I got following compilation
>> error:
>>
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:73:
>> package com.sun.data.provider does not exist
>> import com.sun.data.provider.RowKey;
>> ^
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:125:
>> cannot find symbol
>> symbol : class RowKey
>> location: class org.glassfish.admingui.handlers.TableHandlers
>> @HandlerOutput(name="rowKeys", type=RowKey[].class)})
>> ^
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:140:
>> cannot find symbol
>> symbol : class RowKey
>> location: class org.glassfish.admingui.handlers.TableHandlers
>> @HandlerInput(name="rowKeys", type=RowKey[].class,
>> required=true)})
>> ^
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:73:
>> package com.sun.data.provider does not exist
>> import com.sun.data.provider.RowKey;
>> ^
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:125:
>> cannot find symbol
>> symbol : class RowKey
>> location: class org.glassfish.admingui.handlers.TableHandlers
>> @HandlerOutput(name="rowKeys", type=RowKey[].class)})
>> ^
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:140:
>> cannot find symbol
>> symbol : class RowKey
>> location: class org.glassfish.admingui.handlers.TableHandlers
>> @HandlerInput(name="rowKeys", type=RowKey[].class,
>> required=true)})
>> ^
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:99:
>> cannot access com.sun.data.provider.impl.ObjectListDataProvider
>> file com/sun/data/provider/impl/ObjectListDataProvider.class not found
>> MultipleListDataProvider dp =
>> (MultipleListDataProvider)trg.getSourceData();
>> ^
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:102:
>> cannot find symbol
>> symbol : class RowKey
>> location: class org.glassfish.admingui.handlers.TableHandlers
>> RowKey[] rowKeys = trg.getSelectedRowKeys();
>> ^
>> /home/hzhang/files/workspaces/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");
>> ^
>> /home/hzhang/files/workspaces/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");
>> ^
>> /home/hzhang/files/workspaces/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();
>> ^
>> /home/hzhang/files/workspaces/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) {
>> ^
>> /home/hzhang/files/workspaces/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();
>> ^
>> /home/hzhang/files/workspaces/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.getSourceData();
>>
>> ^
>> /home/hzhang/files/workspaces/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.getSourceData();
>>
>> ^
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/ApplicationHandlers.java:1293:
>> inconvertible types
>> found : java.lang.Object
>> required:
>> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
>> MultipleListDataProvider dp =
>> (MultipleListDataProvider)trg.getSourceData();
>>
>> ^
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/StandAloneInstanceHandlers.java:388:
>> inconvertible types
>> found : java.lang.Object
>> required:
>> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
>> MultipleListDataProvider dp =
>> (MultipleListDataProvider)trg.getSourceData();
>>
>> ^
>> /home/hzhang/files/workspaces/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/StandAloneInstanceHandlers.java:579:
>> inconvertible types
>> found : java.lang.Object
>> required:
>> com.sun.jsftemplating.component.dataprovider.MultipleListDataProvider
>> MultipleListDataProvider dp =
>> (MultipleListDataProvider)trg.getSourceData();
>>
>> ^
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> 15 errors
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Fatal error compiling
>>
>>
>> ---------------------------------------------------------------------
>> 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
>