#21 Simplify postcompiler Ant task

Current Release
closed
5
2004-03-14
2004-02-21
No

The GroboCoverage post-compiler Ant task should be
simplified to make the build scripts easier to maintain.

The user shouldn't need to remember (or type) the huge
text names to specify the logger type. Simplified
versions should be used.

Also, the log directory and data directory should be
specified by a single parameter; the tool would
generate automatically the subdirectories.

I'm envisioning the postcompiler Ant code to look
something like:

<grobo-instrument logdir="${dir.coverage}"
destdir="${dir.coverage}/classes" logger="safe">
<fileset dir="${dir.classes}" />

<measure type="lines" />
<measure type="branches" />
</grobo-instrument>

where "logger" would be optional (defaulting to
"cached"). The "logdir" would create a "data" and
"log" subdirectory underneath it.

Specifying logger="none" would not use a logger; you
would have to construct your own
grobocoverage.properties file.

This new task would cause the original to be deprecated.

Discussion

  • Matt Albrecht

    Matt Albrecht - 2004-02-21

    Logged In: YES
    user_id=171822

    Also, in consideration of bug 894999, add an option
    declaring what to do with "historical" results - should
    existing data related to a newly compiled class file be
    removed or kept?

     
  • Matt Albrecht

    Matt Albrecht - 2004-03-09

    Logged In: YES
    user_id=171822

    Add an embedded tag "loggerprop":
    <loggerprop key="cache" value="200" />

     
  • Matt Albrecht

    Matt Albrecht - 2004-03-09

    Logged In: YES
    user_id=171822

    Started work on this one.

     
  • Matt Albrecht

    Matt Albrecht - 2004-03-14
    • status: open --> closed
     
  • Matt Albrecht

    Matt Albrecht - 2004-03-14

    Logged In: YES
    user_id=171822

    This task is now done. I need to complete the documentation
    (another task), but it looks finished.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks