You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by kn...@apache.org on 2003/03/05 19:31:22 UTC

cvs commit: jakarta-turbine-maven/src/plugins-build/xdoc plugin.jelly

knielsen    2003/03/05 10:31:22

  Modified:    src/plugins-build/xdoc plugin.jelly
  Log:
  STOP making these freaking#!#�# stylesheets dir!
  
  Revision  Changes    Path
  1.16      +9 -12     jakarta-turbine-maven/src/plugins-build/xdoc/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/plugin.jelly,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- plugin.jelly	26 Feb 2003 19:59:10 -0000	1.15
  +++ plugin.jelly	5 Mar 2003 18:31:21 -0000	1.16
  @@ -460,18 +460,15 @@
           </fileset>
         </copy>
   
  -
  -      <!-- A hack to make the fileset below work. The files don't have to be
  -         present but the directory does. -->
  -      <mkdir dir="${maven.docs.src}/stylesheets"/>
  -
  -      <!-- Copy user supplied stylesheets, can override maven -->
  -      <copy todir="${maven.docs.dest}/style" overwrite="true" filtering="no">
  -        <fileset dir="${maven.docs.src}/stylesheets">
  -          <include name="**/*.css"/>
  -        </fileset>
  -      </copy>
  -
  +      <util:available file="${maven.docs.src}/stylesheets">
  +        <!-- Copy user supplied stylesheets, can override maven -->
  +        <copy todir="${maven.docs.dest}/style" overwrite="true" filtering="no">
  +          <fileset dir="${maven.docs.src}/stylesheets">
  +            <include name="**/*.css"/>
  +          </fileset>
  +        </copy>
  +      </util:available>
  + 
       </j:if>
     </goal>