Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.4.0
-
Component/s: Build infrastructure
-
Labels:None
Description
1. Reuse existing qdox for generating XML metadata.
Write an annotation processor that parses JavaDoc comments and
emits the same metadata.
2. Remove any leftover in-source XMLs.
3. Modify build.xml to make use of the apt generator.
4. Modify Eclipse to make use of the apt generator.
Attachments
Issue Links
| This issue is depended on by: | ||||
| CARROT-640 | Resolve identifiers of attributes linked using JavaDoc's {@link} tag |
|
|
|
I just checked and have a working example code – annotation processors (in javac) are a sweet way of generating XML files from sources annotated with @Bindable. There is even a (standard) API to get hold of the JavaDoc from the parse tree, so we wouldn't have to use qdox for this.
Annotation processor support requires Java 1.6 support, so this is postponed until we move to 1.6.