diff -ruN aspectj1.5-orig/doc/examples/build.xml aspectj1.5/doc/examples/build.xml
--- aspectj1.5-orig/doc/examples/build.xml	2005-12-20 12:06:58.000000000 -0500
+++ aspectj1.5/doc/examples/build.xml	2006-03-28 09:37:56.000000000 -0500
@@ -14,6 +14,15 @@
 
 <project name="aspectj-examples" default="spacewar" basedir=".">
 
+	<property name="cobertura.dir" value="C:/eclipse-workspace/cobertura" />
+	<path id="cobertura.classpath">
+		<fileset dir="${cobertura.dir}">
+			<include name="cobertura.jar" />
+			<include name="lib/**/*.jar" />
+		</fileset>
+	</path>
+	<taskdef classpathref="cobertura.classpath" resource="tasks.properties"/>
+
     <target name="info" >
       <echo>
   This script builds the AspectJ examples.  
@@ -135,10 +144,22 @@
        		forkclasspath="${aspectjtools.jar}"
           classpath="${aspectjrt.jar}"/>
 
+       <delete quiet="on" file="${example.dir}/cobertura.ser" />
+       <cobertura-instrument>
+         <fileset dir="${classes.dir}" />
+       </cobertura-instrument>
+
        <antcall target="Ajx-run" >
          <param name="class" value="${class}"/>
        </antcall>
 
+       <delete quiet="on" dir="${example.dir}/cobertura-html" />
+       <cobertura-report destdir="${example.dir}/cobertura-html">
+         <fileset dir="${example.dir}">
+           <include name="**/*.java" />
+         </fileset>
+       </cobertura-report>
+
     </target>
 
     <target name="Ajx-run" 
@@ -150,6 +171,7 @@
            <pathelement path="${classes.dir}"/>
            <pathelement path="${aspectjrt.jar}"/>
           </classpath>
+          <classpath refid="cobertura.classpath" />
        </java>
     </target>
 
