<?xml version="1.0"?>

<project basedir="." default="run">

    <property name="jwsdp.path" value="C:/jwsdp-1.2"/>    
    
    <path id="classpath">
        <fileset dir="${jwsdp.path}/jaxb/lib" 
        	includes="*.jar" excludes="ant.jar"/>
        	
        <fileset dir="${jwsdp.path}">
            <include name="jaxb/**/*.jar"/>
            <include name="jwsdp-shared/lib/**/*.jar"/>
        </fileset>

        <fileset dir="lib" 
        	includes="*.jar" />

        <pathelement location="."/>
    </path>

    <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
        <classpath refid="classpath" />
    </taskdef>
    

	<target name="xsd2java">
        <xjc schema="hoge.xsd" target="gensrc" package="hoge.xsd"/>
	</target>

	<target name="dtd2java">
        <xjc schema="hoge.dtd" target="gensrc" package="hoge.dtd">
			<arg value="-dtd" />
		</xjc>
	</target>


</project>
