You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Markus Wolf <ma...@emedia-solutions-wolf.de> on 2005/03/14 22:54:48 UTC

ojbdoclet and empty result files again

Hi users,

I want to evaluate OJB for my project and have setup successfully (I 
think so) a maven task.
All classes could be found and everything seems to run fine, but the 
result files (repository_user.xml) are empty...
Anything I miss here? (See the post below are my maven goal definitions 
and console output)
I searched the mailing list before posting here and found a posting very 
close to my problem, but that was not solving mine. :-(

[snip maven.xml]
    <goal
        name="provide-ojb-meta"
        description="Parse ojb meta data and generate ojb files">
       
        <taskdef
            name="ojbdoclet"
            classname="xdoclet.modules.ojb.OjbDocletTask"
            >
            <classpath>
                <path refid="maven.dependency.classpath" />
            </classpath>
        </taskdef>
       
        <ojbdoclet destdir="ojb">
            <fileset dir="main/src/java" includes="**/ojb/*" />
            <ojbrepository verbose="true" />
        </ojbdoclet>
    </goal>
[/snip]

[snip console-output]
Generating ojb repository descriptor (repository_user.xml)
Type de.esw.services.server.ojb.Feature
Processed 1 types
Processed 1 types
[/snip]

Any idea what could be wrong?

Thanks
Markus Wolf

-- 
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
> (040) 550 083 70
>
>>  web: http://www.emedia-solutions-wolf.de
>> mail: markus@emedia-solutions-wolf.de
>>  pgp: http://wwwkeys.de.pgp.net
>


Re: ojbdoclet and empty result files again

Posted by Thomas Dudziak <to...@gmail.com>.
No problem.

On Mon, 14 Mar 2005 23:26:53 +0100, Markus Wolf
<ma...@emedia-solutions-wolf.de> wrote:
> >  Could you please post the relevant part of the Feature class? Also,
> >  you could try running Maven in verbose or debug mode (I don't know
> >  anything about Maven, with Ant you would run it with the -v or -debug
> >  options).
> >
> I found my mistake. I've written @obj.class instead of @ojb.class in the
> doclet-tag.
> 
> Sorry for inconvinience...
> Markus
> 
> --
> >
> > emedia-solutions wolf
> > Wedeler Landstrasse 63
> > 22559 Hamburg
> > (040) 550 083 70
> >
> >>  web: http://www.emedia-solutions-wolf.de
> >> mail: markus@emedia-solutions-wolf.de
> >>  pgp: http://wwwkeys.de.pgp.net
> >
> 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: ojbdoclet and empty result files again

Posted by Markus Wolf <ma...@emedia-solutions-wolf.de>.
>  Could you please post the relevant part of the Feature class? Also,
>  you could try running Maven in verbose or debug mode (I don't know
>  anything about Maven, with Ant you would run it with the -v or -debug
>  options).
>
I found my mistake. I've written @obj.class instead of @ojb.class in the 
doclet-tag.

Sorry for inconvinience...
Markus

-- 
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
> (040) 550 083 70
>
>>  web: http://www.emedia-solutions-wolf.de
>> mail: markus@emedia-solutions-wolf.de
>>  pgp: http://wwwkeys.de.pgp.net
>



Re: ojbdoclet and empty result files again

Posted by Thomas Dudziak <to...@gmail.com>.
Could you please post the relevant part of the Feature class? Also,
you could try running Maven in verbose or debug mode (I don't know
anything about Maven, with Ant you would run it with the -v or -debug
options).

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org