clj-commons / virgil

Recompile Java code without restarting the REPL
312 stars 21 forks source link

make virgil work with annotation processors #19

Closed schmir closed 6 years ago

schmir commented 6 years ago

Annotation processors generate temporary source code.

getJavaFileForOutput is called in order to generate a JavaFileObject, which stores the generated source code. virgil now contains a special case for JavaFileObject$Kind/Source files.

schmir commented 6 years ago

Ping!

I can set up a small repository that demonstrates the problem if it helps getting this PR merged.

ztellman commented 6 years ago

Hi, sorry for the delay, this looks good. I’ll cut a new release soon.