Added jaxb2 and castor tasks for Ben to play with.
This commit is contained in:
parent
7ec86ebd9e
commit
6d5e07f46a
|
|
@ -12,16 +12,30 @@
|
||||||
<attribute name="output.dir"/>
|
<attribute name="output.dir"/>
|
||||||
<attribute name="resources.dir"/>
|
<attribute name="resources.dir"/>
|
||||||
<sequential>
|
<sequential>
|
||||||
|
<!-- Castor -->
|
||||||
|
<!--
|
||||||
|
<ivy:cachepath resolveId="castor.classpath" pathid="castor.classpath"
|
||||||
|
organisation="org.codehaus.castor" module="com.springsource.org.castor" revision="1.2.0"
|
||||||
|
conf="runtime" type="jar" inline="true" log="download-only"/>
|
||||||
|
<taskdef name="castor" classname="org.castor.anttask.CastorCodeGenTask"
|
||||||
|
classpathref="castor.classpath"/>
|
||||||
|
<castor types="j2" warnings="false" file="${schema}" todir="${basedir}/castor/test"
|
||||||
|
package="org.springframework.oxm.castor"/>
|
||||||
|
-->
|
||||||
|
|
||||||
<!-- JAXB2 -->
|
<!-- JAXB2 -->
|
||||||
<!--
|
<!--
|
||||||
<ivy:cachepath resolveId="xmlbeans.classpath" pathid="xmlbeans.classpath" organisation="org.apache.xmlbeans"
|
<ivy:cachepath resolveId="jaxb.classpath" pathid="jaxb.classpath" organisation="com.sun.xml"
|
||||||
module="com.springsource.org.apache.xmlbeans" revision="2.4.0"
|
module="com.springsource.com.sun.xml.bind" revision="2.1.7"
|
||||||
conf="runtime" type="jar" inline="true" log="download-only"/>
|
conf="runtime" type="jar" inline="true" log="download-only"/>
|
||||||
<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask" classpathref="maven.test.classpath"/>
|
<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask"
|
||||||
<xjc target="${generate.target.directory}" package="org.springframework.oxm.jaxb1" schema="${schema}">
|
classpathref="jaxb.classpath"/>
|
||||||
<produces dir="${generate.target.directory}" includes="**/jaxb1/**/*.java"/>
|
<xjc destdir="${basedir}/jaxb/test"
|
||||||
</xjc>
|
package="org.springframework.oxm.jaxb"
|
||||||
-->
|
schema="${schema}">
|
||||||
|
<produces dir="${basedir}/jaxb/test" includes="**/*.java"/>
|
||||||
|
</xjc>
|
||||||
|
-->
|
||||||
|
|
||||||
<!-- XMLBeans -->
|
<!-- XMLBeans -->
|
||||||
<ivy:cachepath resolveId="xmlbeans.classpath" pathid="xmlbeans.classpath" organisation="org.apache.xmlbeans"
|
<ivy:cachepath resolveId="xmlbeans.classpath" pathid="xmlbeans.classpath" organisation="org.apache.xmlbeans"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue