On 4/11/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
ant elder wrote: > On 4/11/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: >> >> ant elder wrote: >> > I'm attempting the same thing just now for script components see [1]. >> > Doesn't work yet, the .componentType file doesn't seem to get >> picked up. >> > Comments welcome... >> > >> > ...ant >> > >> > [1] >> > >> https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/implementation-script/src/main/java/org/apache/tuscany/implementation/script/ScriptArtifactProcessor.java >> >> > >> > >> >> Can you see a .componentType being loaded at all? Is >> ComponentTypeDocumentProcessor called to process .componentType >> documents in your SCA contribution? If not then maybe Luciano can jump >> in here and take a look as the processors are triggered by the >> Contribution service... > > > I'm still debugging and trying to understand how this should work so > can't > articulate well whats going on yet..but so far it looks like in the > SimpleRuntimeImpl start method there are two artifact processor > registries > created, and the one where the ComponentTypeProcessor is added to is > not the > one that processes the contribution so the .componentType side file is > ignored. Does that make any sense? > > ...ant > Yes it makes sense, the SimpleRuntimeImpl is missing the registration of the ComponentTypeDocumentProcessor, I added it under revision r527566. Can you update and try again? Thanks.
Yes thanks thats better, gets past this for now. ...ant
