Friday August 07, 2009
Joseph D. Darcy's Sun WeblogJoseph D. Darcy's Sun Weblog Annotation Processing Build Advice: Set source and class file destinations
In addition to following the
general build advice of setting source, target, and encoding, when running annotation processors the source and class file destination directories should be set via
As recommended on the annotation processing forum, a much more hygienic build results when different kinds of generated output files are not intermixed with each other and any kind of output file is not mixed with any input files. (Input files would presumably be tracked under version control where generated files would not be.) In more detail:
Following these guidelines clearly delineates inputs to the compiler and outputs from the compiler.
Although |
Calendar
RSS Feeds
All /Annotation Processing /General /Java /JavaOne /Numerics /OpenJDK SearchLinks
NavigationReferersToday's Page Hits: 833 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||