Friday, October 28, 2011

Deferred Binding - Rebind Result must be a class

Hello:


I was wondering if someone has ran into the following:


Code:


  ClientFactory clientFactory = GWT.create(ClientFactory.class);

  clientFactory.run();


Web Configuration:

  <replace-with class="com.test.client.ClientFactoryWebImpl">  <!-- Class -->

    <when-type-is class="com.test.client.ClientFactory"/>      <!-- Interface -->

    <when-property-is name="mobilefactor" value="desktop"/>

  </replace-with>


Mobile Configuration:

  <replace-with class="com.test.client.ClientFactoryMobilImpl">  <!-- Class -->

    <when-type-is class="com.test.client.ClientFactory"/>        <!-- Interface -->

    <when-property-is name="mobilefactor" value="mobile"/>

  </replace-with>


Rebind result 'com.test.client.ClientFactory' must be a class


This only happens if I try to compile the application. If I run it in Dev Mode it all works.

Appreciate any feedback.

Regards,

Alfredo

--
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment