Open nuclearg opened 7 years ago
I wrote a annotation processor which reads raw .java source files to do some work, it works well.
Now because of some reason, I changed to invoke the apt using this plugin, then compilation failed.
FileObject fo = this.processingEnv.getFiler().getResource(StandardLocation.SOURCE_PATH, "", filename);
This statement could not return results but a FileNotFoundException.
Could someone help? Thanks!
Could you give us an example project, that we can test?
I wrote a annotation processor which reads raw .java source files to do some work, it works well.
Now because of some reason, I changed to invoke the apt using this plugin, then compilation failed.
This statement could not return results but a FileNotFoundException.
Could someone help? Thanks!