On Fri, 21 May 2004, Maksimenko Alexander wrote:

> I've discovered that problem is more serious:
> I create own field convertor - GroupTypeConverter. I specify it's name 
> as conversion attribute in class Group and put both classes in the same 
> directory. But even now xdoclet doesn't find class GroupTypeConverter!
> I guess it tries to search GroupTypeConverter in the classpath wich is 
> specified in testdef tag.

Correct, it tries to load it via the classpath that was used to locate the
ojb-xdoclet ant task.
If you cannot (or are not willing to) supply the compiled class - say, it
is dependent upon the output of the xdoclet module - then you can set the
checks attribute of the ojbdoclet task to 'basic' - this directs the
xdoclet module to ignore checks that involves loading of classes via the
classloader (e.g. field conversions, query customizers etc.). You'll need
the current version (CVS, available via the interface on OJB's website) of
the XDoclet module for this, however.

Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to