Preparing for gwt-dispatch 1.2.0

122 views
Skip to first unread message

Robert Munteanu

unread,
Apr 21, 2011, 4:02:07 PM4/21/11
to gwt-di...@googlegroups.com
Hi all,

I've managed to set aside a little time for releasing a few improvements for gwt-dispatch. I currently plan to handle the following issues:
Also, I've initiated discussions regarding the two initiatives for behind-the-scenes batching ( Support aggregating actions initiated close together to reduce network trafficDispatchAsync implementation that batches actions) , as I am curious to understand the exact use cases involved.

Is there anything else that you would like picked up?

Robert

P.S. I am not sure who has the right to create milestones in the issue tracker, but I don't . Please create the 1.2 Milestone to schedule those tasks for it.

David Peterson

unread,
Apr 24, 2011, 1:05:50 AM4/24/11
to gwt-di...@googlegroups.com
Thank for following up on this Robert. I've created Milestone-1.2.0, and you should also have permission to make future changes.

David

Robert Munteanu

unread,
Apr 24, 2011, 3:08:09 PM4/24/11
to gwt-di...@googlegroups.com
Thanks!

--
Sent from my (old) computer

Robert Munteanu

unread,
Apr 25, 2011, 3:47:34 AM4/25/11
to gwt-di...@googlegroups.com
One more thing: as I am not part of the deployment group on
oss.sonatype.org, can you please stage the 1.2.0 release for testing?

Thanks,

Robert

Davide Ungari

unread,
Apr 26, 2011, 10:33:12 AM4/26/11
to gwt-di...@googlegroups.com
Hi Robert,
few months ago I tried to use gwt-dispatch 1.1 without gin/guice.
There was a problem because in the code there is some explicit
reference to gin/guice and GWT does not compile because it does not
found gin/guice source code. Is it possible in the 1.2.0 release to
break this dependency of gwt-dispatch from gin/guice?

If you need more details ask me I will try to describe this problem better!

On Mon, Apr 25, 2011 at 9:47 AM, Robert Munteanu

Robert Munteanu

unread,
Apr 26, 2011, 10:55:09 AM4/26/11
to gwt-di...@googlegroups.com
Hi Davide,

In 1.1 there is no direct dependency on guice / gin . The GWT compiler
will complain, but skip the affected classes as they are not directly
referenced by your code.

My minimal sample ( https://github.com/rombert/gwt-dispatch-sample )
works without guice or gin .

If you have a reproducible error, please open an issue.

Thanks,

Robert

Davide Ungari

unread,
Apr 26, 2011, 11:01:43 AM4/26/11
to gwt-di...@googlegroups.com
Ok, probably I confused a compilation warning with a real error...
anyway I will check.
Thanks again!

On Tue, Apr 26, 2011 at 4:55 PM, Robert Munteanu

Robert Munteanu

unread,
Apr 26, 2011, 4:36:52 PM4/26/11
to gwt-di...@googlegroups.com
Great, let me know if any problems appear.

In the mean time I've added this issue to our FAQ page  .

Robert

Davide Ungari

unread,
Apr 26, 2011, 4:56:59 PM4/26/11
to gwt-di...@googlegroups.com
The compiler gives these messages:
[ERROR] Errors in
'jar:file:/workspace/war/WEB-INF/lib/gwt-dispatch-1.1.0.jar!/net/customware/gwt/dispatch/client/gin/AbstractDispatchModule.java'
[ERROR] Line 3: The import com.google.gwt.inject cannot be resolved
[ERROR] Line 12: AbstractGinModule cannot be resolved to a type
[ERROR] Line 20: The method configure() of type
AbstractDispatchModule must override or implement a supertype method
[ERROR] Line 21: The method bind(Class<ExceptionHandler>) is
undefined for the type AbstractDispatchModule
[ERROR] Errors in
'jar:file:/workspace/war/WEB-INF/lib/gwt-dispatch-1.1.0.jar!/net/customware/gwt/dispatch/client/gin/AppEngineSecurityModule.java'
[ERROR] Line 6: The import com.google.gwt.inject cannot be resolved
[ERROR] Line 14: AbstractGinModule cannot be resolved to a type
[ERROR] Line 17: The method configure() of type
AppEngineSecurityModule must override or implement a supertype method
[ERROR] Line 18: The method
bind(Class<SecureSessionAccessor>) is undefined for the type
AppEngineSecurityModule
[ERROR] Errors in
'jar:file:/workspace/war/WEB-INF/lib/gwt-dispatch-1.1.0.jar!/net/customware/gwt/dispatch/client/gin/SecureDispatchModule.java'
[ERROR] Line 3: The import com.google.gwt.inject cannot be resolved
[ERROR] Line 4: The import com.google.inject cannot be resolved
[ERROR] Line 5: The import com.google.inject cannot be resolved
[ERROR] Line 28: The hierarchy of the type
SecureDispatchModule is inconsistent
[ERROR] Line 48: Provides cannot be resolved to a type
[ERROR] Line 49: Singleton cannot be resolved to a type
[ERROR] Errors in
'jar:file:/workspace/war/WEB-INF/lib/gwt-dispatch-1.1.0.jar!/net/customware/gwt/dispatch/client/gin/StandardDispatchModule.java'
[ERROR] Line 3: The import com.google.gwt.inject cannot be resolved
[ERROR] Line 4: The import com.google.inject cannot be resolved
[ERROR] Line 5: The import com.google.inject cannot be resolved
[ERROR] Line 21: The hierarchy of the type
StandardDispatchModule is inconsistent
[ERROR] Line 36: Provides cannot be resolved to a type
[ERROR] Line 37: Singleton cannot be resolved to a type

But at end it gives also "Compilation succeeded" message.
Probably at the first sight all this error lines confused me.
Anyway the FAQ page is a great idea!

Reply all
Reply to author
Forward
0 new messages