I have the same requirement. At first, I thought about creating three projects, one that holds all shared functionality in it, and make it into a module that the other two would import, but since we're creating everything simultaneously, it becomes cumbersome (it would work well if we create the shared widgets and functionality first, and then we just use it in the other projects). In this case you end up with three eclipse projects.
However, I'm now thinking that we can get away with simply creating another Entry Point class that will be the Admin entry point, and we compile the application using it for the admin site (files would need to be change for each option--main/admin-- e.g. web.xml, gwt.xml file, etc), but we will have just one eclipse project. After the first release we could split the projects, but doing it this way would speed up development. Does anyone see anything wrong with this approach? In your approach, the problem I see is the conflict you mentioned (.project file), and I'm not sure how you can compile client shared code for both projects. On Nov 6, 3:27 pm, jbdhl <[EMAIL PROTECTED]> wrote: > I want to create a web site together with a separate administration > site. Clearly the two sites will share a lot of code. I create them in > the same dir with the following two commands > > $ applicationCreator com.mycompany.mysite.mainsite.client.MainSite > $ applicationCreator com.mycompany.mysite.adminsite.client.AdminSite > > Would you also do it this way? > > And would you create one or two eclipse projects? (If you would create > two projects there is a problem with the ".project" file - as both > projects would need such a file) > > Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
