Hello Davsket,
I will try your approach this afternoon.
I'm thinking that I can generate the both modules in the same
project, and use the -ignore flag in the WebAppCreator, and in the
web.xml just add the new module, and change the build.xml to reflect
the new module build configurations. I have no problem to build them
together in a WAR file, so maybe this works.
I'll post the results later.
I have another problem, part of the development team uses a Mac OS X,
and other uses Ubuntu 8.10, so need to create a project that can be
shared with those scenarios.
Well let's give it a try...
Thank you very much.
Regards.,
Tercio
On Mar 15, 2009, at 1:51 PM, Davsket wrote:
>
> Hello Tercio,
>
> The problem with webAppCreator is that it replaces the project
> configuration and mix both previous application creators from 1.5.
> Well I haven't do this yet, but according to the theory you can try
> this (just use once the webAppCreator and copy paste):
> 1. Copy the gwt.xml and name it different for the second module, in
> this case create a new class to use it as the entry point.
> 2. In the build.xml duplicate this tasks: a) the gwt compile task
> because you have to compile a new module (this is going to override
> the previous war, so second step) b) the war packaging... here you can
> do this stuff, just generate a second war and name it for example:
> client.war and the other one management.war (this issi because you can
> have two war apps in a ear file) and the server part.. just name it as
> the respective jar, and pack them together in a ear. (be careful with
> the descriptors .xml, but this worked for me in other application).
>
> Other stuff you can do is this: as GWT just generate javascript
> files, so you can put the compilation result in the same war package,
> just you be careful with the servlets definition and its respective
> packaging and be careful with the others module public files and
> generated js, as they are js, you can put them together in the same
> war, and access the as: client.html and admin.html.
>
>
> On Mar 14, 12:37 pm, Tercio <[email protected]> wrote:
>> Hi all!
>>
>> I used to use GWT 1.5 for my applications and now I'm migrating to
>> 1.6
>> M2 for a new project.
>>
>> Well, in 1.5 I used to use the projectCreator to create the Eclipse
>> project and then used the applicationCreator to create my
>> application,
>> but what happens is that my project has 3 parts, a management UI, a
>> client UI and server part. I created all these parts together in one
>> project, but in 1.6 I can't.
>>
>> I used to do this way because all parts of my application were
>> together.
>>
>> Now with webAppCreator it seems to be more difficult, as some files
>> are shared, like web.xml.
>>
>> How to accomplish that?
>>
>> Regards.
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---