this is my first post in this great community.
I am trying to generate beans classes using JAXB and Ant
This is my code:
<target name="generation beans" description="generation des beans depuis un schema" depends="init">
<echo message="generation des beans depuis un schema" />
<exec executable="${javahome}/bin/xjc" >
<arg value="-d" />
<arg value="${sources}" />
<arg value="-p" />
<arg value="metier" />
<arg value="Player.xsd" />
</exec>
</target>
It works well but i want to add “Extension” and make the generated classes serializable.
Thanks for your help 🙂
How about the following:
Where
binding.xmlis: