Hi Jim,

I believe the solution here is to just add a -startupUrl parameter to your
Java launch configuration.  In the absence of that parameter, DevMode tries
to guess which HTML host page you want to open, but I don't think it
searches subdirectories.  You can instead tell it exactly which page to open
with an argument like: *-startupUrl /subdir/page.html*

Regarding the "Web Application" launch configuration: there are currently
some incompatibilities between the Google Plugin for Eclipse and typical
Maven usage, so you're probably better off for now continuing to use a
regular Java launch.  However, we're planning on addressing this issue in
the next release of the plugin, so stay tuned.

Keith

On Mon, Jan 18, 2010 at 9:35 AM, Jim Adkins <[email protected]> wrote:

> I'm receiving a "404" status code when attempting to use the GWT 2.0
> Eclipse plug-in.
>
> The project was originally created with GWT 1.7 and used an Eclipse
> "Run Configuration" based on a "Java Application" run type.
>
> I modified the run configuration to use "DevMode" and GWT 2.0 library.
> When I "copy" the DevMode dialog supplied URL into a browser, I
> receive a 404.
>
> I suspect that this is occurring, because our project does not host
> the "<project_name>.hmtl" file directly under the "war" directory, but
> in a sub directory under "war".
>
> We are using Maven2 and are setting a "<gwt.madule.alias>" as well.
>
> I have noticed that all of the documentation for the GWT 2.0 Eclipse
> plugin indicates that the the "Web Application" run type is the
> standard way to designate a GWT launch profile...
>
> Any ideas?
>
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>

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