Great, but shouldn't the "Two Minute Introduction" page be update too?
That's probably the first page (2nd, actually) newbies will read.

TIA,
Daniel Serodio

karthik Guru wrote:
>
> Yes I did update it here..
> http://xdoclet.codehaus.org/XDoclet+Invocation+through+Ant
>
> regs,
> karthik
>
> On Mon, 28 Nov 2005 Daniel Serodio wrote :
> >I'm using XDoclet2 with Ant. The build.xml snippet in the "Two Minute
> >Introduction" page is apparently outdated, since it refers to eg
> >xdoclet2-SNAPSHOT.jar. Maybe you should update the online docs with the
> >following build.xml snippet:
> >
> ><target name="xdoclet">
> >        <mkdir dir="${build.dir}/xdoclet/persistence"/>
> >        <path id="xdoclet.task.classpath">
> >            <!-- Add the xdoclet2 plugins jar here -->
> >            <pathelement
> >location="${xdoclet2.dir}/plugins/xdoclet-plugin-hibernate-1.0.2.jar"/>
> >
> >            <fileset dir="${xdoclet2.dir}/lib" includes="*.jar"/>
> >        </path>
> >
> >        <taskdef name="xdoclet"
> >            classname="org.xdoclet.ant.XDocletTask"
> >            classpathref="xdoclet.task.classpath" onerror="fail"/>
> >
> >        <xdoclet>
> >            <!-- defines the file handled by xdoclet2 -->
> >            <fileset dir="src/java">
> >                <include name="**/*.java" />
> >            </fileset>
> >
> >            <!-- defines the processing of a plugin -->
> >            <component
> >classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin"
> >                  destdir="${builddir}/xdoclet/" />
> >        </xdoclet>
> >    </target>
> >
> >
>

Reply via email to