Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-core-dev] e4 Resources Kickoff Meeting

Hi all,

I think the important point is to acknowledge that aliasing
generates ambiguity: should the aliased file be treated with
identical context or different context? I think that users
should be able to choose the semantics.

In E4, choosing the semantics should be explicit, and
simple for the user. In fact, the whole topic of Aliasing
seems like a theme and big rock for E4 Resources by itself.

In Eclipse 3.x, you can choose semantics as follows:

(a) Create a symbolic link on the file system in order
    to create the alias --> file is treated with different
    context (different markers, different parsing, different
    project, ...)

(b) Create a linked resource for in order to create the 
    alias --> If the linked resource points into an 
    existing project, that project's context will be
    the "native context" of the file and used regardless
    of wherever the file is linked into.

I'm not sure about the context when two linked resources
point to the same file (outside the workspace) -- it's
ambiguous.

Both options (a) and (b) can make sense in some scenarios,
there is no "better" or "worse" one.

Part of the E4 resources effort, IMHO, should be resolving
such ambiguities.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm


Back to the top