gino1234 / wogwt

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

Upgrade with gwt 2.5 #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I upgrade wogwt with gwt 2.5.0

Developpemnt is ok, On chrome/FF/android application run correctly. But on 
iPad, application has now a stange behavior : I have to touch many times 
Widgets (Button,CheckBox, DisclosurePanel etc) before they react.

A plain gwt 2.5.0 doesnot have this problem so I guess there is something wrong 
on my upgrade.

I did the following :

Remove everithing in /Library/Frameworks/WOGWT.framework/Resources/Java except 
wogwt.jar and wogwt-emulation.jar
Copy all jar from the sdk 2.5.0 installed on eclipse.

Change the Info.plist accordingly
    <key>NSJavaPath</key>
    <array>
        <string>gwt-api-checker.jar</string>
        <string>gwt-codeserver.jar</string>
        <string>gwt-dev.jar</string>
        <string>gwt-elemental.jar</string>
        <string>gwt-incubator.jar</string>
        <string>gwt-servlet-deps.jar</string>
        <string>gwt-servlet.jar</string>
        <string>gwt-soyc-vis.jar</string>
        <string>gwt-user.jar</string>
        <string>requestfactory-apt.jar</string>
        <string>requestfactory-apt-src.jar</string>
        <string>requestfactory-client.jar</string>
        <string>requestfactory-client-src.jar</string>
        <string>requestfactory-client+src.jar</string>
        <string>requestfactory-server.jar</string>
        <string>requestfactory-server-src.jar</string>
        <string>requestfactory-server+src.jar</string>
        <string>validation-api-1.0.0.GA.jar</string>
        <string>validation-api-1.0.0.GA-sources.jar</string>
        <string>wogwt-emulation.jar</string>
        <string>wogwt.jar</string>
    </array>

and wogwt-build.xml for compilation :
                <classpath>
                    <pathelement location="@{srcDir}" />

                                        <pathelement path="@{gwthome}/gwt-user.jar" />
                                        <pathelement path="@{gwthome}/gwt-api-checker.jar" />
                                        <pathelement path="@{gwthome}/gwt-codeserver.jar" />
                                        <pathelement path="@{gwthome}/gwt-elemental.jar" />
                                        <pathelement path="@{gwthome}/gwt-dev.jar" />
                                        <pathelement path="@{gwthome}/gwt-incubator.jar" />
                                        <pathelement path="@{gwthome}/gwt-servlet-deps.jar" />
                                        <pathelement path="@{gwthome}/gwt-servlet.jar" />
                                        <pathelement path="@{gwthome}/gwt-soyc-vis.jar" />
                                        <pathelement path="@{gwthome}/requestfactory-apt.jar" />
                                    <pathelement path="@{gwthome}/requestfactory-apt-src.jar" />
                                        <pathelement path="@{gwthome}/requestfactory-client+src.jar" />
                                        <pathelement path="@{gwthome}/requestfactory-client.jar" />
                                    <pathelement path="@{gwthome}/requestfactory-client-src.jar" />
                                        <pathelement path="@{gwthome}/requestfactory-server+src.jar" />
                                        <pathelement path="@{gwthome}/requestfactory-server.jar" />
                                    <pathelement path="@{gwthome}/requestfactory-server-src.jar" />
                                        <pathelement path="@{gwthome}/validation-api-1.0.0.GA.jar" />
                                    <pathelement path="@{gwthome}/validation-api-1.0.0.GA-sources.jar" />
                    <pathelement path="@{gwthome}/gwt-user.jar" />
                    <pathelement path="@{gwthome}/validation-api-1.0.0.GA-sources.jar" />
                    <pathelement path="/Library/Frameworks/WOGWT.framework/Resources/Java/wogwt.jar" />
                    <pathelement path="/Library/Frameworks/WOGWT.framework/Resources/Java/wogwt-emulation.jar" />
                </classpath>

Any idea what cause the problem on ipad ? Did I forget/mistake something in the 
upgrade ? Is there imcompatibility between wogwt aand gwt2.5 ?

Thanks in advance
Pierre

Original issue reported on code.google.com by pierregi...@gmail.com on 13 Mar 2013 at 7:40

GoogleCodeExporter commented 8 years ago
I've been using GWT 2.5 in WOGWT with no problems.  I just committed the update 
for it.  Regardless, those classes aren't touched by WOGWT so it should behave 
identically to stock.

Original comment by johnth...@gmail.com on 13 Mar 2013 at 3:51

GoogleCodeExporter commented 8 years ago
Thanks John,
I started with WOGWT-0.6.framework.zip (gwt2.3). Do you have plan to release 
soon a framework with the last gwt ?

Original comment by pierregi...@gmail.com on 13 Mar 2013 at 6:34

GoogleCodeExporter commented 8 years ago
I'll see if I can upload a build, but it's not hard to just grab the source and 
build it using WOLips.

Original comment by johnth...@gmail.com on 13 Mar 2013 at 11:25

GoogleCodeExporter commented 8 years ago
Yes it what I did and I was able to create the framework without problem. I 
will test everything ...
Thank you for your help
Pierre

Original comment by pierregi...@gmail.com on 14 Mar 2013 at 6:54

GoogleCodeExporter commented 8 years ago
Same result :

The Ui only with plain gwt 2.5.1 works fine on iPad
The real app with wogwt is slow to react.

Could it be the gwt-incubator,jar that interfere with the last gwt 2.5.1 
classes ?
This jar is not any more in gwt 2.5.1. Is it possible to get rid of it ?

Thanks in advance

Pierre

Original comment by pierregi...@gmail.com on 18 Mar 2013 at 8:51

GoogleCodeExporter commented 8 years ago
gwt-incubator can and should be removed (it's obsolete now), but I think it may 
require some minor code changes.  Also, I think the version of GWT in WOGWT is 
2.5, not 2.5.1 if that makes any difference.

Original comment by johnth...@gmail.com on 23 Mar 2013 at 3:13

GoogleCodeExporter commented 8 years ago
Yes I have seen somme log and table fonctionnality using the gen2 package from 
gwt-incubator.jar.

The last version is 2.5.1 that I want to use for a bug fix. 

Original comment by pierregi...@gmail.com on 26 Mar 2013 at 7:23