Wednesday, November 2, 2016

Re: Problem with GWT 2.8, Ant, and Eclipse

Seems you can set classloading priority in eclipse so I reordered things and now it is fine.  Sorry for the trouble (and the typo on "its"!).

On Wednesday, November 2, 2016 at 11:22:47 AM UTC-7, rjcarr wrote:
I have a really old GWT project that I just tried to compile with gwt 2.8.  The compilation was fine (I use ant), but when I opened up eclipse, and pointed it to the new gwt libraries, I am getting compile errors like this:

    org.apache.tools.ant.types.FileSet: Can only iterate over an array or an instance of java.lang.Iterable

Looking at the ant api for the version I have and fileset is definitely iterable.  Then I try removing the and library and I notice it's classes are still available.  It seems gwt-dev.jar is bundling ant, and apparently a really old version where filesets aren't iterable among other old errors.

This is really strange because I never had a problem with gwt 2.7.  Any suggestion on how to fix this other than reverting back to 2.7? 

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment