You use inherit when you need to add an external library to your project.
GWT compiler doesn't include code that are not included in your
project.gwt.xml file. So even if  you import them, that part of code will
not be transformed to JS at compile time.

So you need both.

Christian

On Wed, Mar 3, 2010 at 8:47 AM, Russ <[email protected]> wrote:

> Hi,
> What is the difference between using the <inherits name="xyz"> in the
> project.gwt.xml file and imports in the Project.java file? When do I
> use which?
>
>
> Thank you,
> -Russ
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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