55f1c279c5
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352212 13f79535-47bb-0310-9956-ffa450edef68
76 lines
4.0 KiB
Plaintext
76 lines
4.0 KiB
Plaintext
<!-- =================================================================== -->
|
|
<!-- Gets pending patches from bugzilla and cleans html -->
|
|
<!-- =================================================================== -->
|
|
<target name="prepare-patchqueue" depends="init" description="Patch queue 2 mail">
|
|
<mkdir dir="${build.patchqueue}"/>
|
|
<get src="http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Cocoon+2&short_desc=%5BPATCH%5D&short_desc_type=anywordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&namedcmd=cocoon+patch+queue&newqueryname=&order=Reuse+same+sort+as+last+time"
|
|
dest="${build.patchqueue}/bugzillapatchqueue.html"
|
|
verbose="true"
|
|
usetimestamp="true"
|
|
ignoreerrors="true"/>
|
|
|
|
<taskdef name="jtidy" classname="JTidyTask"
|
|
classpath="${tools.dir}/anttasks"/>
|
|
|
|
<jtidy src="${build.patchqueue}/bugzillapatchqueue.html"
|
|
dest="${build.patchqueue}/bugzillapatchqueue.xhtml"
|
|
log="${build.patchqueue}/bugzillapatchqueue.log"
|
|
summary="true"
|
|
warn="true"/>
|
|
|
|
</target>
|
|
|
|
<!-- =================================================================== -->
|
|
<!-- Transforms bugzilla patches html into xml -->
|
|
<!-- =================================================================== -->
|
|
<target name="patchqueue-xml" depends="prepare-patchqueue">
|
|
<copy file="${tools.dir}/src/bugzilla2patchqueue.xsl" tofile="${build.patchqueue}/bugzilla2patchqueue.xsl"/>
|
|
<style basedir="${build.patchqueue}"
|
|
destdir="${build.patchqueue}"
|
|
includes="bugzillapatchqueue.xhtml"
|
|
extension=".xml"
|
|
style="bugzilla2patchqueue.xsl"/>
|
|
|
|
</target>
|
|
|
|
<!-- =================================================================== -->
|
|
<!-- Makes patches.xml for xdocs using bugzilla patches xml -->
|
|
<!-- =================================================================== -->
|
|
<target name="patchqueue-xdocs" depends="patchqueue-xml">
|
|
<copy file="${tools.dir}/src/patchqueue2xdocs.xsl" tofile="${build.patchqueue}/patchqueue2xdocs.xsl"/>
|
|
|
|
<style basedir="${build.patchqueue}"
|
|
destdir="${build.patchqueue}"
|
|
includes="bugzillapatchqueue.xml"
|
|
extension=".xdoc"
|
|
style="patchqueue2xdocs.xsl"/>
|
|
|
|
<copy file="${build.patchqueue}/bugzillapatchqueue.xdoc" tofile="${docs.dir}/patches.xml"/>
|
|
|
|
</target>
|
|
|
|
<!-- =================================================================== -->
|
|
<!-- Sends a notification of the current patch queue to the mailing list -->
|
|
<!-- =================================================================== -->
|
|
<target name="patchqueue" depends="patchqueue-xdocs">
|
|
<copy file="${tools.dir}/src/patchqueue2text4dev.xsl" tofile="${build.patchqueue}/patchqueue2text4dev.xsl"/>
|
|
<style basedir="${build.patchqueue}"
|
|
destdir="${build.patchqueue}"
|
|
includes="bugzillapatchqueue.xml"
|
|
extension=".txt"
|
|
style="patchqueue2text4dev.xsl"/>
|
|
|
|
</target>
|
|
|
|
<!-- =================================================================== -->
|
|
<!-- Sends a notification of the current patch queue to the mailing list -->
|
|
<!-- =================================================================== -->
|
|
<target name="patchqueue-notify" depends="patchqueue">
|
|
<mail from="patch-queue@nicolaken.com"
|
|
tolist="cocoon-dev@xml.apache.org"
|
|
mailhost="192.4.0.155"
|
|
subject="DO NOT REPLY [PATCH QUEUE] Summary ${TODAY}"
|
|
files="${build.patchqueue}/bugzillapatchqueue.txt"/>
|
|
|
|
</target>
|