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