Hallo,

there is a duplicated entry in DeobfuscatorBuilder class when I compile the 
application with maven and the lists with the proxies for the duplicated 
bean are different. But if I compile the application with eclipse-compiler, 
there is no duplicated entry and nothing went wrong (only the first entry 
of the list above for OPAssertionWithInformation).

withOperation(new OperationKey("KUn4aunHWrVyneYsWoPuvNECTaM="),
>   new OperationData.Builder()
>   
> .withClientMethodDescriptor("(Lxxx/gui/shared/beans/rf/proxies/filtering/FilterLoadConfigProxy;Lxxx/gui/shared/beans/rf/proxies/paging/PagingLoadConfigProxy;)Lcom/google/web/bindery/requestfactory/shared/Request;")
>   
> .withDomainMethodDescriptor("(Lxxx/editor/loadconfig/FilterLoadConfig;Lxxx/editor/loadconfig/PagingLoadConfig;)Lxxx/editor/loadconfig/PagingLoadResultOPAssertion;")
>   .withMethodName("loadObjectPropertyAssertions")
>   
> .withRequestContext("xxx.gui.shared.beans.rf.WebInterfaceRequestFactory$PropertyAssertionRequest")
>   .build());
> ...
> withClientToDomainMappings("xxx.editor.model.OPAssertionWithInformation", 
> Arrays.asList("xxx.gui.shared.beans.rf.proxies.model.OPAssertionWithInfEntityProxy",
>  
> "xxx.gui.shared.beans.rf.proxies.model.OPAssertionWithMinInformationProxy"));
> ... 
> withClientToDomainMappings("xxx.editor.model.OPAssertionWithInformation", 
> Arrays.asList("xxx.gui.shared.beans.rf.proxies.model.OPAssertionWithInfEntityProxy"));
>
...
>

The first entry for OPAssertionWithInformation is the right one because my 
proxies look like this

 @ProxyFor(value = OPAssertionWithInformation.class, locator = 
> OPAssertionLocator.class)
> public interface OPAssertionWithInfEntityProxy extends EntityProxy {
>     ...
> }
>

 @ProxyFor(OPAssertionWithInformation.class)
> public interface OPAssertionWithMinInformationProxy extends ValueProxy {
>    ...
> }
>

I need both proxies.

Now if I call the method "loadObjectPropertyAssertions" with param 
OPAssertionWithMinInformationProxy, I get an exception that "The domain 
type OPAssertionWithInformation cannot be sent to the client", because the 
second entry in DeobfuscatorBuilder overrides the first entry and so 
OPAssertionWithMinInformationProxy cannot be found.

I´ve been searching for a couple of days but I don´t understand why the 
result of eclipse and maven compile are different and why maven compile 
produces this duplicated entry. Can anybody help me?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/VBJdp04gz00J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to