| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| |
| Version: $Id: build.xml,v 1.1 2006/01/04 17:01:07 ryman Exp $ |
| |
| Ant build script for WTP 1.0.1 Plan Web pages. |
| |
| ChangeLog: |
| |
| 2006-01-04: Arthur Ryman <ryman@ca.ibm.com> |
| - Copied from WTP 1.0. |
| |
| 2005-11-29: Arthur Ryman <ryman@ca.ibm.com> |
| - Added adopter hot bug list. |
| |
| 2005-10-13: Arthur Ryman <ryman@ca.ibm.com> |
| - Added milestone-plan-index. |
| |
| 2005-10-12: Arthur Ryman <ryman@ca.ibm.com> |
| - Merged in contents from bugliist directory. |
| |
| 2005-10-02: Arthur Ryman <ryman@ca.ibm.com> |
| - Added buglist reports. |
| |
| 2005-09-21: Arthur Ryman <ryman@ca.ibm.com> |
| - Reorganized the Web pages so they can be built independently. |
| |
| --> |
| |
| <project name="webtools" default="main" basedir="."> |
| |
| <description> |
| Generates the Adopter Hot Bug List report. |
| </description> |
| |
| <target name="main" depends="validate, hotlist, html" description="Build WTP 1.0.1 Plans Web pages." /> |
| |
| <target name="validate" description="Validates all XML files."> |
| <xmlvalidate lenient="true"> |
| <fileset dir="." includes="**/*.xml, **/*.xsl" /> |
| </xmlvalidate> |
| </target> |
| |
| <target name="html" depends="validate" description="Transforms XML to HTML."> |
| |
| <xslt style="stylesheets/wtp.xsl" includes="**/*.xml" excludes="adopter-buglist.xml, adopter-hotlist-data.xml, adopter-unresolved-table.xml, build.xml" destdir="." /> |
| |
| </target> |
| |
| <target name="hotlist" description="Generates the Adopter Hot Bug List report."> |
| |
| <xslt style="stylesheets/hotlist-properties.xsl" in="adopter-hotlist-data.xml" out="adopter-bugids.properties" /> |
| <property file="adopter-bugids.properties" /> |
| <echo message="adopter_bugids=${adopter_bugids}" /> |
| |
| <property name="base" value="https://bugs.eclipse.org/bugs/buglist.cgi?ctype=rdf" /> |
| <property name="columnlist" value="columnlist=target_milestone,short_short_desc,bug_severity,priority,bug_status,assigned_to,resolution" /> |
| <property name="bugids" value="bug_id=${adopter_bugids}" /> |
| <get dest="adopter-buglist.xml" src="${base}&${columnlist}&${bugids}" /> |
| |
| |
| <tstamp> |
| <format property="TIMESTAMP" pattern="yyyy-MM-dd HH:mm:ss z" locale="en" timezone="UTC"/> |
| </tstamp> |
| <xslt style="stylesheets/hotlist-report.xsl" in="adopter-hotlist-data.xml" out="adopter-hotlist-report.xml"> |
| <param name="timestamp" expression="${TIMESTAMP}" /> |
| </xslt> |
| |
| <xslt style="stylesheets/hotlist-unresolved-table.xsl" in="adopter-buglist.xml" out="adopter-unresolved-table.xml"> |
| <param name="timestamp" expression="${TIMESTAMP}" /> |
| </xslt> |
| |
| </target> |
| |
| </project> |