[oXygen-user] debugging a java extension?
Kai Hackemesser
Mon May 21 05:21:38 CDT 2007
Hello,
I attached the extension source. (It's not finished yet ;-) ) A part of
the xsl file follows:
<xsl:template name="addressesToString">
<xsl:param name="nodes"/>
<xsl:value-of select="helper:getAddressContent($nodes)"
xmlns:helper="xalan://com.avitech.xslextension.FlightPlanHelper"/>
</xsl:template>
...
<xsl:variable name="content">
<xsl:call-template name="addressesToString">
<xsl:with-param name="nodes">
<xsl:for-each select="Addresses">
<xsl:copy-of select="."/>
</xsl:for-each>
<xsl:for-each
select="FlightPlanInfo/ExtraAddresses">
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:with-param>
</xsl:call-template>
</xsl:variable>
...
Sorin Ristache schrieb:
> Hello,
>
> You should set the extensions in a transformation scenario in the
> Editor perspective and start the debugger with the Debug Scenario
> action. If you add the extensions in the Debugger perspective using
> the Edit extensions button then they are not saved.
>
> I cannot reproduce the problem of refreshing the extension. Can you
> send us sample files for reproducing?
>
>
> Regards,
> Sorin
>
>
> Kai Hackemesser wrote:
>> That would be the behavior I would expect, but I tried several times
>> and controlled the log output. Even when I commented out my log
>> statements the log showed them again and again. I had to restart
>> Eclipse to get the extension class correctly reloaded. BTW, it is
>> annoying that the configuration of extensions get lost between
>> Eclipse sessions, because I always have to set them up again.
>>
>> Ciao!
>> Kai
>
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FlightPlanHelper.java
Url: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20070521/aa81563e/attachment.pl
More information about the oXygen-user
mailing list