This seems to work - I created an extra module file in my project:

  MyProject.gwt.xml
  MyProjectAdmin.gwt.xml // added this one

this gives me two compiled outputs, the second one I use in an admin
page like MyProjectAdmin.html. The only thing that needs to be changed
is that the <servlet-mapping> definitions in web.xml has to have an
additional <url-pattern> entry added with the name of the extra module
(if you want to use that servlet from your other module that is).

Thanks,
Mark

On Sep 6, 11:38 am, markww <[email protected]> wrote:
> Hi,
>
> I've created a project which uses google app engine for the back-end.
> I wanted to create an admin UI on a separate page:
>
>   MyProject.html // entry point for public
>   MyProjectAdmin.html // for admin only
>
> Is it possible to have one project compile out to two separate js
> files, one where I have only my public stuff, the second used only for
> the admin? I don't want to mix any of the admin and public code, and
> was hoping that there's a way to completely separate the two, within
> the same project?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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