blob: 6e8b4f9cfa91f1907aef19a78eeaf57749ee2256 [file] [log] [blame]
ndai2ded1c12006-01-29 09:58:38 +00001<project basedir=".">
2 <dirname file="${ant.file}" property="bugloglib.dir" />
3
4 <path id="rlog.path">
5 <fileset dir="${bugloglib.dir}/libs">
6 <include name="*.jar" />
7 </fileset>
8 </path>
9 <!-- *** change the repo info -->
10 <property name="mapCvsRoot" value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
11 <property name="whatisfixed.dir" value="${buildDirectory}/${buildLabel}/whatisfixed" />
12 <property name="whatisfixed.toBuildId" value="${buildLabel}" />
13
14 <target name="init">
15 <condition property="doTrial">
16 <equals arg1="${build.trial}" arg2="true" />
17 </condition>
18 </target>
19
20
21
22 <target name="whatisfixed-log" description="--> Builds a whatisfixed log from cvs bugzilla">
23
24
25 <tstamp>
26 <format property="whatisfixed.to.date" pattern="yyyy-MM-dd HH:mm:ss 'GMT'" locale="en" />
27 </tstamp>
28
29
30 <mkdir dir="${whatisfixed.dir}" />
31 <mkdir dir="${whatisfixed.dir}/cvs" />
32 <mkdir dir="${whatisfixed.dir}/bugs" />
33
ndai2a503e32006-01-30 08:17:15 +000034 <java taskname="cvsbugz" classpathref="rlog.path" fork="true" classname="org.eclipse.wtp.releng.cvslog.tools.Main" failonerror="false">
ndai2ded1c12006-01-29 09:58:38 +000035 <jvmarg value="-Xms128m" />
david_williams9d781aa2006-03-01 06:50:36 +000036 <jvmarg value="-Xmx1024m" />
37 <jvmarg value="-Xcompactgc" />
38
ndai2ded1c12006-01-29 09:58:38 +000039 <arg value="${mapCvsRoot}" />
40 <arg value="${whatisfixed.since.date}" />
41 <arg value="${whatisfixed.to.date}" />
42 <!--arg value="${whatisfixed.to.branch}" /-->
43 <arg value="HEAD" />
44 <arg value="${whatisfixed.dir}/cvs/rlog.xml" />
45 <arg value="${whatisfixed.dir}/bugs/buglog.xml" />
46 <arg value="${whatisfixed.targetMilestones}" />
47 <arg value="${whatisfixed.status}" />
48 <arg value="${whatisfixed.fromBuildId}" />
49 <arg value="${whatisfixed.toBuildId}" />
50 <arg value="${whatisfixed.modules}" />
51 </java>
52 </target>
53
54 <target name="whatisfixed-html">
55 <style style="${bugloglib.dir}/templates/whatsfixed.xsl"
56 basedir="${whatisfixed.dir}/bugs"
57 destdir="${whatisfixed.dir}" />
58 <copy todir="${whatisfixed.dir}">
59 <fileset dir="${bugloglib.dir}/templates" id="id">
60 <include name="buglog_style.css"/>
61 <include name="images/*.gif"/>
62 </fileset>
63 </copy>
64 </target>
65
66 <target name="whatisfixed" depends="init" description="what is fixed" unless="doTrial">
67 <antcall target="whatisfixed-log"></antcall>
68 <antcall target="whatisfixed-html"></antcall>
69 </target>
70
71</project>