On Fri, 18 Jan 2002 12:40:44 -0500, "Vadim Gritsenko" <[EMAIL PROTECTED]> 
wrote:

> > From: Butler, Mark [mailto:[EMAIL PROTECTED]]
> > 
> > I've got the latest CVS and yes I experience the same problem. It
> > seems to be due to the following lines in TraxTransformer.java:
> > 
> >        if (this.manager.hasComponent(Deli.ROLE)) {
> >             if (this.getLogger().isDebugEnabled()) {
> >                 getLogger().debug("Looking up " + Deli.ROLE);
> >             }
> >             this.deli = (Deli) manager.lookup(Deli.ROLE);
> >         } else {
> >                     getLogger().debug("Deli is not available");
> >         }
> > 
> > The test this.manager.hasComponent(Deli.ROLE) is failing, even
> > though Deli does exist - does anyone know why?
> > 
> > If you comment out the if statement and the else clause it works.
> > 
> > Perhaps I need to add some code in the Deli component - can anyone
> > > point me at an example?
> 
> Thanks Mark! I have got Deli example working. No, you do not need to
> change anything; I have found a bug (or feature) in Avalon code.

Good, thanks Mark and Vadim for figuring this out!

Regards,
Ovidiu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to