[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] [p2] ProcessingStepHandler.canProcess(IArtifactDescriptor descriptor) ..

.. is currently used within the MirrorRequest to decide whether a ´optimized´ artifact should be used for mirroring. The current logic to decide whether this can be done is only based on the fact that all required processing step implementations (extensions) are available.
I think that this is not sufficient, because:
- for the unpack200, the unpack200.exe may not be available (o.e.e.i.p2.jarprocessor.UnpackStep.canUnpack() )
- for the delta steps, the required predecessor artifact may not be locally available

In such cases the canProcess() would return true, but processing would fail.
Do I miss something?