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!
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!