You are absolutely right! I had an old db-ojb-1.0rc6 jar lost my
jurassic classpath...

Thanks,

Richter



Em Qui, 2004-08-05 ās 17:02, Thomas Dudziak escreveu:
> Edson Carlos Ericksson Richter wrote:
> 
> > I`m upgrading today from rc6 to 1.0, but I can't get OJB Doclet running. 
> > Always I get
> > 
> > Can't create a ojbrepository element under ojbdoclet. Make sure the jar 
> > file containing the corresponding subtask class is on the classpath 
> > specified in the <taskdef> that defined {2}.
> > 
> > The taskdef is:
> > 
> >    <taskdef name="ojbdoclet"
> >        classname="xdoclet.modules.ojb.OjbDocletTask"
> >          classpathref="project.class.path"/>
> > 
> > And all jars for xdolet are in my project.class.classpath (I'm using 
> > NetBeans with Ant 1.6 if this helps).
> > 
> > The compile task is:
> > 
> >  <target name="repository-xyz">
> >    <ojbdoclet destdir="./ojb">
> >            <fileset description="Java sources"
> >               dir="${src}"
> >               includes="**/*.java"/>
> >        <ojbrepository destinationFile="repository_xyz.xmlAuto"/>
> >    </ojbdoclet>
> >  </target>
> > Any tips?
> 
> My guess is that some library is missing. You can run Ant with the -v or 
> -debug argument to get more info.
> If that doesn't get you anywhere, have a look at the ojb-blank archive 
> which you can download from the OJB website. Its build file uses the 
> XDoclet module.
> 
> Tom
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to