txw2.wsdl11.build.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <project name="wsdl11" default="compile"> <target name="clean"> <delete dir="build"/> </target> <path id="txw"> <pathelement path="../build/compiler-classes"/> <pathelement path="../build/runtime-classes"/> <fileset dir="../lib/compiler" includes="*.jar"/> </path> <target name="txwc"> <taskdef name="txwc" classname="com.sun.tools.txw2.TxwTask"> <classpath refid="txw"/> </taskdef> <mkdir dir="build/src"/> <txwc destdir="build/src" schema="wsdl.rnc" package="wsdl" methodChaining="true" /> <txwc destdir="build/src" schema="httpBindings.rnc" package="wsdl.http" methodChaining="true" /> <txwc destdir="build/src" schema="soapBindings.rnc" package="wsdl.soap" methodChaining="true" /> <txwc destdir="build/src" schema="mimeBindings.rnc" package="wsdl.mime" methodChaining="true" /> </target> <target name="compile" depends="txwc"> <mkdir dir="build/classes"/> <javac srcdir="src:build/src" destdir="build/classes" debug="on"> <classpath refid="txw"/> </javac> </target> </project>