From: <ap...@vh...> - 2005-09-21 16:57:30
|
Author: apevec Date: 2005-09-21 18:47:54 +0200 (Wed, 21 Sep 2005) New Revision: 886 Modified: trunk/tools/devel/xsl/build-template.xsl Log: SF patch [ 1242167 ] Improving build performances Modified: trunk/tools/devel/xsl/build-template.xsl =================================================================== --- trunk/tools/devel/xsl/build-template.xsl 2005-09-21 12:31:41 UTC (rev 885) +++ trunk/tools/devel/xsl/build-template.xsl 2005-09-21 16:47:54 UTC (rev 886) @@ -297,10 +297,14 @@ </xsl:for-each> </xsl:when> <xsl:otherwise> - <xsl:call-template name="AppPropertyClassPath_Requires"> - <xsl:with-param name="requires" select="$requires"/> - <xsl:with-param name="type" select="$type"/> - </xsl:call-template> + <xsl:variable name="classPathRequires"> + <xsl:call-template name="AppPropertyClassPath_Requires"> + <xsl:with-param name="requires" select="$requires"/> + <xsl:with-param name="type" select="$type"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="classPathRequiresNodeSet" select="common:nodeSet($classPathRequires)" /> + <xsl:copy-of select="$classPathRequiresNodeSet/path[not(@refid=following::path/@refid)]"/> </xsl:otherwise> </xsl:choose> <xsl:for-each select="/ccm:project/ccm:prebuilt/ccm:application"> |