Because AspectJ modify .class and GWT need sources to compile.
2011/11/28 Paolo <[email protected]>
> I've try to expose to the client(gwt) an aspectJ method through gwt-
> rpc, but the gwt client can't find the method defined in an aspect.
> The class that i expose implements IsSerializable and only it's method
> are visible to the client interface...the method added by their aspect
> contrariwise no. How i can fix this? thanks in advice.
>
> p.s. i post a little example for more clarity:
>
> this is the class...
>
> public class Example implements IsSerializable{
>
> private String name;
>
> public setName(String name){
> this.name=name
> }
> }
> and this is the aspect...
>
> privileged aspect Example_x{
>
> public int Example.getVersion() {
> return this.version;
> }
> }
> The Example.getVersion() method is unavailable on the client side.
>
> TNX
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.