bodewig 2003/01/24 02:49:11 Modified: . Tag: ANT_15_BRANCH build.xml Log: don't distribute CGI scripts Revision Changes Path No revision No revision 1.304.2.39 +19 -2 jakarta-ant/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-ant/build.xml,v retrieving revision 1.304.2.38 retrieving revision 1.304.2.39 diff -u -r1.304.2.38 -r1.304.2.39 --- build.xml 13 Jan 2003 12:39:17 -0000 1.304.2.38 +++ build.xml 24 Jan 2003 10:49:11 -0000 1.304.2.39 @@ -323,6 +323,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 =================================================================== --> @@ -818,12 +830,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}"> @@ -910,6 +926,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]>