PDA

View Full Version : GWT module can not compile to js



ductm
10 Nov 2011, 3:53 AM
Hi every one,

I had a litle problem and cant find any person got like that.

I created a gwt module named "Auth" in "myapp" package, the wizard was done with no error.
I saw Auth.html file in war folder with following code:
<script language="javascript" src="myapp.Auth/myapp.Auth.nocache.js"></script>

But when I complied project, the complier did not generate js file of this module within war folder!
How do I tell the IDE need to compile this module to js?

My system: Eclipse Indigo 3.7, GWT2.2 - GXT-2.25, MacOSX 10.6.8.

ductm
10 Nov 2011, 8:23 PM
Hi every one,

I had a litle problem and cant find any person got like that.

I created a gwt module named "Auth" in "myapp" package, the wizard was done with no error.
I saw Auth.html file in war folder with following code:
<script language="javascript" src="myapp.Auth/myapp.Auth.nocache.js"></script>

But when I complied project, the complier did not generate js file of this module within war folder!
How do I tell the IDE need to compile this module to js?

My system: Eclipse Indigo 3.7, GWT2.2 - GXT-2.25, MacOSX 10.6.8.

This is my fault, I forgot add the entry point to the Gwt compiler wizard.