Hi Jim, thanks for pointing this out.
I've opened a bug at
http://code.google.com/p/google-web-toolkit/issues/detail?id=3732 .
A workaround (as mentioned in the bug) is:
Create samples/Showcase/war/WEB-INF/web.xml containing:
--
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app />
--
and then follow the instructions at
http://code.google.com/eclipse/docs/existingprojects.html
jason
On Sun, Jun 7, 2009 at 7:39 AM, JimAmsden <[email protected]> wrote:
>
> I'm just getting started with GWT and wanted to explore the samples.
> I'm using gwt-mac-1.6.4 with eclipse 3.4.2. I have installed the
> google plugin for eclipse, but it doesn't appear to include the
> examples. So I also unzipped gwt-mac-1.6.4 which has the samples
> folder.
>
> However, the samples don't inlcude the eclipse .classpath, .project,
> or <project>.launcher files, so they can't be imported as projects
> into eclipse.
>
> I tried:
>
> ./webAppCreator -ignore -out samples/Showcase
> com.google.gwt.sample.showcase.client.Showcase
>
> and it does add the necessary eclipse files. But webAppCreator seems
> to be creating a different module structure than what was used to
> create the samples. For example, it places another Showcase.java class
> in package com.google.gwt.sample.showcase.client.client. I can import
> this project into eclipse, but it won't compile or run.
>
> google search found some postings on this, but I couldn't find
> anything that sufficiently addressed the problem.
>
> Is there some other way to add the eclipse project files? Am I using
> the wrong moduleName in webAppCreator? Why aren't the eclipse project
> files included in the samples? The README.txt files in the sample
> projects seems to imply the projects were created for import into
> eclipse.
>
> Thanks for the help. I'm looking forward to getting to know GWT.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---