sca-assembly message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: [ISSUE 214] cyclic import resolutions in testcases ASM_13001, ASM_13002, ASM_13003, ASM_13004, ASM_13005, ASM_13006, ASM_13007, ASM_13008
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: "OASIS Assembly" <sca-assembly@lists.oasis-open.org>
- Date: Tue, 12 Jan 2010 14:29:21 +0000
Folks,
I believe that this issue is invalid.
The issue claims that "cyclic import
resolutions" exist in the named testcases.
I believe that cyclic import resolutions
are impossible by design for the SCA artifact resolution mechanism, as
stated in Section 10.2.1 of the Assembly spec (CD04):
"When
a contribution contains a reference to an artifact from a namespace that
is declared in an import statement of the contribution, if the SCA artifact
resolution mechanism is used to resolve the artifact, the SCA runtime MUST
resolve artifacts in the following order:
1. from
the locations identified by the import statement(s) for the namespace.
Locations MUST NOT be searched recursively in order to locate artifacts
(i.e. only a one-level search is performed).
2. from
the contents of the contribution itself.
[ASM12023]"
Note the normative statement here that
forbids recursive searching of locations.
This means that if contribution A imports
artifacts from a given namespace from contribution B,
and contribution B also imports artifacts
in the same namespace from contribution C, then contribution A
DOES NOT import any artifacts in that
namespace from contribution C (assuming A has no explicit imports
from contribution C).
This one-deep import mechanism precludes
cycles.
Yours, Mike.
Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014 Mobile: +44-7802-467431
Email: mike_edwards@uk.ibm.com
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]