I have a separate Eclipse "Utils" project, without importing jars for client side code.
You will need to create a separate *.gwt.xml file in your utils project and inherit this in the gwt.xml file of projects that use your utils. This allows GWT to find the source and compile it in. Make your utils project a required project on the build path. Server side code for me is a bit of an issue. Some one else may have a better solution. At this stage I am restricted to making a jar of the server side code and including it in the war directory. Although, as I am using AppEngine, I suspect I may be able to change my appengine-web-xml file to include this code when deploying - not sure, haven't tried yet. Hope this helps, Geoff On Mar 28, 11:50 pm, Marco Gadaleta <[email protected]> wrote: > Please.. > > On Mon, Mar 28, 2011 at 11:10 AM, Marco Gadaleta > <[email protected]>wrote: > > > Hello everyone, > > I'm trying to create a "project of Utils" for other GWT Project. > > In this "Utils" I can put some code so that does not duplicate it. > > > There is a way to do this if considering that in Util Project could be GWT > > ui code (layoutpanel, button, etc..)? > > > Thx > > -- > > Marco > > -- > Marco -- 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.
