Re: Hiding server-side code from the client?

2010-02-06 Thread Axel Rauschmayer
> Please start this issue: > > http://code.google.com/p/google-web-toolkit/issues/detail?id=3769&q=S... "start" = "star", right? I just did so. Hopefully, if there are enough stars, this will make it into a future GWT version. -- You received this message because you are subscribed to the Google

Re: Hiding server-side code from the client?

2010-02-06 Thread Nathan Wells
Please start this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3769&q=ServerOnly On Feb 5, 5:00 pm, Gal Dolber wrote: > Yes... I just had a case of that... now I understand your problem > > 2010/2/5 Axel Rauschmayer > > > > > The problem is that the GWT compiler will comp

Re: Hiding server-side code from the client?

2010-02-05 Thread Gal Dolber
Yes... I just had a case of that... now I understand your problem 2010/2/5 Axel Rauschmayer > The problem is that the GWT compiler will complain about server-only > classes that the "dual" code uses. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web

Re: Hiding server-side code from the client?

2010-02-05 Thread Axel Rauschmayer
The problem is that the GWT compiler will complain about server-only classes that the "dual" code uses. -- 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 unsubscrib

Re: Hiding server-side code from the client?

2010-02-04 Thread Gal Dolber
I am 99% sure that if you don't use the method on the client the GWT compiler will erase it. Regards 2010/2/4 Axel Rauschmayer > Use case: a data object has some methods that only the server needs. > > I'm currently using my own tool to create patched versions of a class > with server-only code.

Hiding server-side code from the client?

2010-02-04 Thread Axel Rauschmayer
Use case: a data object has some methods that only the server needs. I'm currently using my own tool to create patched versions of a class with server-only code. It removes methods annotated with @GwtIgnore and places the result so that it overrides the server version whenever GWT is involved. Is