Re: replace-with problem

2011-11-08 Thread ailinykh
Yes, I can compile. I get ClassNotFoundException when in module B (library) I try to create interface replaced by concrete class in app. 09:17:51.405 [ERROR] [myapp] Could not load deferred binding result type 'com.ais.myapp.client.ExceptionHandlerImpl' java.lang.ClassNotFoundException: com$ais

Re: replace-with problem

2011-11-08 Thread Thomas Broyer
[back to the group] On Tue, Nov 8, 2011 at 5:39 PM, ailinykh wrote: > I meant run time error. I want module B (which is a library) to use > implementation defined in app (module A). Let's say this is error message > screen, it could be pop up, separated page, what ever. So all code is > written a

Re: replace-with problem

2011-11-08 Thread Thomas Broyer
You said that "A has an entry point", so A is your app, and B and C are only libraries. That means B cannot be compiled on its own, it needs to be inherited by an "app" module, which will have the responsibility of defining a rebind rule (as you did in A). So, I don't understand what you mean by

replace-with problem

2011-11-07 Thread ailinykh
Hello everybody! I have three GWT modules A, B and C. C has some common widgets and utility classes/interfaces. both A and B depends on C. A depends on B. A has an entry point. The problem is: module C has an interface which I want to replace by a class in A module. I use replace-with statement