Hi,

I verified the distro and it seems like the transformer is working.  So I
have checked in the transformer under sca\tools\maven\maven-definitions and
have also checked in the changes that I have done to
distribution\bundle\pom.xml

Thanks

- Venkat

On Sun, Mar 2, 2008 at 12:22 AM, Venkata Krishnan <[EMAIL PROTECTED]>
wrote:

> Hi,
>
> I have accidentally deleted this thread from my mail box.  I am not sure
> how this happened when I save a draft of my reply.
>
> So, continuing with that thread...
>
> 1) Sebastien suggested that I check out a couple of scenarios merging
> definitions.xml files using the XMLAppendingTransformer.  As suspected by
> him, the transformer messes up namespaces.
>
> 2) Moving to the Provider option, I wanted to write a provider that reads
> the definitions.xml document and returns the model.  With this I had quite
> a bit of trouble placing this provider - it could best be in the
> definitions-xml module. But then to instantiate the SCADefnDocProcessor I
> need the STaxProcessorExtensionPoint.  I could have this extracted in the
> Provider if I passed around the ExtensionPointRegistry to the Provider.  But
> the ExtensionPointRegistry interface is in the core module. So what seemed
> best as of now is only a SCADefinitionsFileLocationProvider thro which the
> various modules can return the path to the definitions.xml file within
> them.
>
> Meanwhile, I have written a simple shade transformer that will aggregate
> the definitions.xml and add a wrapper element <tuscany:definitions> in our
> distribution bundle.  I have added some code in the
> SCADefinitionsDocProcessor to deal with this wrapper element.  I am in the
> process of checking this out in a full distro and then will commit.
>
> Thanks
>
> - Venkat
>

Reply via email to