Run ant with -debug. You'll see that there is a lot of classes missing on
your classpath. Put all xdoclet*.jar classes on the classpath.

Aslak

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kjetil
> H.Paulsen
> Sent: 6. desember 2002 12:39
> To: [EMAIL PROTECTED]
> Cc: xdoclet-user
> Subject: Re: [Xdoclet-user] Dublicate methods in local home interface!?
>
>
> Well.. trying beta1 this happened instead so I can't answer your
> question...
>
> Error: build.xml:51: taskdef class xdoclet.modules.ejb.EjbDocletTask
> cannot be found
>
> And I can't see anything wrong with my taskdef either..
> <taskdef name="ejbdoclet"
>           classname="xdoclet.modules.ejb.EjbDocletTask">
>    <classpath location="${basedir}/lib/xdoclet-ejb-module.jar"/>
>    <classpath refid="project.class.path"/>
>    <classpath path="weblogic.classpath"/>
> </taskdef>
>
> ?
>
> /kjetilhp
>
> Konstantin Priblouda wrote:
> > --- "Kjetil H.Paulsen" <[EMAIL PROTECTED]>
> > wrote:
> >
> >>Hi
> >>
> >>Why are these tags generating two create methods on
> >>the
> >>LocalHomeInterface? Any ideas?
> >>
> >>/**
> >>  * @ejb:bean name="salesclient.SalesclientFacade"
> >>  *           view-type="local" type="Stateful"
> >>  *
> >>local-business-interface="SalesclientFacade"
> >>  * @ejb:interface local-extends="SalesclientFacade,
> >>EJBLocalObject"
> >>  *                generate="local"
> >>  * @ejb:home local-extends="javax.ejb.EJBLocalHome"
> >>generate="local"
> >>  */
> >>
> >>public class SalesclientSession extends
> >>SessionSupport implements
> >>SessionBean, SalesclientFacade {
> >>     public SalesclientSession() {
> >>     }
> >>
> >>     /**
> >>      *  @ejb:create-method view-type="local"
> >>      */
> >>     public void ejbCreate() throws CreateException
> >>{
> >>     }
> >>
> >>
> >>Generated methods on the local home interface:
> >>
> >>public SalesclientFacadeLocalInterface create()
> >>throws
> >>javax.ejb.CreateException;
> >>
> >>public SalesclientFacadeLocalInterface create()
> >>throws
> >>java.rmi.RemoteException, javax.ejb.CreateException;
> >>
> >>
> >>I'm using XDoclet 1.1.2 - and this worked in 1.1.1
> >>!!!
> >
> >
> > Does 1.2 beta version have this problem?
> >
> > regards,
> >
> > =====
> > Konstantin Priblouda ( ko5tik )    Freelance Software developer
> > < http://www.pribluda.de > < play java games -> http://www.yook.de >
> > < render charts online -> http://www.pribluda.de/povray/ >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > http://mailplus.yahoo.com
>
>
> --
> /kjetilhp
>
> ......mogul.technology..............................................
>   mogul technology as > kjetil h.paulsen - senior software architect
>   drammensveien 134, NO-0277 oslo, norway
>   cell +47 93060327, tel +4724114300, fax +4724114399
>   [EMAIL PROTECTED], http://www.mogul.com
>   PGP fingerprint: DA54 A106 1989 FEF0 294F  63A4 9FC6 0F8E 21AD 0180
>   ICQ -> 66288365    ([EMAIL PROTECTED])      ([EMAIL PROTECTED])
> ..............................................mogul.technology......
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> 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
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to