This discussion is archived
1 Reply Latest reply: Dec 18, 2012 7:56 AM by 980566 RSS

Filer.createResource does not work

980566 Newbie
Currently Being Moderated
Hello, I started use the annotation processing and it worked pretty well as long as I create *.java files with Filer.createSourceFile. But now I want to create an *.ui.xml file with:
createResource(StandardLocation.CLASS_OUTPUT, "", "file.ui.xml", null)
No file is created. I want to have the file in generated source directory "apt_generated"

By the way, what is the best way to debug an annotation processor?

Thank you very much!



  • Correct Answers - 10 points
  • Helpful Answers - 5 points