First, you'd make the module name a variable in your GWT compilation task. Then, it depends on how you work. If you typically only build one project at a time, just specify the module name at run time. If you want to build all of the modules in one run, you could make the GWT compilation task a macro or use <ant-call> to invoke it multiple times. I would suggest that before you get too far into reworking your build system you should determine if separating the application as you intend is really worth the effort. How big is the resulting JS if you compile all three EntryPoints together? How big is each individually?
On Mon, Oct 6, 2008 at 4:29 PM, Kurposkano <[EMAIL PROTECTED]> wrote: > > I guess it seemed like it wouldn't be as simple as that. For instance, > how would I write my ant build file to accommodate for this? I am not > too skilled with ant. I have been looking at other people's build > files and tweaking them until I got it to work for my current GWT > project. > > On Oct 6, 1:32 pm, "Isaac Truett" <[EMAIL PROTECTED]> wrote: > > Yeah, you can create as many module definitions (.gwt.xml files) and > > EntryPoint implementations as you want. What's the problem? > > > > On Mon, Oct 6, 2008 at 2:28 PM, Kurposkano <[EMAIL PROTECTED]> wrote: > > > > > I have a application that requires, at present, three different GUIs. > > > I don't want each user to have to download a javascript file > > > containing all three GUI's. Is there a way to create three different > > > modules. (i.e. three different classes that implement Entry Point) > > > within one project so that they all would be able to access one server? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
