<!-- Define task for xdoclet -->
<taskdef name="ejbdoclet"
classname="xdoclet.ejb.EjbDocletTask">
<classpath refid="support.classpath"/>
</taskdef> <target name="xdoc" description="generate xdoc">
<delete dir="dist/xdoc/output"/>
<mkdir dir="dist/xdoc/output"/>
<ejbdoclet sourcepath="src" destdir="dist/xdoc/output"
ejbspec="2.0"
classpathref="support.classpath"> <fileset refid="Bean.Source"/> <remoteinterface/>
<localinterface/>
<homeinterface />
<localhomeinterface/>
<deploymentdescriptor
destdir="dist/xdoc/output/META-INF"
validatexml="false" />
<weblogic xmlencoding="UTF-8"
destdir="dist/xdoc/output/META-INF"
validatexml="false"/>
</ejbdoclet>
</target> <target name="xdoc-apply" depends="xdoc"
description="Do XDoclet and copy the results to src">
<copy todir="src">
<fileset dir="dist/xdoc/output">
<include name="**/*.java" />
</fileset>
</copy>
<copy todir="dist/metadata/ejb/META-INF">
<fileset dir="dist/xdoc/output/META-INF">
<include name="**/*.xml" />
</fileset>
</copy>
</target>
<taskdef name="ejbdoclet"
classname="xdoclet.ejb.EjbDocletTask">
<classpath refid="support.classpath"/>
</taskdef> <target name="xdoc" description="generate xdoc">
<delete dir="dist/xdoc/output"/>
<mkdir dir="dist/xdoc/output"/>
<ejbdoclet sourcepath="src" destdir="dist/xdoc/output"
ejbspec="2.0"
classpathref="support.classpath"> <fileset refid="Bean.Source"/> <remoteinterface/>
<localinterface/>
<homeinterface />
<localhomeinterface/>
<deploymentdescriptor
destdir="dist/xdoc/output/META-INF"
validatexml="false" />
<weblogic xmlencoding="UTF-8"
destdir="dist/xdoc/output/META-INF"
validatexml="false"/>
</ejbdoclet>
</target> <target name="xdoc-apply" depends="xdoc"
description="Do XDoclet and copy the results to src">
<copy todir="src">
<fileset dir="dist/xdoc/output">
<include name="**/*.java" />
</fileset>
</copy>
<copy todir="dist/metadata/ejb/META-INF">
<fileset dir="dist/xdoc/output/META-INF">
<include name="**/*.xml" />
</fileset>
</copy>
</target>
<weblogic xmlencoding="UTF-8"
destdir="dist/xdoc/output/META-INF"
validatexml="false"/>是这个吗?
ejbspec="2.0"
classpathref="support.classpath">