Hi I am also facing this same problem.
i have a jar file that contains .class files which I need for my project
-- i have a jar file that contains .class files which I need for my project
How do I import them to my GWT project?
On Sunday, May 24, 2009 8:27:24 PM UTC-4, vogella wrote:
On Sunday, May 24, 2009 8:27:24 PM UTC-4, vogella wrote:
Hi,
I included a example description for including external jars / Java
projects into GWT projects (client side) in this tutorial:
http://www.vogella.de/articles/GWT/article.html
Best regards, Lars
On 22 Apr., 18:53, Qing <zq.zhangq...@gmail.com> wrote:
> Oh, i see. Thankyou! It works.
>
> On Apr 6, 10:06 am, Jason Essington <jason.essing...@gmail.com> wrote:
>
> > That is correct, ifyourexternal library is only used on the server
> > side (Hibernate, axis, etc) then there is no need to reference it in
> >yourgwt.xmlfile.
>
> > However, ifyoudo need to use it inyourclient code then it must
> > containsource(.java files) as well as have agwt.xmlfile of its
> > own, AND be "translatable" (not something thatyouraverage java lib is)
>
> > -jason
>
> > On Apr 4, 2009, at 7:18 AM,Qingwrote:
>
> > >Youmean 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, ifyouonly have a dependancy inyourserver-side code, why are
> > >>youtrying to integrate the client code?
>
> > >> On Sat, Apr 4, 2009 at 2:36 AM,Qing<zq.zhangq...@gmail.com> wrote:
>
> > >>> I added FinancialToolkit.gwt.xmlinto 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 likeyouhave to add toyourjar 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]Unabletofind'FinancialTookit.gwt.xml' onyour
> > >>>>>classpath;
> > >>>>>couldbe atypo, ormaybeyouforgottoincludeaclasspath
> > >>>>>entryfor
> > >>>>>source?
>
> > >>>>> Any advice?
>
>
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment