Saturday, April 9, 2011

Re: how to integrate eclipse, gwt, maven and gwt designer

I just came across this from another angle.. the problem is that
WindowBuilder 8.1.1 is not
compatible with GWT 2.2. I got this response below from the Window
Builder support system..


Please see the GWT 2.2.0 release notes...

http://code.google.com/webtoolkit/release-notes.html#Release_Notes_Current

Uninstall GWT Designer 8.1.1 (which is not compatible with GWT 2.2)
and use the version of GWT Designer integrated with GWT/GPE 2.2. To
uninstall, go to "Help > About > Installation Details > Installed
Software", select all of the GWT Designer v8.1.1 components
(everything with a 8.1.1 version tag), and click "Uninstall".

On Mar 7, 3:32 am, tanteanni <tantea...@hotmail.com> wrote:
> at the moment i am able to generate and launch the gwt-starter app.
> with both webappcrator (-maven), and "mvn archetype:generate    ...   -
> DarchetypeVersion=2.2.0" (main difference is the location
> of ..gwt.xml)
>
> both make problems (http://groups.google.com/group/codehaus-mojo-gwt-
> maven-plugin-users/browse_thread/thread/5529e7636b704686/,http://code.google.com/p/google-web-toolkit/issues/detail?id=5673)
>
> for both problems workarounds are available.
>
> but with neither i get gwt-designer to work. i allways get:
>
> " Error loading module(s).
>
> GWT Designer can't load a module either because there is not enough
> heap space available for Eclipse, or some other module or internal
> error has occurred. The GWT log at $project_dir/.gwt/.gwt-log has the
> following error messages:
>
>       [ERROR] Element 'property-provider' beginning on line 75
> contains unexpected attribute 'generator'
>       [ERROR] Failure while parsing XML
>       [ERROR] Unexpected error while processing XML
>    [ERROR] Line 38: Unexpected exception while processing element
> 'inherits'
>    [ERROR] Failure while parsing XML
>    [ERROR] Unexpected error while processing XML
> [ERROR] Line 4: Unexpected exception while processing element
> 'inherits'
> [ERROR] Failure while parsing XML
> [ERROR] Unexpected error while processing XML
>
> Please increase the heap size and/or check your $project_dir/.gwt/.gwt-
> log for any other GWT-specific errors."
>
> since i run eclipse with -Xmx1024m it shouldn't be the heap size? the
> error in the log-file mentioned begins with:
> "
>       Loading inherited module 'com.google.gwt.safehtml.SafeHtml'
>          Module location: jar:file:/C:/Dokumente%20und%20Einstellungen/
> stl1335/.m2/repository/com/google/gwt/gwt-user/2.2.0/gwt-
> user-2.2.0.jar!/com/google/gwt/safehtml/SafeHtml.gwt.xml
>          Loading inherited module 'com.google.gwt.regexp.RegExp'
>             Module 'com.google.gwt.regexp.RegExp' has already been
> loaded and will be skipped
>       [ERROR] Element 'property-provider' beginning on line 75
> contains unexpected attribute 'generator'
>       [ERROR] Failure while parsing XML
> com.google.gwt.core.ext.UnableToCompleteException: (see
> "project_dir/.gwt/.gwt-log" for details.)
>         at
> com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedAttribute(DefaultSchema.java:
> 68)
>         at
> com.google.gwt.dev.util.xml.Schema.onUnexpectedAttribute(Schema.java:
> 80)
>         at
> com.google.gwt.dev.util.xml.Schema.onUnexpectedAttribute(Schema.java:
> 80)
>         at com.google.gwt.dev.util.xml.ReflectiveParser
> $Impl.startElement(ReflectiveParser.java:224)
> "
> the hole trace is very long - i will add it on demand. i set in
> preferences->windowbuilder->gwt the path to gwt2.2 (tried path to gwt
> eclipse installation and path to gwt in maven repo) and set "Web
> folder name" to src/main/webapp. But these setting seem to make no
> difference (same errors with default settings).
>
> So how to get an eclipse/maven/gwt project with working gwt-designer?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate