XDoclet and Doclipse - No Fluff Just Stuff

XDoclet and Doclipse

Posted by: Craig Walls on June 17, 2004

Cedric has done a fantastic job creating Doclipse, an Eclipse plugin that gives code-completion for doclet tags, including XDoclet-style tags.

I think I like Doclipse more than the JBossIDE, primarily because Doclipse is much simpler, giving me only the functionality that I want, without the extra stuff for starting/stopping JBoss. Also, I managed to get Doclipse to work quite painlessly (something I can't say for JBossIDE).

Only one thing, though: I like that the required attributes are placed in the code for me, but it'd be nice if Doclipse would notice the tag context where the cursor is and allow me to use code completion to summon up the other attributes, too. Oh well, I'm sure Cedric's working on it as I write this.

Although Ryan has already provided Cedric with a Doclipse tag file for XDoclet's Hibernate module, I decided it would be nice to provide Doclipse support for all of XDoclet's modules.

So, I wrote a quick-n-dirty XSLT (took me all of 5 minutes to write) that transforms XDoclet's own xtags.xml (used for generating XDoclet's documentation) into Doclipse tag files. You can download the Doclipse tag files (including the XSLT) here. This includes all of XDoclet's modules as of XDoclet 1.2.1.

Craig Walls

About Craig Walls

Craig Walls is a Principal Engineer, Java Champion, Alexa Champion, and the author of Spring AI in Action, Spring in Action, and Build Talking Apps. He's a zealous promoter of the Spring Framework, speaking frequently at local user groups and conferences and writing about Spring. When he's not slinging code, Craig is planning his next trip to Disney World or Disneyland and spending as much time as he can with his wife, two daughters, 1 bird and 2 dogs.

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »