cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject Re: List of issues with samples (RE: Samples not working!!!!!!)
Date Fri, 18 Jan 2002 17:50:21 GMT
On Fri, 18 Jan 2002 12:40:44 -0500, "Vadim Gritsenko" <vadim.gritsenko@verizon.net> wrote:

> > From: Butler, Mark [mailto:Mark_Butler@hplb.hpl.hp.com]
> > 
> > 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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message