Re: What is the correct Eclipse project layout/configuration when using GIN
Anyone? On Sun, Nov 14, 2010 at 8:44 AM, Jeff Schwartz wrote: > Hi all, > > I am 'slowly' converting an existing GWT 2.1 project over to use MVP. I > want to follow the related best practice of using GIN injection on the > client side and GUICE injection on the server side for binding. My question > is more how related than why related. > > Eclipse projects by default use builders and not ANT to build projects > which got me thinking about where are the correct places to place the GIN > and GUICE jars. I gather that as GUICE is used on the server and that it > should therefore reside in the war/WEB-INF/lib folder and that it has to be > included in the build path which is easy to do with Eclipse. However, as GIN > is only going to be used on the client and it's 'magic' is actually > performed at compile time I am not sure how to do this using Eclipse. I > gather that the gin jar shouldn't be placed in war/WEB-INF/lib, that it > needs to reside somewhere else but I cannot find any documentation that > specifically states where it should reside and how to configure Eclipse to > use it during the build process. > > Any ideas? Thanks in advance. > > *Jeff Schwartz* > > -- *Jeff Schwartz* -- 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-tool...@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.
What is the correct Eclipse project layout/configuration when using GIN
Hi all, I am 'slowly' converting an existing GWT 2.1 project over to use MVP. I want to follow the related best practice of using GIN injection on the client side and GUICE injection on the server side for binding. My question is more how related than why related. Eclipse projects by default use builders and not ANT to build projects which got me thinking about where are the correct places to place the GIN and GUICE jars. I gather that as GUICE is used on the server and that it should therefore reside in the war/WEB-INF/lib folder and that it has to be included in the build path which is easy to do with Eclipse. However, as GIN is only going to be used on the client and it's 'magic' is actually performed at compile time I am not sure how to do this using Eclipse. I gather that the gin jar shouldn't be placed in war/WEB-INF/lib, that it needs to reside somewhere else but I cannot find any documentation that specifically states where it should reside and how to configure Eclipse to use it during the build process. Any ideas? Thanks in advance. *Jeff Schwartz* -- 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-tool...@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.