A colleague and I have been using Jena's schemagen to get lots of
generated constants from a vocabulary we've developed.  We're at the
point that we're marking some of the vocabulary deprecated.  It would
be convenient for our application code that uses the vocabulary if the
vocabulary constants that are deprecated also had a Java deprecation
annotation.  Our application would then generate compiler warnings
where it used deprecated vocabulary.  This raises two questions:

* We didn't find anything in the Jena schemagen doc describing this.
Are we correct that schemagen can't presently do this?
* This probably isn't too hard to implement;  we might go and do it if
we get some free time.  Is there any interest in this?  (I.e., if we
submitted it as a patch, would it be added to Jena, and would it be
useful to anyone?)

Thanks,  //JT

-- 
Joshua Taylor, http://www.cs.rpi.edu/~tayloj/

Reply via email to