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="[EMAIL PROTECTED]'publish']/@value='true'">
         <plugin>
             <xsl:attribute name="name"><xsl:value-of select="[EMAIL 
PROTECTED]'plugin-name']/@value"/></xsl:attribute>
             <xsl:attribute name="type"><xsl:value-of select="[EMAIL 
PROTECTED]'type']/@value"/></xsl:attribute>
@@ -25,5 +26,6 @@
               <xsl:value-of select="[EMAIL PROTECTED]'description']/@value"/>
             </description>
         </plugin>       
+      </xsl:if>
     </xsl:template>
 </xsl:stylesheet>