stephanenicolas / boundbox

BoundBox provides an easy way to test an object by accessing all its fields, constructor and methods, public or not. BoundBox breaks encapsulation.
229 stars 19 forks source link

Using with another annotation processor #24

Closed WonderCsabo closed 10 years ago

WonderCsabo commented 10 years ago

I am using AndoidAnnotations which for my production code, which is an annotation processor, and generates the .java files to target/generated-sources/annotations, and these are built into my app. The problem is that boundbox also uses this folder to generate test code. Is there any way to separate them so my app does not catch up generated classes?

WonderCsabo commented 10 years ago

Since i opened this issue i learned that maven does generate code to another directory for test generated sources. It is also possible in Eclipse to generate test code to a different folder, with m2e-apt and using the maven-processor plugin.