Monday, August 29, 2016

Re: remove annotation in gwt compiler process ?

GWT does not run annotation processors; so what exactly do you need to "remove" from "what"?
Do you need GWT to ignore the sources that your processor generated? Then you can:
  • avoid writing the sources to disk (do not pass the -d argument to JavaC)
  • avoid passing the generated sources destination directory to GWT on the classpath
  • annotate the generated code with @GwtIncompatible where appropriate (only the annotation "simple name" matters, whichever the package it's in; GWT provides

On Monday, August 29, 2016 at 12:45:22 AM UTC+2, Marian S wrote:

Im write a annotation processor for  shared package and need remove this in gwt compilation process ?
Im try with "super source"  but I take only error  ......  ( have maybe someone example project for "super source " ?) 
e.g. expected package not the same like .........
Im using gwt 2.8 from eclipse !
For moment I comment this for compilation but this is not really solution ! I miss preprocessor like in C or C++ ....

Have someone a ideea ? or solution better as my ?


You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment