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
> > For more options, visit this group athttp://
groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit this group athttp://
groups.google.com/group/google-web-toolkit?hl=en.