Seems like usual javac "already defined in ..." errors. Probably the
class has incorrect package declaration, or in incorrect file.

> C:\Projects\mDrover2\Server\src\com\yambay\sync\ejb\SyncBean.java...
> [ejbdoclet] Loading source files for package com.yambay.sap.ejb...

com\yambay\sync\ejb <-> com.yambay.sap.ejb

They are different. You can assume it's a javac-like error, nothing to
do with javadoc or xdoclet.

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of Paul McLachlan
> Sent: Thursday, May 23, 2002 4:43 AM
> To: Erik Hatcher; [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-user] ejbdoclet in Ant
> 
> No, I am using Ant 1.4. This is my build target, pretty standard
really
> :
> 
>    <target name="ejbdoclet" depends="prepare">
> 
>       <!-- <taskdef name="ejbdoclet"
> classname="xdoclet.ejb.EjbDocletTask"
>
classpath="${src.dir};${xdoclet.jar.path};${log4j.jar.path};${ant.jar.pa
> th};${classpath}"/> -->
>       <taskdef name="ejbdoclet" classname="xdoclet.ejb.EjbDocletTask"
> classpath="${xdoclet.jar.path};${log4j.jar.path}"/>
> 
>       <ejbdoclet
>          sourcepath="${src.dir}"
>          destdir="${generated.src.dir}"
>          classpathref="server.path"
>          excludedtags="@version,@author"
>          ejbspec="2.0">
> 
> Thanks,
> Paul.
> 
> -----Original Message-----
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 22 May 2002 9:39 PM
> To: Paul McLachlan; [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] ejbdoclet in Ant
> 
> Are you using Ant 1.5Beta1?  If so, there is a known flaw in its
> <javadoc>
> implementation which has been fixed in CVS (beta 2 will be out in a
> couple
> of weeks).  XDoclet uses <javadoc>, but the next release of XDoclet
will
> remove this dependency with xjavadoc under the hood.
> 
>     Erik
> 
> 
> ----- Original Message -----
> From: "Paul McLachlan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 22, 2002 12:23 AM
> Subject: [Xdoclet-user] ejbdoclet in Ant
> 
> 
> This problem may be a classpath or an Ant config problem but it is
> driving me nuts! Can anybody help please.
> 
> It loads the file then say the Bean is already defined in the file it
is
> supossed to be in, crazy!!
> 
> [ejbdoclet] Javadoc execution
> [ejbdoclet] Loading source file
> C:\Projects\mDrover2\Server\src\com\yambay\sync\ejb\SyncBean.java...
> [ejbdoclet] Loading source files for package com.yambay.sap.ejb...
>  [ejbdoclet]
> C:\Projects\mDrover2\Server\src\com\yambay\sync\ejb\SyncBean.java:48:
> Class com.yambay.sync.ejb.SyncBean already defined in
> C:\Projects\mDrover2\Server\src\com\yambay\sync\ejb\SyncBean.java.
> [ejbdoclet] public class SyncBean
> [ejbdoclet]              ^
> [ejbdoclet] 1 error
> 
> Regards,
> 
> Paul.
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to