Hi,
>From http://xdoclet.codehaus.org/Two+Minute+Introduction XDoclet2 Invocation with Ant (Can someone please contribute these?) Roger that, see below: <project name="xdoclet-sample" default="xdoclet"> <property file="build.properties"/> <property name="xdoclet.lib.dir" value="${user.home}/.maven/repository"/> <target name="xdoclet"> <mkdir dir="${basedir}/target/xdoclet/persistence"/> <path id="xdoclet.task.classpath"> <!-- Add the xdoclet2 plugins jar here --> <pathelement location="${xdoclet.lib.dir}/xdoclet-plugins/jars/your-plugin.jar"/> <!-- xdoclet2 runtime dependencies --> <pathelement location="${xdoclet.lib.dir}/xdoclet/jars/xdoclet2-SNAPSHOT.jar"/> <pathelement location="${xdoclet.lib.dir}/generama/jars/generama-SNAPSHOT.jar"/> <pathelement location="${xdoclet.lib.dir}/picocontainer/jars/picocontainer-1.0.jar"/> <pathelement location="${xdoclet.lib.dir}/nanocontainer/jars/nanocontainer-1.0-beta-1.jar"/> <pathelement location="${xdoclet.lib.dir}/nanocontainer/jars/nanocontainer-ant-1.0-beta-1.jar"/> <pathelement location="${xdoclet.lib.dir}/qdox/jars/qdox-1.6-SNAPSHOT.jar"/> <pathelement location="${xdoclet.lib.dir}/velocity/jars/velocity-1.4.jar"/> <pathelement location="${xdoclet.lib.dir}/commons-collections/jars/commons-collections-2.1.jar"/> <pathelement location="${xdoclet.lib.dir}/commons-jelly/jars/commons-jelly-1.0-beta-4-SNAPSHOT.jar"/> <pathelement location="${xdoclet.lib.dir}/commons-jelly/jars/commons-jelly-tags-define-20030211.142932.jar"/> <pathelement location="${xdoclet.lib.dir}/log4j/jars/log4j-1.2.8.jar"/> <pathelement location="${xdoclet.lib.dir}/commons-logging/jars/commons-logging-1.0.4.jar"/> <pathelement location="${xdoclet.lib.dir}/dom4j/jars/dom4j-1.4.jar"/> <pathelement location="${xdoclet.lib.dir}/commons-beanutils/jars/commons-beanutils-1.6.1.jar"/> <pathelement location="${xdoclet.lib.dir}/commons-jexl/jars/commons-jexl-1.0-beta-2.jar"/> </path> <taskdef name="xdoclet" classname="org.xdoclet.ant.XDocletTask" classpathref="xdoclet.task.classpath" /> <xdoclet> <!-- defines the file handled by xdoclet2 --> <fileset dir="src/java"> <include name="**/*.java"/> </fileset> <!-- defines the processing of a plugin --> <component classname="com.company.xdoclet.YourPlugin" destdir="${basedir}/target/xdoclet/" /> </xdoclet> </target> </project> This is based on another thread in this list http://archive.xdoclet.codehaus.org/user/messages/6 Could you please add this on the project's web site? Cheers, St�phane
