GWT Compiler does not compile anything

As I understand it when a web module contains a gwt module, in #5557 the gwt compiler is to compile the client code into the exploded directory. It doesn't happen here. When rebuilding a project I briefly see a flash of "GWT compile" but cannot find any results of this compilation. Besides it's far too fast. The normal gwt compile triggered directly from an Ant file takes some 1 or two minutes to complete. Looks like the integrated mechanism doesn't find anything to compile.

Anyone outthere who got this running?

Cheers,
Robert

BTW: Using a Powerbook with MacOSX 10.4.7 with the Linux version of GWT 1.0.21

7 comments
Comment actions Permalink

Hello Robert,

Are you sure that path to GWT SDK is specified correctly in Settings | Google
Web Toolkit
and your GWT module is located under a source root of the web module?

As I understand it when a web module contains a gwt module, in #5557
the gwt compiler is to compile the client code into the exploded
directory. It doesn't happen here. When rebuilding a project I briefly
see a flash of "GWT compile" but cannot find any results of this
compilation. Besides it's far too fast. The normal gwt compile
triggered directly from an Ant file takes some 1 or two minutes to
complete. Looks like the integrated mechanism doesn't find anything to
compile.

Anyone outthere who got this running?

Cheers,
Robert
BTW: Using a Powerbook with MacOSX 10.4.7 with the Linux version of
GWT 1.0.21



0
Comment actions Permalink

Yes, when I created the GWT module, the right gwt-user.jar was added to the module libraries and when I define a new service, it's mapping is written into my web.xml. So I seem to have the the gwt install directory specified correctly and the plugin is aware of the web module the gwt module is contained in.
The GWT module is not inside the default package. There is also the package-path that contains the company domain before the module begins.
During rebuild I very shortly see "compiling GWT module com.mycompany.mygwtmodule.MyGWTModule", but it's far too short for a gwt-compile and doesn't produce anything visible.
Maybe it doesn't work an MacOSX. I'll try it on a Windows box at the end of this week.

Cheers,
Robert

0
Comment actions Permalink

Hello Robert,

Yes, when I created the GWT module, the right gwt-user.jar was added
to the module libraries and when I define a new service, it's mapping
is written into my web.xml. So I seem to have the the gwt install
directory specified correctly and the plugin is aware of the web
module the gwt module is contained in.

The GWT module is not inside the default package. There is also the
package-path that contains the company domain before the module
begins.

During rebuild I very shortly see "compiling GWT module
com.mycompany.mygwtmodule.MyGWTModule", but it's far too short for a
gwt-compile and doesn't produce anything visible.

Maybe it doesn't work an MacOSX. I'll try it on a Windows box at the
end of this week.

Cheers,
Robert


Looks like there were errors reported by GWT compiler but not shown by IDEA.
Next EAP build will contain fix for this problem and IDEA will show all error
messages occured during GWT compilation.


0
Comment actions Permalink

Thanks, that should help.
Though the compile started through Ant runs without problems. Very strange.

0
Comment actions Permalink

OK, under Windows XP it works flawlessly, but under Mac OSX with the Linux version of GWT it doesn't work at all and I also don't get any error messages from the compiler.

0
Comment actions Permalink

It doesn't compile anything under linux either.

0
Comment actions Permalink

OK, so now we know it only works under XP, I hope we'll get a fix for the rest.

Robert

0

Please sign in to leave a comment.