ictvmt / mvp4g

Automatically exported from code.google.com/p/mvp4g
0 stars 0 forks source link

Quick migration guide for older versions #113

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I've been using MVP4G v1.0.0 since the start, and now I'd like to move over to 
1.1.0 (because I'd really like to benefit from the lazy object loading feature.)
I thought I could just change your project dependencies to GWT 2.4 (the version 
I currently use), rebuild the JAR replace the old one in my project. But it 
appears it's not going to be a smooth ride, MVP4G 1.1.0 is not backward 
compatible AFAICS. Lots of core changes, and little time to research to migrate.

Can you please put back online your old migration guides? I guess you published 
one when it was released back then.

Cheers for your work, GWT applications would have been a mess without your work.

Original issue reported on code.google.com by okayawri...@gmail.com on 19 May 2012 at 10:15

GoogleCodeExporter commented 8 years ago
There was a major change in GWT 2.4 that broke third-party library using 
Generator, that's why only mvp4g-1.3.1 and mvp4g-1.4.0 works with GWT 2.4

Here are some guide to migrate from 1.1.0 to 1.2.0:
http://code.google.com/p/mvp4g/source/browse/wiki/FAQ.wiki?spec=svn1103&r=642#63
and to migrate from 1.2.0 to 1.3.0
http://code.google.com/p/mvp4g/source/browse/wiki/FAQ.wiki?spec=svn1103&r=1103#6
3
and from 1.3.0 to 1.4.0:
http://code.google.com/p/mvp4g/wiki/FAQ#Migrating_from_1.3_to_1.4

I couldn't find anything about migrating from 1.0.0 to 1.1.0.

Moving from 1.0 to 1.4 shouldn't be too hard because there was no major 
architecture change and you still use events/presenters/views the same way. 
Some annotations and methods may have been renamed but you won't have to 
refractor everything. Let me know if you have any issue.

Original comment by plcoir...@gmail.com on 22 May 2012 at 3:43

GoogleCodeExporter commented 8 years ago
thanks for your comment and links, I got 1.1.0 to work with GWT 2.4 after a few 
changes (especially the GWT reflection library calls), no prob.
And you're actually right, I could also easily migrate my configuration to 
1.1.0, it wasn't that hard in the end, and it only took some mere hours to 
adapt and test the upgrade.

Thanks a lot for your framework, I would have never dared starting a GWT 
project without it.

You can close the ticket if you wish.

Original comment by okayawri...@gmail.com on 23 May 2012 at 12:06

GoogleCodeExporter commented 8 years ago

Original comment by plcoir...@gmail.com on 5 Sep 2013 at 4:33