I know you're probably sick of getting e-mails from me, Rick, but I figured
I'd offer some help here :)).  You left out one important piece of
information - your Ant version, and your XDoclet version.

I'm sure the XDoclet team will say you need to be using the CVS version of
XDoclet, but it appears (based on the Javadoc error) that you're running a
less-than-current version of XDoclet.

Also, I'm almost certain that a bug in Ant's Javadoc task (which XDoclet
used internally through the last released version) gave this particular
error, so I'm guessing you're not running Ant 1.5Beta3.

I'd recommend upgrading to the latest of Ant (the 1.5Beta3 release) first,
see if that fixes the problem.  Then if not, upgrade to the latest of
XDoclet (from CVS).  I personally have not tried the CVS version of XDoclet
yet, so I predict just an Ant version upgrade will fix you up.

    Erik

----- Original Message -----
From: "Rick Hightower" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 06, 2002 4:21 AM
Subject: [Xdoclet-user] problem using Resin XDoclet


> I am trying to get Resin XDoclet to work. I am trying to generate CMP/CMR
> relationships and table mappings.
>
> (I got XDoclet to work with JBoss and WebLogic. I fully tested the example
> with WebLogic. I really dig XDoclet.)
>
> I actually got past a few hurdles (see blog) with Resin XDoclet, but still
> seem to be stuck in the mud. I am using the Resin tutorial on XDoclet as a
> base.
>
> I get the error message "javadoc: No source files for package
C:\ejbql\src"
> when trying to create the Resin specific deployment descriptors. Yet... it
> seems to find the java source files see output below.
>
> Here is the complete error message...
>
> C:\ejbql\build>ant resingen
>
> Buildfile: build.xml
>
> resingen:
> [resingendd] Generating Javadoc
> [resingendd] Javadoc execution
> [resingendd] Loading source file
> C:\ejbql\src\com\rickhightower\auth\GroupBean.j
> ava...
> [resingendd] Loading source file
> C:\ejbql\src\com\rickhightower\auth\RoleBean.ja
> va...
> [resingendd] Loading source file
> C:\ejbql\src\com\rickhightower\auth\UserBean.ja
> va...
> [resingendd] Loading source file
> C:\ejbql\src\com\rickhightower\auth\UserInfoBea
> n.java...
> [resingendd] Loading source file
> C:\ejbql\src\com\rickhightower\auth\UserManagem
> entBean.java...
> [resingendd] Loading source files for package C:\ejbql\src...
> [resingendd] javadoc: No source files for package C:\ejbql\src
> [resingendd] 1 error
>
> BUILD FAILED
>
> The ant target is as follows:
>
>    <target name="resingen" >
>
>             <path id="resinclasspath">
>                     <pathelement path="${resin}/resin-ejb.jar" />
>                     <pathelement path="${resin}/ejb.jar" />
>             </path>
>
> <taskdef name="resingendd"
> classname="com.caucho.xdoclet.ResinEjbDocletTask"
> classpath="${xdoclet.path}"
> />
>
>
> <resingendd
>                         ejbspec="2.0"
>                         sourcepath="${src}"
>                         ejbClassNameSuffix="Bean"
>                         mergedir="${src}"
>                         destdir="${meta}/WEB-INF"
>                         classpathref="resinclasspath"
>
> >
>
> <fileset dir="${src}">
> <include name="${beans}" />
> </fileset>
>
> <deploymentdescriptor destdir="${meta}/WEB-INF" validatexml="true" />
>                         <resinejb
> destinationFile="${meta}/WEB-INF/resin.ejb"/>
>
> </resingendd>
>
> </target>
>
> The properties are set as follows:
>
> beans=com/rickhightower/auth/*Bean.java
> ant.lib=${env.ANT_HOME}/lib
> xdoclet.jar=${ant.lib}/xdoclet.jar
> log4j.jar=${ant.lib}/log4j.jar
> ant.jar=${ant.lib}/ant.jar
> xdoclet.path=${xdoclet.jar};${log4j.jar};${ant.jar}
> ...
>
> The complete source and build script can be found here.
> http://www.rickhightower.com/ejbqlresin.zip
>
> A detailed description of the application can be found here.
> http://www.rickhightower.com/ejbcmpcmrtut.html
>
> Blog with details.
> http://rickhightower.blogspot.com/
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Got root? We do.
> http://thinkgeek.com/sf
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Got root? We do.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to