Writing a resource file from an AST transformation

Christopher Smith <[email protected]>
Newsgroups gmane.comp.lang.groovy.user
Message-ID <CAG+8NVoaud=ctPHeCDk5JcCBHXkPCas7FsrX7eYjYsup=TZ5sQ@mail.gmail.com>
I am porting a Java annotation processor over to Groovy as an ASTT for
enhanced goodness. One of the responsibilities of this processor is to
write out an SPI manifest file containing the names of annotated classes.
In Java, I can use Filer#createResource to write this.

The closest I've been able to find in Groovy is
`sourceUnit.AST.unit.config.targetDirectory`. Is this the best option?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.