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.ro@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 on http://127.0.0.1:8888/myapp instead 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-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment