Maybe SyncBean is in the javadoc classpath as a class as well ?
Or something like that ?
Have you tried to remove SyncBean from the sourcepath to see ?
Vincent
> I don't know the caues of this problem then, sorry. Maybe someone else
> on this list has some ideas?
>
>
> ----- Original Message -----
> From: "Paul McLachlan" <[EMAIL PROTECTED]>
> To: "Erik Hatcher" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Wednesday, May 22, 2002 8:12 PM
> 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
_______________________________________________________________
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