Browse Source

don't distribute CGI scripts

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273870 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
f47928c6f0
1 changed files with 19 additions and 2 deletions
  1. +19
    -2
      build.xml

+ 19
- 2
build.xml View File

@@ -309,6 +309,18 @@
<include name="${ant.package}/types/AbstractFileSetTest*"/> <include name="${ant.package}/types/AbstractFileSetTest*"/>
</patternset> </patternset>


<!--
===================================================================
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 Check to see what optional dependencies are available
@@ -1025,12 +1037,16 @@
<copy todir="${dist.lib}" file="${lib.dir}/README"/> <copy todir="${dist.lib}" file="${lib.dir}/README"/>


<copy todir="${dist.docs}"> <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"/> <filterchain refid="ant.filters"/>
</copy> </copy>


<copy todir="${dist.docs}" filtering="false"> <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>


<copy todir="${dist.dir}"> <copy todir="${dist.dir}">
@@ -1120,6 +1136,7 @@
<copy todir="${src.dist.docs}"> <copy todir="${src.dist.docs}">
<fileset dir="${docs.dir}"> <fileset dir="${docs.dir}">
<exclude name="manual/api/**"/> <exclude name="manual/api/**"/>
<patternset refid="site.excludes"/>
</fileset> </fileset>
</copy> </copy>




Loading…
Cancel
Save