I found out recently that javadoc natively outputs HTML, but not XML. Using doclets, one can programmatically get at the same raw data available to javadoc and, using that data, generate XML.
JELDoclet is an open source project that already does this… but it declares itself dead. So why wouldn’t I spend my efforts on bringing this project back from the depths?
Well, I’m not satisfied with my level of experience with
- Java
- Maven
- Intellij IDEA
- Unit tests
And how does a programmer learn best? By coding, of course.
This project sounds like the right difficulty to pick these technologies up, and hopefully it will be of use to others.
ETA: maybe 2-3 weeks to get up on googlecode after some clean up.
xml-doclet is now live on google code
xml-doclet is a new, doclet-based project which will generate javadoc information in XML format by parsing Java source code.
It’s live now on google code. An initial commit of the source has been made, but I’m still working on getting the 1st packaged binary up.
The project is maven-based, meaning it’s quite easy to download the source and immediately begin playing with the source without hunting around for environmental dependencies.