Hi All,
I've upgraded from jaxb-ri-20060426 (v2.0) to jaxb-ri-20070413 (v2.1)...
and my XJC Ant task is now giving me a trivial error message.
Error Message:
--------------------------------------
jaxb.bind:
BUILD FAILED
C:\Sandbox\eclipseWTPv153\MyProject\build.xml:152: build/jaxb is not a
valid version number. Perhaps you meant @destdir?
Ant Target (build.xml):
--------------------------------------
<target name="jaxb.bind" depends="prepare">
<xjc target="${jaxb.build.dir}">
<binding dir="src/xjb/" includes="**/*.xjb"/>
<schema dir="src/xsd/">
<include name="**/*.xsd"/>
<exclude name="**/debug.xsd"/>
<exclude name="Services.xsd"/>
</schema>
<arg value="-verbose" />
</xjc>
</target>
It doesn't look like there is anything mandatory missing from what I am
doing (
https://jaxb.dev.java.net/2.1.2/docs/xjcTask.html).... so I'm a
little in the dark.
Any help would be much appreciated.
--AH
p.s. other than backward compatibility, is jaxb1-impl.jar required for
any other purpose?