bodewig     2003/01/24 02:47:20

  Modified:    .        build.xml
  Log:
  don't distribute CGI scripts
  
  Revision  Changes    Path
  1.345     +19 -2     jakarta-ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.xml,v
  retrieving revision 1.344
  retrieving revision 1.345
  diff -u -r1.344 -r1.345
  --- build.xml 16 Jan 2003 13:52:31 -0000      1.344
  +++ build.xml 24 Jan 2003 10:47:19 -0000      1.345
  @@ -311,6 +311,18 @@
   
     <!--
          ===================================================================
  +         Set up a patternsets that matches the parts of our site that
  +         should not be part of the distribution.
  +       ===================================================================
  +  -->
  +  <patternset id="site.excludes">
  +    <exclude name="bindownload.html"/>
  +    <exclude name="srcdownload.html"/>
  +    <exclude name="*.cgi"/>
  +  </patternset>
  +
  +  <!--
  +       ===================================================================
            Check to see what optional dependencies are available
          ===================================================================
     -->
  @@ -1025,12 +1037,16 @@
       <copy todir="${dist.lib}" file="${lib.dir}/README"/>
   
       <copy todir="${dist.docs}">
  -      <fileset dir="${docs.dir}" excludes="${unfiltered.files}"/>
  +      <fileset dir="${docs.dir}" excludes="${unfiltered.files}">
  +        <patternset refid="site.excludes"/>
  +      </fileset>
         <filterchain refid="ant.filters"/>
       </copy>
   
       <copy todir="${dist.docs}" filtering="false">
  -      <fileset dir="${docs.dir}" includes="${unfiltered.files}"/>
  +      <fileset dir="${docs.dir}" includes="${unfiltered.files}">
  +        <patternset refid="site.excludes"/>
  +      </fileset>
       </copy>
   
       <copy todir="${dist.dir}">
  @@ -1120,6 +1136,7 @@
       <copy todir="${src.dist.docs}">
         <fileset dir="${docs.dir}">
           <exclude name="manual/api/**"/>
  +        <patternset refid="site.excludes"/>
         </fileset>
       </copy>
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to