On Mon, 24 May 2004, Maksimenko Alexander wrote:

> When  I use two ojb tags consecutivly
>     <ojbdoclet destdir="${dir.javalike}" checks="basic">
>         <fileset dir="../shared/src/java"/>
>         <ojbrepository destinationFile="file1.xml"/>
>     </ojbdoclet>
>     <ojbdoclet destdir="${dir.javalike}" checks="basic">
>         <fileset dir="src/java"/>
>         <ojbrepository destinationFile="file2.xml"/>
>     </ojbdoclet>
> I get two files file1.xml and file2.xml
> file1 is OK
> but file2
> contains all descriptors from file1 and the ":table" attribute of each 
> class descriptor from file1 equals class name (without package) wich 
> specified in "class" attribute.

I've heard of something similar with another XDoclet module (not for OJB),
so it may be a bug with XDoclet itself. Actually I'm rather sure that it
lies within XDoclet as quite a few parts within it are static which means
the information within static parts stay in memory unless the XDoclet 
classes are loaded anew.
Have you tried putting the two calls into separate targets (perhaps even
each with their own taskdef for the ojbdoclet task) ? Please tell us how
that works out so that I can add something to the documentation of the
XDoclet OJB module.

Tom


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

Reply via email to