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 com.google.gwt.core.shared.GwtIncompatible)

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

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 ?

Greeting
Marian


--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment