Hello. I am trying to figure out how to change our existing infrastructure
using XMLBeans to Jibx and have encountered a setback when trying (what looks
like) a simple/beginners case. I am trying to use Ant using code along these
lines:
<target name="codegen" depends="check-runtime">
<echo message="Running code generation from schema"/>
<delete quiet="true" dir="gen"/>
<mkdir dir="gen"/>
<java classname="org.jibx.schema.codegen.CodeGen" fork="yes"
classpathref="classpath" failonerror="true">
<arg value="-t"/>
<arg value="gen/src"/>
<arg value="-w"/>
<arg value="[.xsd file]"/>
</java>
</target>
Console output:
Loaded and validated 1 specified schema(s) and 8 referenced schema(s)
[java] Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/jdt/core/dom/Expression
[java] at
org.jibx.schema.codegen.PackageHolder.addClass(PackageHolder.java:150)
[java] at
org.jibx.schema.codegen.CodeGen.inlineReferences(CodeGen.java:1282)
[java] at org.jibx.schema.codegen.CodeGen.generate(CodeGen.java:1486)
I was wondering if someone could shed some light on this issue as I don't
really know where to go from here.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users