Re: Order of cluster searching with ace file (recent snapshot)

"Cyril ADRIAN" <[email protected]> Wed, 13 Dec 2006 17:39:46 +0100
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
Hi Dominique,

On 12/13/06, Colnet Dominique <[email protected]> wrote:
> You just have to use a long distance (i.e. in a deep directory).

I think I have found an example where distance is not enough: what if
you have two libraries, say "banking" and "address book", that have a
class PERSON (one pointing to their bank accounts; the other having
the person's address), and you want to use both? One solution is to
bridge both but I don't find it ideal since you need quite a complex
setting:

root/root.e -- uses BANK_PERSON and ADDRESS_BOOK_PERSON
 + bridge_bank/bank_person.e -- facade of bank's PERSON
 |  + bank/person.e
 + bridge_address_book/address_book_person.e -- facade of address book's PE=
RSON
    + address_book/person.e

I don't find it ideal because the library's code needs to be nested
*inside* the application tree :-(

Any ideas?
--=20
Cyril ADRIAN - http://www.cadrian.net/~cyril

Vt Sol inter planetas,
Ita MVSICA inter Artes Liberales
in medio radiat
-- Heinrich Sch=FCtz, 1640