Tuesday, May 13, 2014

Re: How to count total lines of code of a GWT project?

i got gwt-dev.jar (the 2.5 version) in lib folder, now I just copy gwt-dev.jar of  2.6 version & I got no error. Thank you very much for your info.

On Tuesday, May 13, 2014 10:42:56 PM UTC+10, Thomas Broyer wrote:


On Tuesday, May 13, 2014 1:55:31 PM UTC+2, Tom wrote:
tNo, the message saying that JRE 6 or 7 & I got JRE 6 so it will be fine.

I just fixed & not sure it's ok. I right-click myProject--> Google-->Web ToolKit Setting-->Java Build Path --> "GWT SDK " --> click Edit--> select GWT 2.6.0

ANd now the error gone.

Only saw these warning:

[WARN] Server class 'org.eclipse.jetty.servlet.listener.ELContextCleaner' could not be found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry 'file:/C:/Users/eclipse-jee-juno-SR1-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar' to the web app classpath for this session
   For additional info see: file:/C:/Users/henry/eclipse-jee-juno-SR1-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/doc/helpInfo/webAppClassPath.html

This is a serious warning?

You said that we DO NOT need to deploy gwt-dev.jar so we don't need to include gwt-dev.jar into lib. Is that correct?

Yes; and you should update to 2.6.1 as it contains fixes around this warning.
(and no, it's apparently not yet available as an Eclipse plugin, and I have no idea when it'll be)
 

2nd before I used GWT2.5, but after reinstall GWT Now I saw GWT2.6 & Now I am using GWT 2.6 . GWT2.6 need Java 7 or Java 6 is OK?

IIRC, GWT 2.6 was planned to support Java 6 but actually needs Java 7. That's only about the GWT compiler though, you can use Java 6 on your server.
I haven't checked how GWT 2.6.1 was built and what it actually requires.

I am using JRE 6 at this moment.

Any reason for using an outdated and unsupported version? Why aren't you using the latest Java 7 or Java 8?

--
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