The problem is: I have some pages with css and images who are linked
eg: /myapp/images/image.jpg, but running under GWT plugin the path to
same image is /images/image.jpg.

Under production I can't run the application in root directory from
the server.

On 9 maio, 02:56, Manuel Carrasco Moñino <man...@apache.org> wrote:
> This is the expected behavior of Google Eclipse Plugin. It runs
> without context because it is able to handle various app contexts  at
> same time and it only search for .html files to startup in the war/
> folder.
> Said that, you have either:
> 1.- Move your MyApp.html file to the root of your war folder, edit it,
> and replace myapp.nocache.js by myapp/myapp.nocache.js
> 2.- Leave MyApp.html in the public directory of your app, and add the
> parameter -startupUrl myapp/MyApp.html to the launcher:
> Run -> Run Configurations -> Web Application -> MyApp -> Arguments ->
> Program Arguments.
>
> -Manolo
>
>
>
> On Fri, May 7, 2010 at 8:17 PM, Antonio <antonio...@gmail.com> wrote:
> > I need to run my GWT application with custom context root.
>
> > When i run the project plugin start server with empty context root eg:
> >http://127.0.0.1:8888/MyApp.html?gwt.codesvr=127.0.0.1:9997
>
> > I need this:
> >http://127.0.0.1:8888/myapp/MyApp.html?gwt.codesvr=127.0.0.1:9997
>
> > The application must run onhttp://127.0.0.1:8888/myappinstead of
> >http://127.0.0.1:8888
>
> > I'm using GWT 2.0.3 and lastest plugin.
>
> > thx.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://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 google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to