Oh, i see. Thank you! It works.
On Apr 6, 10:06 am, Jason Essington <jason.essing...@gmail.com> wrote:
> That is correct, if your external library is only used on the server
> side (Hibernate, axis, etc) then there is no need to reference it in
> your gwt.xml file.
>
> However, if you do need to use it in your client code then it must
> contain source (.java files) as well as have a gwt.xml file of its
> own, AND be "translatable" (not something that your average java lib is)
>
> -jason
>
> On Apr 4, 2009, at 7:18 AM,Qingwrote:
>
>
>
> > You mean I don't need to add <inherits name='FinancialFookit'/> to the
> > OnlineBanker.gwt.xml?
>
> > On Apr 4, 1:58 am, Vitali Lovich <vlov...@gmail.com> wrote:
> >> Wait, if you only have a dependancy in your server-side code, why are
> >> you trying to integrate the client code?
>
> >> On Sat, Apr 4, 2009 at 2:36 AM,Qing<zq.zhangq...@gmail.com> wrote:
>
> >>> I added FinancialToolkit.gwt.xml into the jar. Doesn't work. do I
> >>> need
> >>> to put this file to the folder of OnlineBanker as well?
>
> >>> On Apr 4, 12:16 am, Nicanor Babula <nicanor.bab...@gmail.com> wrote:
> >>>> Hi,
> >>>> It looks like you have to add to your jar file
> >>>> FinancialToolkit.gwt.xml.
> >>>> This may
> >>>> help:http://roberthanson.blogspot.com/2006/05/how-to-package-gwt-component
> >>>> ......
>
> >>>> On Saturday 04 April 2009 06:49:14Qingwrote:
>
> >>>>> Hi,
>
> >>>>> I'm now using gwt develop my web application. I create a gwt
> >>>>> project
> >>>>> 'OnlineBanker' in command line and import it into eclipse. The
> >>>>> server
> >>>>> side code of OnlineBanker need to use the class in another java
> >>>>> project 'FinancialToolkit'. I export FinancialTookit as a jar
> >>>>> file,
> >>>>> and import it into OnlineBanker by following away:
> >>>>> OnlineBanker->Properties->Java build path-> libraries -> Add
> >>>>> external
> >>>>> Jars
> >>>>> and I add
> >>>>> <inherits name='FinancialFookit'/>into OnlineBanker.gwt.xml
> >>>>> I run it as OnlineBanker-shell, there's error
> >>>>> [ERROR] Unable to find 'FinancialTookit.gwt.xml' on your
> >>>>> classpath;
> >>>>> could be a typo, or maybe you forgot to include a classpath
> >>>>> entry for
> >>>>> source?
>
> >>>>> Any advice?
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---