Re: Reference xdocpath not found

Sam Wun <[email protected]> Mon, 15 Jun 2009 19:21:43 +1000
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
Hi,

I am a bit lost.
May I ask how are you going to modify the build.xml file?

Here is my build.xml file:
<?xml version=3D"1.0"?>

<project name=3D"portlet" basedir=3D"." default=3D"deploy">
        <import file=3D"../build-common-portlet.xml" />

        <target name=3D"compile">
                <mkdir dir=3D"docroot/WEB-INF/classes" />

                <path id=3D"plugin-lib.classpath">
                        <pathelement
location=3D"${app.server.classes.portal.dir}" />
                        <fileset dir=3D"${app.server.lib.portal.dir}"
includes=3D"*.jar" />
                        <pathelement location=3D"docroot/WEB-INF/classes" />
                </path>
    <taskdef name=3D"webdoclet"
classname=3D"Xdoclet.modules.web.WebDocletTask" classpathref=3D"xdocpath">
    </taskdef>
    <webdoclet destdir=3D"WEB-INF" mergedir=3D"metadata/web"
excludedtags=3D"@version,@author" verbose=3D"true">
        <fileset dir=3D"WEB-INF/src">
            <include name=3D"**/*Form.java" />
            <include name=3D"**/*Action.java" />
            <include name=3D"**/*Servlet.java" />
        </fileset>
        <deploymentdescriptor validatexml=3D"true"
          servletspec=3D"2.3" sessiontimeout=3D"60"
          destdir=3D"WEB-INF" distributable=3D"false">
        </deploymentdescriptor>
        <strutsconfigxml validatexml=3D"true" version=3D"1.1"/>
        <strutsvalidationxml/>
    </webdoclet>


                <javac
                        classpathref=3D"plugin.classpath"
                        compiler=3D"${javac.compiler}"
                        debug=3D"${javac.debug}"
                        deprecation=3D"${javac.deprecation}"
                        destdir=3D"docroot/WEB-INF/classes"
                        nowarn=3D"${javac.nowarn}"
                        srcdir=3D"docroot/WEB-INF/src3"
                />

                <antcall target=3D"build-common-plugin.compile" />
        </target>

        <target name=3D"build-lang">
                <antcall target=3D"build-lang-cmd">
                        <param name=3D"lang.dir"
value=3D"docroot/WEB-INF/src/content/test" />
                        <param name=3D"lang.file" value=3D"Language" />
                </antcall>
        </target>
</project>


On Mon, Jun 15, 2009 at 7:09 PM, Justin
Case<[email protected]> wrote:
>
> Hi,
>
> --- On Sun, 6/14/09, Sam Wun <[email protected]> wrote:
>> BUILD FAILED
>> /usr/liferay/liferay-portal-5.2.2/dev/portlets/online-payment/build.xml:=
14:
>> Reference xdocpath not found.
>
> The xdocpath indeed is not defined anywhere in your build.xml. You define=
d though another path called "plugin-lib.classpath", you might have to use =
that one in the taskdef below...
>
>> =A0 =A0 <taskdef name=3D"webdoclet"
>> classname=3D"Xdoclet.modules.web.WebDocletTask"
>> classpathref=3D"xdocpath">
>> =A0 =A0 </taskdef>
>
> HTH,
> M
>
>
>
>
>
> -------------------------------------------------------------------------=
-----
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>

---------------------------------------------------------------------------=
---
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