On Thursday, November 14, 2002, at 05:00  PM, Joseph Panico wrote:
The Castor SourceGen almost does what I want :). It correctly generates the typesafe enum for Quality. And it correctly assigns that type to the "recordingQuality" property of the "Recording" class. But it also generates another class named "RecordingQuality" along with a ClassDescriptor for it, even though that class isn't referenced anywhere by the other generated classes.

Why is Castor doing this and how do I get rid of it?
As you noted, the element's class isn't being referenced by any other of the generated classes -- so the easiest thing is just to ignore it. I posted about this a couple of weeks ago ( http://www.mail-archive.com/castor-dev@;exolab.org/msg09638.html ), but got no replies. I've been meaning to try to patch SourceGenerator to disable it, but it is pretty low on my list (since it is just a nuisance, not a malfunction).

Rhett Sutphin

=====================================================
| Rhett Sutphin
| Research Assistant (Software)
| Coordinated Laboratory for Computational Genomics
| and the Center for Macular Degeneration
| University of Iowa - Iowa City, IA 52242 - USA
| 4111 MEBRF - email: [EMAIL PROTECTED]
=====================================================

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev



Reply via email to