GWT 2.2.0?

27 views
Skip to first unread message

Ruud

unread,
Feb 12, 2011, 11:42:38 AM2/12/11
to Mvp4g
Hi,

I am trying to use mvp4g with gwt 2.2.0, but run into some problems.
Any got it to work?

regards, Ruud

Pierre

unread,
Feb 12, 2011, 2:09:50 PM2/12/11
to Mvp4g
Hi Ruud,

The GWT team made a change in GWT 2.2 that breaks generators using
JClassType and compiled with previous GWT version (this class became
an interface in GWT 2.2). Since Mvp4g is based on Generator and used
JClassType, it is impacted by this change.

I uploaded in the download section a zip containing all the jars
needed by Mvp4g to run with GWT 2.2:
http://code.google.com/p/mvp4g/downloads/detail?name=mvp4g-1.3.0-for-gwt-2-2-0.zip

This zip contains a new version of Mvp4g but also a new version of GIN
(GIN is also impacted by this issue) and its new dependencies. The GIN
lib provided is the GIN trunk at revision r158. Why r158 or not the
latest one? It is because they brought a change after r158 that
created a bug that impacts Mvp4g. I created an issue in GIN:
http://code.google.com/p/google-gin/issues/detail?id=137. If they
decide to release a new version of GIN without this fix, this will
impact Mvp4g a lot (right now, Mvp4g creates the Ginjector
automatically based on the @Presenter, but because of this issue, the
GInjector may have to be created manually by developers, which means
they have to write more boilerplate code). Please star this issue so
that the GIN team gives a higher priority to this issue.

Concerning the future of Mvp4g, I'm thinking creating 2 versions for
the next release, 1.3.0, that will be compatible with GWT 2.1 and
lower, and 1.3.1, that will be compatible with GWT 2.2.

Let me know if you have any issue or questions.

Thanks,
Pierre

Frank Mena

unread,
Feb 13, 2011, 5:16:21 PM2/13/11
to Mvp4g
I'm using maven and am having a hard time getting it to work with the
proper jars. I have created a maven pom for mvp4g-1.3.0-fix and
gin-1.0-158. I now reference mvp4g-1.3.0-fix and mvp4g-1.3.0-fix
references this gin-1.0-158. I'm getting the same error as before.
Are the other jars special? I don't see a reference to
java.inject.jar anywhere.

Also, can you tell be the SVN rev number of this special build so I
can create a source jar for maven/eclipse?

Frank

P.S., we have a very large app (over 45 pages so far) and cannot
picture developing it without MVP4G.



On Feb 12, 11:09 am, Pierre <plcoir...@gmail.com> wrote:
> Hi Ruud,
>
> The GWT team made a change in GWT 2.2 that breaks generators using
> JClassType and compiled with previous GWT version (this class became
> an interface in GWT 2.2). Since Mvp4g is based on Generator and used
> JClassType, it is impacted by this change.
>
> I uploaded in the download section a zip containing all the jars
> needed by Mvp4g to run with GWT 2.2:http://code.google.com/p/mvp4g/downloads/detail?name=mvp4g-1.3.0-for-...

Ruud

unread,
Feb 14, 2011, 4:57:10 AM2/14/11
to Mvp4g
Hi Pierre,

Thanx for the fix. I am working with 1.2.0 and GWT 2.1.1 at the
moment, but will need to continue with gwt 2.2.0
I have starred the GIN issue, hopefully it will be picked up!

regards, Ruud

On 12 feb, 20:09, Pierre <plcoir...@gmail.com> wrote:
> Hi Ruud,
>
> The GWT team made a change in GWT 2.2 that breaks generators using
> JClassType and compiled with previous GWT version (this class became
> an interface in GWT 2.2). Since Mvp4g is based on Generator and used
> JClassType, it is impacted by this change.
>
> I uploaded in the download section a zip containing all the jars
> needed by Mvp4g to run with GWT 2.2:http://code.google.com/p/mvp4g/downloads/detail?name=mvp4g-1.3.0-for-...

Pierre

unread,
Feb 14, 2011, 9:16:45 AM2/14/11
to Mvp4g
Hi Frank,

The dependencies for google-gin 1.1 are different than 1.0. It needs a
new version of guice and also javax.inject. You can take a look at
this pom file made by Jeff Larsen, it may help you:
https://github.com/larsenje/google-gin-pom/blob/master/maven/snapshots/com/googlecode/gwt/inject/gin/1.1-SNAPSHOT/gin-1.1-SNAPSHOT.pom

> P.S., we have a very large app (over 45 pages so far) and cannot
> picture developing it without MVP4G.
We also use Mvp4g for our main project at my company so I need to keep
Mvp4g updated. Except if you need some new feature of GWT 2.2, I would
suggest you to wait a few weeks, so that all libraries affected by the
change made to the generator classes are updated.

> I have starred the GIN issue, hopefully it will be picked up!
Thanks Ruud, the GIN team set the priority to high and already started
to work on this issue. Hopefully they can quickly come up with a
solution (but they say it may take some time :/,
http://groups.google.com/group/google-gin/browse_thread/thread/9d7f7ed8e2ba5581)

Pierre

Frank Mena

unread,
Feb 15, 2011, 2:15:20 PM2/15/11
to Mvp4g
Thanks, Pierre.

I'm still having problems getting it to work with Maven, so I will
take your advice and wait a couple of weeks. BTW, I also starred the
gin site.

Frank


On Feb 14, 6:16 am, Pierre <plcoir...@gmail.com> wrote:
> Hi Frank,
>
> The dependencies for google-gin 1.1 are different than 1.0. It needs a
> new version of guice and also javax.inject. You can take a look at
> this pom file made by Jeff Larsen, it may help you:https://github.com/larsenje/google-gin-pom/blob/master/maven/snapshot...
>
> > P.S., we have a very large app (over 45 pages so far) and cannot
> > picture developing it without MVP4G.
>
> We also use Mvp4g for our main project at my company so I need to keep
> Mvp4g updated. Except if you need some new feature of GWT 2.2, I would
> suggest you to wait a few weeks, so that all libraries affected by the
> change made to the generator classes are updated.
>
> > I have starred the GIN issue, hopefully it will be picked up!
>
> Thanks Ruud, the GIN team set the priority to high and already started
> to work on this issue. Hopefully they can quickly come up with a
> solution (but they say it may take some time :/,http://groups.google.com/group/google-gin/browse_thread/thread/9d7f7e...)
>
> Pierre

Pierre

unread,
Feb 16, 2011, 8:42:38 AM2/16/11
to Mvp4g
Thanks Frank.

I heard good news from the GIN team, they're going to release a GIN
1.5 compatible with GWT 2.2 but without the changes that create the
issue with Mvp4g (so GIN 1.5 will work with Mvp4g :),
http://groups.google.com/group/google-gin/browse_thread/thread/159d8c780637f4ef

For mvp4g, the 1.3.0 (version for GWT 2.1 and lower) is ready and I
started working on 1.3.1 (1.3.0 for GWT 2.2). I just have to fix some
test classes so I hope it won't take too long, and hopefully, once GIN
1.5 is available, I can release 1.3.0 and 1.3.1.

Pierre
> > Pierre- Hide quoted text -
>
> - Show quoted text -

Pierre

unread,
Feb 25, 2011, 8:37:49 AM2/25/11
to Mvp4g
Just a little update, GIN 1.5 has been released and it works with GWT
2.2 and Mvp4g. I have to wait for it to be deployed to maven central
and then I can deliver mvp4g 1.3.0 (pre GWT 2.2) and mvp4g 1.3.1 (post
GWT 2.2), hopefully I can do it next weekend.

Pierre

On Feb 16, 8:42 am, Pierre <plcoir...@gmail.com> wrote:
> Thanks Frank.
>
> I heard good news from the GIN team, they're going to release a GIN
> 1.5 compatible with GWT 2.2 but without the changes that create the
> issue with Mvp4g (so GIN 1.5 will work with Mvp4g :),http://groups.google.com/group/google-gin/browse_thread/thread/159d8c...
> > - Show quoted text -- Hide quoted text -

Frank Mena

unread,
Feb 25, 2011, 4:32:16 PM2/25/11
to Mvp4g
Great news, looking forward to the update.

Frank

Ruud

unread,
Feb 27, 2011, 6:39:38 AM2/27/11
to Mvp4g
Hi Pierre,

Great!! Looking forward to the update.

regards, Ruud

Roy

unread,
Feb 26, 2011, 12:49:22 PM2/26/11
to mv...@googlegroups.com
+1 , thanks for a great framework!

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

--
Stop. Help save trees, there is nothing in here worth printing.

Dennis

unread,
Mar 31, 2011, 3:43:12 AM3/31/11
to Mvp4g
+1, thanks a lot. Updated to gwt 2.2. today and everything seems to
work fine (besides still not fixed random GWT compilation failures on
hudson). Had to update a lot of other libraries besides mvpg and gin
though (e.g. gwt-log).

On Feb 26, 7:49 pm, Roy <roy.redir...@gmail.com> wrote:
> +1 , thanks for a great framework!
>
>
>
>
>
>
>
>
>
> On Fri, Feb 25, 2011 at 1:32 PM, Frank Mena <frank.m...@gmail.com> wrote:
> > Great news, looking forward to the update.
>
> > Frank
>
> > On Feb 25, 5:37 am, Pierre <plcoir...@gmail.com> wrote:
> >> Just a little update,GIN1.5 has been released and it works with GWT
> >> 2.2 and Mvp4g. I have to wait for it to be deployed to maven central
> >> and then I can deliver mvp4g 1.3.0 (pre GWT 2.2) and mvp4g 1.3.1 (post
> >> GWT 2.2), hopefully I can do it next weekend.
>
> >> Pierre
>
> >> On Feb 16, 8:42 am, Pierre <plcoir...@gmail.com> wrote:> Thanks Frank.
>
> >> > I heard good news from theGINteam, they're going to release aGIN
> >> > 1.5 compatible with GWT 2.2 but without the changes that create the
> >> > issue with Mvp4g (soGIN1.5 will work with Mvp4g :),http://groups.google.com/group/google-gin/browse_thread/thread/159d8c...
>
> >> > For mvp4g, the 1.3.0 (version for GWT 2.1 and lower) is ready and I
> >> > started working on 1.3.1 (1.3.0 for GWT 2.2). I just have to fix some
> >> > test classes so I hope it won't take too long, and hopefully, onceGIN
> >> > 1.5 is available, I can release 1.3.0 and 1.3.1.
>
> >> > Pierre
>
> >> > On Feb 15, 2:15 pm, Frank Mena <frank.m...@gmail.com> wrote:
>
> >> > > Thanks, Pierre.
>
> >> > > I'm still having problems getting it to work with Maven, so I will
> >> > > take your advice and wait a couple of weeks.  BTW, I also starred the
> >> > >ginsite.
>
> >> > > Frank
>
> >> > > On Feb 14, 6:16 am, Pierre <plcoir...@gmail.com> wrote:
>
> >> > > > Hi Frank,
>
> >> > > > The dependencies for google-gin1.1 are different than 1.0. It needs a
> >> > > > new version of guice and also javax.inject. You can take a look at
> >> > > > this pom file made by Jeff Larsen, it may help you:https://github.com/larsenje/google-gin-pom/blob/master/maven/snapshot...
>
> >> > > > > P.S., we have a very large app (over 45 pages so far) and cannot
> >> > > > > picture developing it without MVP4G.
>
> >> > > > We also use Mvp4g for our main project at my company so I need to keep
> >> > > > Mvp4g updated. Except if you need some new feature of GWT 2.2, I would
> >> > > > suggest you to wait a few weeks, so that all libraries affected by the
> >> > > > change made to the generator classes are updated.
>
> >> > > > > I have starred theGINissue, hopefully it will be picked up!
>
> >> > > > Thanks Ruud, theGINteam set the priority to high and already started
> >> > > > to work on this issue. Hopefully they can quickly come up with a
> >> > > > solution (but they say it may take some time :/,http://groups.google.com/group/google-gin/browse_thread/thread/9d7f7e...)
>
> >> > > > Pierre- Hide quoted text -
>
> >> > > - Show quoted text -- Hide quoted text -
>
> >> > - Show quoted text -
>
> > --
> > You received this message because you are subscribed to the Google Groups "Mvp4g" group.
> > To post to this group, send email to mv...@googlegroups.com.
> > To unsubscribe from this group, send email to mvp4g+un...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/mvp4g?hl=en.
Reply all
Reply to author
Forward
0 new messages