Just launch your Tomcat with -Dgwt.codeerver.port=9876 so that your RPC 
servlets will load the *.rpc serialization policy files from the CodeServer 
(SDM) rather than from disk.
You shouldn't need to compile your app at any time.

On Friday, February 20, 2015 at 7:59:51 PM UTC+1, Blaze wrote:
>
> Hi Jens,
>
> you wore right, this was the actual problem. 
>
> I run a Tomcat server inside Eclipse and dose the redeploy by autoscans, 
> and i guess it also autoredeploy some of the real compiles cosing the 
> problem.
>
> What i have found a bit not logical. If the SDM is started on a clean app 
> for a very first time it dose not produces .rpc mappings, 
> so like that deployed on a external server, app will not work. Which comes 
> to the moment that we have to do a real compile every time a "new" object 
> is used in rpc. 
> Ofcourse if we do this real compiles then we can easy end in this kind of 
> situations. For now I delete everything but the .rpc file and leave rest to 
> be recreated then it works.
>
> Can you give me a bit more inside info on the SDM compile, what is else 
> diff then the normal?
>
> Tnx,
> B
>
> So it
>
> On Friday, February 20, 2015 at 5:01:41 PM UTC+1, Jens wrote:
>>
>> Are you sure you deploy the app.nocache.js file generated by SDM? If you 
>> have done a production compile in the mean time then you might have 
>> deployed a wrong one. Try to delete any existing ./war/<module name> folder 
>> and restart SDM to give it a clean start. Once it is started you can deploy.
>>
>>  
>>
>>> setting -Dgwt.watchFileChanges=false, should force compile every time a 
>>> reload is called, and then see if nothing change dont compile?
>>>
>>
>> No it just changes the way file system changes are detected by SDM. It 
>> forces SDM to scan all files on disk. The default behavior can be 
>> unreliable on some OS.
>>
>>
>> -- J.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to