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 support for specifying includes/excludes to limit input sources to which annotation processing should be applied #28

Closed
GoogleCodeExporter opened this issue Mar 18, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
2.0.0

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 Feb 2011 at 12:45

@GoogleCodeExporter
Copy link
Author

Hi 

great suggestion .... i'll plan this feature for next iteraction

Original comment by [email protected] on 22 Feb 2011 at 9:05

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

i've added 2 new configuration properties

<includes><!-- includes pattern , comma separated : default **/*.java-->
<excludes><!-- excludes pattern, comma separated

i've deployed a new 2.0.1-SNAPSHOT release ... could you test and confirm that 
works?

Original comment by [email protected] on 22 Feb 2011 at 7:35

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

Wow, that was quick. Tried includes filtering, it works (unlike same use case 
but with maven compiler plugin and eclipse which has issues [1]). Thanks! 
Although that configuration is a bit different compared to similar 
configurations of core maven plugins - typically includes would allow multiple 
include nested elements; excludes would allow multiple exclude nested elements. 
Not sure what is better.

[1] issue with maven-compiler-plugin and maven eclipse integration
https://bugs.eclipse.org/bugs/show_bug.cgi?id=335036#c1

Original comment by [email protected] on 22 Feb 2011 at 11:33

@GoogleCodeExporter
Copy link
Author

as you say ... follow the standard should be better

i'll update configuration soon

Original comment by [email protected] on 23 Feb 2011 at 8:47

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

i've updated configuration using standard includes/excludes approach.  

No you can use :
<includes>
  <include></include>
  <include></include>  
</includes>

<excludes>
  <exclude></exclude>
  <exclude></exclude>
</excludes>


i've deployed a new 2.0.1-SNAPSHOT release ... could you test and confirm that 
works?

Thx in advance

Original comment by [email protected] on 24 Feb 2011 at 10:57

@GoogleCodeExporter
Copy link
Author

Works for me!

Regards,
Stevo.

Original comment by [email protected] on 25 Feb 2011 at 12:09

@GoogleCodeExporter
Copy link
Author

thx

i've deployed the official release 2.0.1 with this feature

thx again for interest

Regards,
Bartolo

Original comment by [email protected] on 25 Feb 2011 at 8:03

  • Changed state: Fixed

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

No branches or pull requests

1 participant