Hi Sam, No, it's not the same error. Please compare the two messages - the first complained about a classpathref not found, now about a class not found. Your XDoclet jars (or at least the web ones) are seemingly not in that classpath defined in build.xml, so they cannot be found. How about placing them in that lib dir I see in the classpath?
I must repeat my suggestion, read please what a classpath is and what Ant generally does. If you already know that my apologies but it wasn't that obvious... Best regards, M --- On Mon, 6/15/09, Sam Wun <swun2...@gmail.com> wrote: > From: Sam Wun <swun2...@gmail.com> > Subject: Re: [Xdoclet-user] Reference xdocpath not found > To: "End-user support for the XDoclet code generator" > <xdoclet-user@lists.sourceforge.net> > Date: Monday, June 15, 2009, 2:53 AM > Not good. > It still failed with the same error. > Here is the modified build.xml file: > > <project name="portlet" basedir="." > default="deploy"> > <import > file="../build-common-portlet.xml" /> > > <target name="compile"> > > <mkdir dir="docroot/WEB-INF/classes" /> > > > <path id="plugin-lib.classpath"> > > <pathelement > location="${app.server.classes.portal.dir}" /> > > <fileset > dir="${app.server.lib.portal.dir}" > includes="*.jar" /> > > <pathelement > location="docroot/WEB-INF/classes" /> > > </path> > <taskdef name="webdoclet" > > classname="Xdoclet.modules.web.WebDocletTask" > > classpathref="plugin-lib.classpath"> > </taskdef> > <webdoclet destdir="WEB-INF" > mergedir="metadata/web" > excludedtags="@version,@author" verbose="true"> > <fileset > dir="WEB-INF/src"> > <include > name="**/*Form.java" /> > <include > name="**/*Action.java" /> > <include > name="**/*Servlet.java" /> > </fileset> > <deploymentdescriptor > validatexml="true" > servletspec="2.3" > sessiontimeout="60" > destdir="WEB-INF" > distributable="false"> > </deploymentdescriptor> > <strutsconfigxml > validatexml="true" version="1.1"/> > <strutsvalidationxml/> > </webdoclet> > > > > <javac > > classpathref="plugin.classpath" > > compiler="${javac.compiler}" > > debug="${javac.debug}" > > > deprecation="${javac.deprecation}" > > > destdir="docroot/WEB-INF/classes" > > nowarn="${javac.nowarn}" > > srcdir="docroot/WEB-INF/src3" > > /> > > > <antcall target="build-common-plugin.compile" /> > </target> > > <target > name="build-lang"> > > <antcall target="build-lang-cmd"> > > <param name="lang.dir" > value="docroot/WEB-INF/src/content/test" /> > > <param name="lang.file" > value="Language" /> > > </antcall> > </target> > </project> > > # ant compile > Buildfile: build.xml > > compile: > > BUILD FAILED > /usr/liferay/liferay-portal-5.2.2/dev/portlets/online-payment/build.xml:16: > taskdef class Xdoclet.modules.web.WebDocletTask cannot be > found > > Total time: 1 second ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user