I found my answer.

I packaged my annotation and processor as a GWT module and inherited
it in my app, but only put the source of the annotation class (and not
the processor) on the GWT compiler classpath.

On Aug 18, 10:03 am, Anthony Homan <[email protected]> wrote:
> Hello everybody,
>
> I built a @GenDAO annotation processor modeled after the GWTP
> annotation processors.  The annotation works great, and when I create
> a new com.companyx.shared.domain domain object annotated with @GenDAO,
> a corresponding com.companyx.server.domain DAO object is code
> generated for me.
>
> However, when I try to GWT compile my project, the GWT compiler
> complains that the com.companyx.annotation.GenDAO annotation cannot be
> resolved to a type.  Now, this annotation is only for code
> generation...I just want the GWT Compiler to ignore it.  No matter
> what I do, the compiler seems to want to find the source code for this
> annotation, which of course is not possible or desirable since it uses
> non-JRE emulation classes and isn't needed by the client side anyway.
>
> What am I doing wrong?  How do I get the GWT Compiler to ignore my
> annotation?
>
> Thanks for any help...I've wasted a full day's development on this and
> just can't get past it.
>
> Anthony

-- 
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.

Reply via email to