>
> I just note this today, In the attached file, {project}.gwt.xml is under 
> {project} folder, but when after package, this {project}.gwt.xml is not 
> presented in the .war!! but the war can successfully deploy and run, why 
> the war can still run and why the output war has no {project}.gwt.xml file?
>

The gwt.xml file is only for the GWT compiler as it tells the GWT compiler 
what to compile and how to do code generation / deferred binding. Once your 
app is compiled to JavaScript you don't need that file anymore to run the 
app and thats why you don't need it inside your war.

You only need gwt.xml files inside a jar if you plan to use this jar as 
library for a different GWT app and you want to inherit some module.gwt.xml 
files from it. In that case the jar must contain the source java files + 
module.gwt.xml (class files are not needed as the GWT compiler works on 
Java source files).

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Rm77_q-IhdgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to