Re: Project setup that allows working with both hosted mode and web mode side by side?

2009-07-29 Thread rintcius
I solved the issue. This happened because I am using a different module for development to speed up compilation in web mode. Something like this: module rename-to='myModule' inherits name='my.company.gwt.MyModule'/ set-property name=user.agent value=gecko / set-property name=locale

Re: Project setup that allows working with both hosted mode and web mode side by side?

2009-07-26 Thread Juraj Vitko
I don't know if this is the same problem, but I have to define my service as (for example): MyService.java: @RemoteServiceRelativePath(rpc) public interface MyService extends RemoteService { } web.xml: servlet servlet-namerpc/servlet-name

Re: Project setup that allows working with both hosted mode and web mode side by side?

2009-07-25 Thread rintcius
Hi Jon and Juraj, Thanks for your suggestions. @Jon I am using eclipse and jetty. Can you also use the front end in web mode apart from hosted mode? I am getting the same exception when I try with the -noserver option. The reason I would like web mode is because of Firebug so I can see what's

Project setup that allows working with both hosted mode and web mode side by side?

2009-07-22 Thread rintcius
Hi, I am looking for a project setup that allows me to work easily with both hosted mode and web mode (including RPC). I am getting the exception below, whenever I start up hosted mode after I have started it in web mode (i.e. war/myModule directory contains the compiled code for web mode). If I

Re: Project setup that allows working with both hosted mode and web mode side by side?

2009-07-22 Thread JonJ27
Hi Rintcius What IDE are you using and what is your J2EE contianer? I managed to use the -noserver -startupURL options... This allowed me to get my back end (services) debuggable on my servlet container (in this case websphere, which had already been started) and the front end in hosted mode.