Hi All,

Just wanted to share my experience because I've got things working.

I have 2 eclipse projects:

1) webgwt - main app
2) dtos - contains only dtos

Both projects have *.gwt.xml files configured as per the google
documentation:

http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideModuleXml

To get this working in HostedMode I did the following:

1) added the root src folder to the 'Run Configuration' of webgwt
under the 'User Entries' of the 'classpath' tab
2) in the 'Project Properties' of webgwt I added the output folder of
'dtos' to the project libraries: 'Libraries' -> 'Add Class Folder' ->
Folder
3) back in 'Run Configuration' -> 'User Entries', I made sure that the
src entries was above the output folder.
4) updated the compile.cmd to include the path to the 'dtos' src,
which in my case was '..\dtos\src'
     - obviously this is only needed when compiling the code.

I did NOT add the 'dtos' to the 'Projects' tab of webgwt.

Hope this helps.

Cheers,
Dan.

On May 17, 8:37 pm, Salvador Diaz <[email protected]> wrote:
> Hi Tim,
>
> > But then I can't choose the package name I want, correct?
>
> No, you're wrong, you can choose whatever package name you want, as
> long as you specify in your module definition which one it is. Read
> the following section of the developer's 
> guide:http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects....
> And take a look at the 3rd bullet point of the section called "XML
> Element reference"
>
> Hope that helps,
>
> Salvador
>
> On May 16, 10:16 pm, Tim McCormack <[email protected]> wrote:
>
>
>
> > On May 15, 9:15 pm, "Donald.W.Long" <[email protected]>
> > wrote:
>
> > > First lets look at the depent project.
>
> > > You must create this project as a GWT project.
>
> > But then I can't choose the package name I want, correct? It'll be
> > something.client, right?

--~--~---------~--~----~------------~-------~--~----~
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