Thanks a lot for the previous response. Can someone please answer my questions below.
As I am new to GWT & development, I have done the following based on current App gwt1.7.0
1) I have downloaded standalone GWT SDK 2.7.0
2) Current build.xml file using HostedMode as follows
<target name="hosted" depends="javac" description="Run hosted mode">
<java failonerror="true" fork="true" classname="com.google.gwt.dev.HostedMode">
Should I change the above lines to SuperDevMode ?
3) Current App gwt 1.7.0 is using some GWT jar files under directory \WebContent\WEB-INF\lib. I have replaced these gwt jars (gwt-user, get-servlet, gwt-servlet-deps) with the latest 2.7.0 jars.
This directory also has jdom, jettison-1.0.1, json, gwtext & gwtextux jars. Do I have to replace all these with the latest jars or only the gwtext & gwtextux jars ?
I found gwtext-2.0.5 at http://gwt-ext.com/download/. Is this the latest and the right one for migrating to gwt 2.7.0 ?
I found gwtextux.jar at http://www.java2s.com/Code/Jar/CatalogJar.htm
4) My current xxxxx.gwt.xml file code
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd ">
<module>
<inherits name="com.google.gwt.user.User" />
<inherits name='com.google.gwt.json.JSON' />
<!-- Inherit the GWTEXT stuff.-->
<stylesheet src="js/ext/resources/css/ext-all.css" />
<script src="js/ext/adapter/ext/ext-base.js" />
<script src="js/ext/ext-all.js" />
<inherits name="com.gwtext.GwtExt" />
<inherits name="com.gwtextux.GwtExtUx" />
<!-- RPC service servlet declarations -->
<servlet path="/xxxxx.rpc" class="com.acg.mmsea.server.service.XxxxxServiceImpl" />
<servlet path="/codeDecode.rpc"
class="com.acg.xxxxx.server.service.XxxxxCodesDecodeServiceImpl" />
<!-- Specify the app entry point class. -->
<entry-point class='com.acg.xxxxx.gwt.client.Xxxxx' />
</module>
In the above code I have modified/changed the first line FROM
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd ">
TO
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.7.0//EN" "https://gwt.googlesource.com/gwt/+/2.7.0/distro-source/core/src/gwt-module.dtd ">
Is this modification correct?
Is there anymore changes I need to do in this xxxxx.gwt.xml file ?
Thanks a lot in advance for your time.
On Wednesday, December 17, 2014 9:48:36 AM UTC-5, ssg wrote:
-- As I am new to GWT & development, I have done the following based on current App gwt1.7.0
1) I have downloaded standalone GWT SDK 2.7.0
2) Current build.xml file using HostedMode as follows
<target name="hosted" depends="javac" description="Run hosted mode">
<java failonerror="true" fork="true" classname="com.google.gwt.dev.
Should I change the above lines to SuperDevMode ?
3) Current App gwt 1.7.0 is using some GWT jar files under directory \WebContent\WEB-INF\lib. I have replaced these gwt jars (gwt-user, get-servlet, gwt-servlet-deps) with the latest 2.7.0 jars.
This directory also has jdom, jettison-1.0.1, json, gwtext & gwtextux jars. Do I have to replace all these with the latest jars or only the gwtext & gwtextux jars ?
I found gwtext-2.0.5 at http://gwt-ext.com/download/. Is this the latest and the right one for migrating to gwt 2.7.0 ?
I found gwtextux.jar at http://www.java2s.com/Code/
4) My current xxxxx.gwt.xml file code
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.
<module>
<inherits name="com.google.gwt.user.
<inherits name='com.google.gwt.json.
<!-- Inherit the GWTEXT stuff.-->
<stylesheet src="js/ext/resources/css/ext-
<script src="js/ext/adapter/ext/ext-
<script src="js/ext/ext-all.js" />
<inherits name="com.gwtext.GwtExt" />
<inherits name="com.gwtextux.GwtExtUx" />
<!-- RPC service servlet declarations -->
<servlet path="/xxxxx.rpc" class="com.acg.mmsea.server.
<servlet path="/codeDecode.rpc"
class="com.acg.xxxxx.server.
<!-- Specify the app entry point class. -->
<entry-point class='com.acg.xxxxx.gwt.
</module>
In the above code I have modified/changed the first line FROM
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.
TO
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.7.0//EN" "https://gwt.googlesource.com/
Is this modification correct?
Is there anymore changes I need to do in this xxxxx.gwt.xml file ?
Thanks a lot in advance for your time.
On Wednesday, December 17, 2014 9:48:36 AM UTC-5, ssg wrote:
Hi all,
I am new to GWT. Need your input. Current app is using GWT 1.7.0
Is it better to migrate to gwt2.6.1 because it will be much smoother with less hurdles than migrating to gwt2.7.0 since I am new to gwt ?
(OR)
Is it better to migrate to gwt2.7.0 even though I am new to gwt and the hurdles I face in migrating will be same as gwt2.6.1 ?
Any help would be greatly appreciated.
Thank you.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment