craigmcc    01/08/04 21:02:31

  Modified:    webapps/tomcat-docs build.xml tomcat-docs.xsl
  Log:
  Pick up the WEB-INF directory when building the tomcat-docs webapp.
  
  Make the project-specific logo URL relative to {$relative-path}.
  
  Revision  Changes    Path
  1.5       +5 -0      jakarta-tomcat-4.0/webapps/tomcat-docs/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml 2001/08/05 03:42:28     1.4
  +++ build.xml 2001/08/05 04:02:30     1.5
  @@ -37,6 +37,11 @@
         </fileset>
       </copy>
   
  +    <!-- WEB-INF Static Files -->
  +    <copy    todir="${webapps.build}/${webapp.name}/WEB-INF">
  +      <fileset dir="WEB-INF"/>
  +    </copy>
  +
       <!-- Application Developer's Guide Examples -->
       <copy    todir="${webapps.build}/${webapp.name}/appdev">
         <fileset dir="appdev" includes="*.txt"/>
  
  
  
  1.2       +2 -2      jakarta-tomcat-4.0/webapps/tomcat-docs/tomcat-docs.xsl
  
  Index: tomcat-docs.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/tomcat-docs.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tomcat-docs.xsl   2001/08/05 03:42:28     1.1
  +++ tomcat-docs.xsl   2001/08/05 04:02:30     1.2
  @@ -1,7 +1,7 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
   <!-- Content Stylesheet for "tomcat-docs" Documentation -->
   
  -<!-- $Id: tomcat-docs.xsl,v 1.1 2001/08/05 03:42:28 craigmcc Exp $ -->
  +<!-- $Id: tomcat-docs.xsl,v 1.2 2001/08/05 04:02:30 craigmcc Exp $ -->
   
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
     version="1.0">
  @@ -78,7 +78,7 @@
               <xsl:value-of select="project/@href"/>
             </xsl:variable>
             <xsl:variable name="src">
  -            <xsl:value-of select="project/logo/@href"/>
  +            <xsl:value-of select="$relative-path"/><xsl:value-of 
select="project/logo/@href"/>
             </xsl:variable>
   
             <xsl:comment>PROJECT LOGO</xsl:comment>
  
  
  

Reply via email to