Ummm... I've never launched hosted mode from an ant file.  My recommendation
would be to create a sample project, import it into Eclipse & look at the
parameters you need.  From what I remember of the top of my head, all you
have to give when launching HostedMode is is the fully-qualified name of
your module.

Then localhost/module-alias should hit your page (assuming that you've
configured your web.xml like webAppCreator does).

On Sun, Mar 8, 2009 at 3:15 PM, Doru <[email protected]> wrote:

>
> Hi,
>
>  I have an old GWT 1.5 project which I am trying to migrate to 1.6
>
> In build.xml how can I specify a web.xml file to the
> com.google.gwt.dev.HostedMode?
>
> Thanks,
> Virgil
>
> On Mar 8, 7:59 pm, Vitali Lovich <[email protected]> wrote:
> > If you used the webAppCreator, you should get a sample web.xml in your
> war/
> > directory.  Servlets are no longer defined in your gwt.xml but rather
> > through the web.xml file.
> >
> > On Sun, Mar 8, 2009 at 9:56 AM, Doru <[email protected]> wrote:
> >
> > > Hi,
> >
> > >     I am trying to use the new com.google.gwt.dev.HostedMode from an
> > > ANT build script. I have a problem and I get
> > > [WARN] Module declares 2 <servlet> declaration(s), but a valid
> > > 'web.xml' was not found.
> >
> > > How can I declare the web.xml when I use the new HostedMode in GWT1.6
> >
> > > Thanks,
> > > Doru
> > >http://java-hobby.blogspot.com/
> >
> >
> >
>

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