Hey folks,

So I've got a bunch of classes that represent some web services. I'm using JDK 1.6 and specifically annotations in the javax.xml.bind.annotation packages.

Without really thinking too much about it, I attempted to jar up the class files from these classes. (Compiled with Eclipse v 3.4.2). Doooh! Guess what? All the annotations were removed from the resulting class files.

My questions is should I even be trying to do such a thing? Should I get the compiler to keep the annotations in the class files? - Somehow.

Is there some kind of Annotation pre/post processing I need to have hooked into the compiler?

Am I just getting old? ;)

Thanks in advance,