Menu

No reports generated (Ant, on-the-fly mode)

2005-02-01
2013-05-09
  • Nobody/Anonymous

    hello, I'm using emma as an Ant task with on-the-fly processing mode. In my console view I see that it works, but at the end I have not any reports as results of all these operations.

    My target's definition in the build.xml file is as follows:
        <taskdef resource="emma_ant.properties" classpathref="test.classpath"/>

        <target name="emma">
            <emmajava enabled="${emma.enabled}" libclasspathref="emma.lib"
              fullmetadata="yes" sourcepath="${domain.src.dir}"
              classname="${test.class.name}">
             
              <classpath refid="test.classpath"/>
              <!--filter excludes="test.*"/-->
              <txt outfile="${report.emma.dir}/emma-report.txt"/>
              <xml outfile="${report.emma.dir}/emma-report.xml"/>
              <html outfile="${report.emma.dir}/emma-report.html"/>
            </emmajava>
        </target>

    Of course, all class paths, path elements and the class name are previous defined.

    Please, look at my target's definition and advise.
    Maybe I have omitted sth.

    Thanks in advance.
    Joanna

     
    • Vlad Roubtsov

      Vlad Roubtsov - 2005-02-03

      >In my console view I see that it works, but at the end I have not any reports as results of all these operations.

      What does "it works" mean? Do you see any logging from EMMA? Do you see its messages about writing reports when your application finishes and if so, into which location?

      Maybe you could post a relevant extract of your console log.

       

Log in to post a comment.