Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add - any annotation processing #4

Merged
merged 1 commit into from
Oct 27, 2014
Merged

add - any annotation processing #4

merged 1 commit into from
Oct 27, 2014

Conversation

lanwen
Copy link
Contributor

@lanwen lanwen commented Oct 23, 2014

also add e2e tests module to simplify debugging of annotation processor, use props from props-loader 1.5

  • Can use any other annotation to process if override system property matcher.gen.annotations.
  • Can use multiply annotations comma-separated.

For example we have @Expose annotation (com.google.gson.annotations.Expose) by Gson
and want to generate matchers for fields with such annotation.

We can now:

  • Run compilation with
mvn clean install -Dmatcher.gen.annotations=ru.yandex.qatools.processors.matcher.gen.annotations.GenerateMatcher,com.google.gson.annotations.Expose
  • Or put in classpath matchers.gen.properties with content
 matcher.gen.annotations=ru.yandex.qatools.processors.matcher.gen.annotations.GenerateMatcher,com.google.gson.annotations.Expose

also add e2e tests module to simplify debugging of annotation processor, use props from props-loader 1.5
lanwen added a commit that referenced this pull request Oct 27, 2014
@lanwen lanwen merged commit 94c6d54 into master Oct 27, 2014
@lanwen lanwen deleted the any_annotation branch October 27, 2014 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant