Yes you are right for the client side part, but in case of server side, you
can't add any jar file with the <inherits> tag, it has to be a gwt module
jar file which contains .gwt.xml file.

Also the jars that you include is only for the client side nothing to do
with the server side.

Abdullah

On Wed, Sep 29, 2010 at 1:17 PM, Will <[email protected]> wrote:

> Thanks Guys...
>
> So would I be right in saying.. any client side jars that I use would
> have to added to build path AND they would require a <inherits> entry
> but any server side jars would not / should not be added with a
> <inherits> tag although this would not actually break anything....just
> slow down the GWT Compiler?
>
> Thanks,
> W
>
> On Sep 29, 8:07 am, Daniel Kurka <[email protected]> wrote:
> > GWT Compiler does not use the whole java classpath for the sources that
> will
> > be translated to javascript. (There would be a lot of not translatable
> > classes). So by using the inherit tag you tell the compiler which classes
> > exactly need to be translated to javascript
> >
> > - Daniel
> >
> > 2010/9/29 Abdullah Shaikh <[email protected]>
> >
> > > Adding jar on the build path helps eclipse for code completion and
> compile
> > > errors, while adding the <inherits> in .gwt.xml file is for the gwt
> compiler
> > > to know that it needs to include the specified gwt module.
> >
> > > Abdullah
> >
> > > On Wed, Sep 29, 2010 at 12:17 AM, Will <[email protected]>
> wrote:
> >
> > >> Hi,
> >
> > >> Beginner question:
> >
> > >> What is the difference between adding the GWT jar to my Eclipse build
> > >> path and the <inherits> functionality in the myapp.gwt.xml <inherits
> > >> name='com.google.gwt.user.User'/>
> >
> > >> What does the <inherit> achieve that I don't get with having the .jar
> > >> on my build path..
> >
> > >> Thanks,
> > >> W
> >
> > >> --
> > >> 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]>
> <google-web-toolkit%[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]<google-web-toolkit%[email protected]>
> <google-web-toolkit%[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]<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