Hi Brian,

the ${lib.dir} and ${basedir} are pointing to the correct dir.. and the
.class are all there... I just checked... I don't know why this error is
happening.. I laready lost my mind trying to figure it out.. but I couldn't
:-(

On Wed, Mar 12, 2008 at 5:56 PM, Brian Thompson <[EMAIL PROTECTED]>
wrote:

> What happens when you echo ${lib.dir} and ${basedir} just below
>
>   <echo message="Running JiBX binding compiler" />
> ?
>
> I suspect you have a simple problem with the paths you're handing to Jibx.
>
> Another thing you can check is to make sure that your .class files are
> actually getting built before the Jibx binding gets started.
>
> Good luck!
>
> -Brian
>
>
>
> On Wed, Mar 12, 2008 at 3:35 PM, Alberto Ivo <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> >
> > Can anyone please send me the ANT task to run jibx. Mine is wrong:
> >
> >     <target name="jibx-binding" description="criando bindings XML"
> > depends="compile">
> >         <echo message="Running JiBX binding compiler" />
> >         <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask
> > ">
> >             <classpath>
> >                 <pathelement location="${lib.dir}/jibx-bind.jar" />
> >             </classpath>
> >         </taskdef>
> >
> >         <bind load="true" binding="${basedir}/classes/binding-
> > CabecalhoTestAval.xml">
> >             <classpath>
> >                 <pathelement location="${basedir}/classes" />
> >                 <fileset dir="${lib.dir}">
> >                     <include name="**/*.jar"/>
> >                 </fileset>
> >             </classpath>
> >         </bind>
> >     </target>
> >
> >
> > The error is:
> >
> > jibx-binding:
> >      [echo] Running JiBX binding compiler
> >      [bind] Error: Cannot find information for class
> > br.com.petrobras.itp.model.CabecalhoTestAval; on mapping element at
> > (line 7, col 46, in ITPO/classes/binding-CabecalhoTestAval.xml)
> >
> >
> > and I am sure the class CabecalhoTestAval is in the right place... why
> > is this error happening???
> >
> >
> > Thanks in advance!
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > jibx-users mailing list
> > jibx-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jibx-users
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to