On Thu, Apr 23, 2009 at 3:19 AM, Raymond Feng <[email protected]> wrote:
> The latest OASIS SCA Assembly Spec has the following: > > 3509 When a contribution contains a reference to an artifact from a > namespace that is declared in an import > 3510 statement of the contribution, if the SCA artifact resolution > mechanism is used to resolve the artifact, the > 3511 SCA runtime MUST resolve artifacts in the following order: > 3512 1. from the locations identified by the import statement(s) for the > namespace. Locations MUST NOT > 3513 be searched recursively in order to locate artifacts (i.e. only a > one-level search is performed). > 3514 2. from the contents of the contribution itself. [ASM12023] > > So it should be import first and local second. This is also the order that > OSGi uses to resolve the classes. > > Interesting.... I believe, this is not going to affect the code in 1.x and we will be planning to adopt this approach in 2.x. -- Thanks & Regards, Ramkumar Ramalingam
