My build.xml is a little big so i put just the other running target:

        <target name="init">
                <taskdef name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask"
classpathref="xdoclet.lib.path" />
                <taskdef name="schemaexport"
classname="org.hibernate.tool.hbm2ddl.SchemaExportTask"
classpathref="hibernate.lib.path" classpath="../bin" />
                <taskdef name="schemaupdate"
classname="org.hibernate.tool.hbm2ddl.SchemaUpdateTask"
classpathref="hibernate.lib.path" classpath="../bin" />
                <property name="xdoclet2.dir" value="C:\\Tools\\xdoclet2-1.0.1" 
/>
                <path id="xdoclet.task.classpath">
                        <fileset dir="${xdoclet2.dir}/lib">
                                <include name="*.jar" />
                        </fileset>
                        <fileset dir="${xdoclet2.dir}/plugins">
                                <include name="*.jar" />
                        </fileset>
                </path>

                <taskdef name="xdoclet" classname="org.xdoclet.ant.XDocletTask"
classpathref="xdoclet.task.classpath" />
        </target>


It look like it is running ok but the files isn't generated.
Regards,
Fl�vio.

Citando Jose Peleteiro <[EMAIL PROTECTED]>:

> Ola F�bio,
>
> Did you put all xdoclet dependencies at xdoclet task classpath?
>
> Show your entire build.xml for us.
>
> Bem vindo ao XDoclet2...errr... n�o t�o bem vindo ainda n�?
>
> Juze
>
> On 6/14/05, Fl�vio H Suguimoto Leite
> <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Hi Folks,
> >
> >
> >
> > I was convinced by Konstantin to migrate to XD2.
> >
> >
> >
> > I create a new target on my build script (Ant) and try to run its almost
> ok,
> > without any error, but where my hbm.xml (Hibernate) are created???
> >
> >
> >
> >             <xdoclet>
> >
> >                   <!-- defines the file handled by xdoclet2 -->
> >
> >                   <fileset dir="../../source">
> >
> >                         <include name="**/*.java" />
> >
> >                   </fileset>
> >
> >
> >
> >                   <!-- defines the processing of a plugin -->
> >
> >                   <component
> > classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin"
> > destdir="../../source" />
> >
> >             </xdoclet>
> >
> >
> >
> >
> >
> >
> >
> > I looked at this path and not found the hbm files.
> >
> >
> >
> > Fl�vio H Suguimoto Leite
> >
> > Pragya Technologies Americas - Brazil
> >
> >
> >
> >
> >
> > Ribeir�o Preto - SP - Brazil
> >
> >
>



Reply via email to