Ok,

What I really wish to do is create a set of widgets and publish them
as a jar file so others can use them.  How does one setup the jar file
for GWT.  What does the jar file need?

Thanks

On May 7, 8:37 am, "Donald.W.Long" <[email protected]>
wrote:
> When you create a project in eclipse for a widget, do you create a gwt
> project or just a normal java project.
>
> I still can not make the below work, it states can not find
> the ????.gwt.xml file for the widget, even if I add this in the path.
>
> From what I have seen its very hard to create a widget outside your
> normal GWT project.
>
> Has anyone done this before, I am sure they have.
>
> Any documentation on creating a widget for GWT that you would publish
> to others in a jar, that would help a lot.
>
> thanks
>
> On May 6, 8:04 pm, sim123 <[email protected]> wrote:
>
>
>
> > If I am understanding your problem correctly, you are trying to
> > inherit a module.
>
> > This is what I did to inherit another module, when both projects are
> > in my eclipse environment :
>
> > Go to Project Properties > Java Build Path > Libraries > Add External
> > Class Folder > Add source folder of your widget project.
>
> > You could Add the widget project to refer the classes instead of
> > creating and using a jar file.
>
> > I hope it helps.
>
> > On May 6, 5:41 pm, "Donald.W.Long" <[email protected]>
> > wrote:
>
> > > Hi all,
>
> > > I need a bit of help with the following.
>
> > > I am using the latest 1.6.xxxx GWT tools.
>
> > > I created a java project and created a new widget.  I then exported
> > > the widget via eclipse to a jar file.  At this point I then created a
> > > full GWT project and attempted to use the jar file in the project.
>
> > > I can not figure out how to use this jar file in my eclipse GWT
> > > project.  I can make it an external jar file for eclipse and the
> > > eclipse env is happy.  When I try to run the application from eclipse
> > > I get all sorts of errors.
>
> > > I added an inherits in the xml file for the jar file and also added
> > > the jar file to the run classpath.
>
> > > When I launched the program I always get that it can not find the jar
> > > file.
>
> > > How do you use a jar file from another project in a GWT 1.6 project.
>
> > > NOTE: I even tried moving the jar file to the war\WEB-INF\lib and this
> > > did not work.
>
> > > HELP HELP
>
> > > Thanks Donald W. Long- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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