Re: classpath problem

"Niclas Hedhman" <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <024c01c48f40$dfa4b990$767d6fc1@hrolssonslda>
Sorry for not being in-line with the answer, as I am on this useless Outlook
Express system....

I think the simple answer is to declare a dependency in A on C, but mark it
as optional.

/** @avalon.dependency type="com.pany.pro.ject.C"
 *   optional="true"
 */

Cheers
Niclas


----- Original Message -----
From: "PRINCE David" <[email protected]>
To: "Avalon framework users" <[email protected]>
Cc: "PRINCE David" <[email protected]>
Sent: Friday, August 27, 2004 3:40 PM
Subject: RE: classpath problem


> hi all,
>
> How to specify component creation order with merlin 3.3.0?
>
> I have the following component scheme:  A->B<-C
> A needs B,
> C needs B,
> A needs C to be created first
> But C is optional (plug-in), so there is no dependency between A and C...
>
> And of course, C is created after A :o(
>
> thanks
>
> David
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.