I'm on the right track. Actually, I didn't know, which API lies behind
mockdoclet to generate the mock objects. I've found so far that I can
easily generate mock objects for interfaces. For whatever reason, it
doesn't work with my own class. I'll figure that out.

Thx anyway,
Dominik

On Mon, 2003-09-22 at 16:37, Dominik Dahlem wrote:
> I found a little mistake in my mockdoclet task. I had the nested element
> <mockobject /> and replaced in with <mockobjects /> but still no luck.
> The logging message now states "XDocletMain.start 47  ) Running
> <mockobjects/>", however, no mockobject got generated.
> 
> Dominik
> 
> 
> 
> On Mon, 2003-09-22 at 15:44, Dominik Dahlem wrote:
> > Sorry, was my mistake. I have this tag in my java file and don't get any
> > mockobject generated.
> > 
> > Dominik
> > 
> > 
> > On Mon, 2003-09-22 at 15:27, Gregory Joseph wrote:
> > > I guess the tag should look more like @mock.generate
> > > className="MockComponent", but i suppose you knew that? :)
> > > 
> > > g
> > > 
> > > -----Original Message-----
> > > From: Dominik Dahlem [mailto:[EMAIL PROTECTED]
> > > Sent: lundi 22 septembre 2003 16:01
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [Xdoclet-user] MockObjectDoclet examples?
> > > 
> > > 
> > > Hi,
> > > 
> > > is there a mockobject example available? I have a problem generating a
> > > simple mockobject. I specified the tag "@mock.generate className
> > > MockComponent" in the JavaDoc of my Component.java class. I then ran the
> > > following task over it, but nothing happens. No mockobject is getting
> > > generated. I assume, I'm missing something very simple.
> > > 
> > >     <mockdoclet destdir="${maven.build.dir}/xdoclet/test"
> > >       force="true"
> > >       verbose="true">
> > >       <ant:fileset dir="${basedir}/src/java">
> > >         <ant:include name="**/*.java"/>
> > >       </ant:fileset>
> > >       <mockobject/>
> > >     </mockdoclet>
> > > 
> > > Help is greatly appreciated.
> > > Dominik
> > > 
> > > 
> > > On Sun, 2003-09-14 at 21:55, Mick Knutson wrote:
> > > > Does anyone have any mockObjectExamples to share?
> > > > 
> > > > ---
> > > > Thanks
> > > > Mick Knutson
> > > > http://www.baselogic.com
> > > > 
> > > > +001(805) 563-0666 Office
> > > > +001 (708) 570-2772 Fax
> > > > ---
> > > > 
> > > > 
> > > > -------------------------------------------------------
> > > > 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
> > > 
> > > 
> > > -------------------------------------------------------
> > > 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
> 
> 
> 
> -------------------------------------------------------
> 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