blob: c507f4f7554df77e202b8d44f6d544ff7345d896 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Version: $Id: build.xml,v 1.2 2006/03/31 22:52:38 jeffliu Exp $
Ant build script for WTP 1.0.2 Plan Web pages.
ChangeLog:
2006-02-23: Jeffrey Liu <jeffliu@ca.ibm.com>
- Copied from WTP 1.0.1
-->
<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.2 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, ramp-down-bugs-approval-data.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}&amp;${columnlist}&amp;${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>
<xslt style="stylesheets/ramp-down-bugs-approval.xsl" in="ramp-down-bugs-approval-data.xml" out="ramp-down-bugs-approval.xml"/>
</target>
</project>