Hi, thanks for you answer.
I want "remove" annotation or override with dummy annotation for gwt
compilation !
I have a Object with @myannotation in shared folder for server and client (
need to known on both sides ...)
like:
import myprocessor.annotation
@MyAnnotation
class TestPerson {
blaa....
}
for GWT compilation need this "import" and @MyAnnotation to "ignore" or
override with dummy annotation !
I think solution is define dummy @MyAnnotation for gwt process ?
I hope now is more clearly !
Thanks, Marian
Am Montag, 29. August 2016 18:00:51 UTC+2 schrieb Thomas Broyer:
>
> 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
>
> <http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/shared/GwtIncompatible.html>
> )
>
>
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.