axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <>
Subject Re: Axis2 codegen template modularization
Date Thu, 31 May 2007 13:32:17 GMT
Sure. thanks!.

-- dims

On 5/31/07, Peter Danielsen <> wrote:
> Hi,
> I've been trying to create my own Axis2 codegen XSLT templates and
> would like to factor out some common templates to a separate file
> that can be included by others.  An example is a template that
> generates a method signature.  It would be included in a template
> that generate an interface and in one that generates an implementation
> class.
> The current URI resolver used by the
> AxisServiceBasedMultiLanguageEmitter, XSLTIncludeResolver, requires
> the value of an <xsl:include>'s href
> attribute to be a property that's in its CodeGenConfiguration object.
> It looks like the only way to set the property is to write code.
> I'd rather just refer to it directly (setting the href to a value
> that can be found by getResourceAsStream).  This should make
> it easier to maintain the templates since there won't be duplicate
> code to update when something changes.
> I can open a JIRA and submit a patch that supports the current property
> mechanism and the direct reference, if you'd like.
> Peter
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Davanum Srinivas ::

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message