forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r522347 - /forrest/trunk/main/webapp/resources/stylesheets/pluginBuildFiles-to-pluginDescriptor.xsl
Date Sun, 25 Mar 2007 21:00:52 GMT
Author: rgardler
Date: Sun Mar 25 14:00:51 2007
New Revision: 522347

URL: http://svn.apache.org/viewvc?view=rev&rev=522347
Log:
Add test for publish=true property

Modified:
    forrest/trunk/main/webapp/resources/stylesheets/pluginBuildFiles-to-pluginDescriptor.xsl

Modified: forrest/trunk/main/webapp/resources/stylesheets/pluginBuildFiles-to-pluginDescriptor.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources/stylesheets/pluginBuildFiles-to-pluginDescriptor.xsl?view=diff&rev=522347&r1=522346&r2=522347
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/pluginBuildFiles-to-pluginDescriptor.xsl
(original)
+++ forrest/trunk/main/webapp/resources/stylesheets/pluginBuildFiles-to-pluginDescriptor.xsl
Sun Mar 25 14:00:51 2007
@@ -12,6 +12,7 @@
     </xsl:template>
     
     <xsl:template match="project">
+      <xsl:if test="property[@name='publish']/@value='true'">
         <plugin>
             <xsl:attribute name="name"><xsl:value-of select="property[@name='plugin-name']/@value"/></xsl:attribute>
             <xsl:attribute name="type"><xsl:value-of select="property[@name='type']/@value"/></xsl:attribute>
@@ -25,5 +26,6 @@
               <xsl:value-of select="property[@name='description']/@value"/>
             </description>
         </plugin>       
+      </xsl:if>
     </xsl:template>
 </xsl:stylesheet>



Mime
View raw message