I said external... meaning every non JDK classes. That mean that you need to
inherits GWT lib that you need like this :

        <inherits name='com.google.gwt.user.User'/>
<inherits name="com.google.gwt.i18n.I18N"/>
<inherits name="com.google.gwt.resources.Resources" />

Christian

On Wed, Mar 3, 2010 at 9:25 AM, Christian Goudreau <
[email protected]> wrote:

> 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