blob: 31c3fd84ed7361f5ac4dee363a48794bce1bad99 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Change Log:
2005-06-22 Arthur Ryman <ryman@ca.ibm.com>
- committed code from Elias Volanakis <evolanakis@innoopract.de>
- created rdf task to query Bugzilla via Ant get task
-->
<project name="wtp-bug2html" default="main" basedir=".">
<target name="main" depends="rdf, milestone-plan, html" description="Builds HTML files" />
<target name="bug-query" description="Fetch bugs from bugzilla">
<java dir="bin/" classname="bug2html.BugFetcher" fork="true">
<arg value="--with-empty-milestones"/>
<assertions><enable/></assertions>
</java>
</target>
<target name="validate" description="Validates all XML and XSLT files.">
<xmlvalidate lenient="true">
<fileset dir="." includes="**/*.xml, **/*.xsl, **/*.xsd" />
</xmlvalidate>
</target>
<target name="html" depends="validate" description="Transforms XML to HTML.">
<xslt
style="INTERNAL/development/milestone_plans/stylesheets/bug2html.xsl"
basedir="bin/"
includes="enhancement_overview.xml"
destdir="INTERNAL/development/milestone_plans/stylesheets/html"
force="true" />
</target>
<target name="rdf" description="Gets bugs from Bugzilla in RDF format.">
<get dest="bin/enhancements-rdf.xml" src="https://bugs.eclipse.org/bugs/buglist.cgi?product=Web+Tools&amp;bug_status=NEW&amp;bug_severity=enhancement&amp;ctype=rdf&amp;columnlist=target_milestone,priority,short_short_desc,component" />
</target>
<target name="milestone-plan" depends="rdf" description="Transforms RDF into Milestone Plan format.">
<xslt style="rdf2milestone-xsl.xml" in="bin/enhancements-rdf.xml" out="bin/enhancement_overview.xml" force="yes"/>
</target>
</project>