jacoco/jacoco — pull request #262 by debugger (2014-11-21 14:36:45+00:00)
Title: Agent cfg with environment variables

New Feature enables Jacoco agent to output "exec" results to a platform dependent directory. Examples java.io.tempdir or user.home.

Example setting the agent's destfile in jacoco-agent.properties:

replaceproperties=true
destfile=${user.home}/coverage-data/coverage.exec

The replacement feature is disabled by default. It can be enabled by
adding replaceproperties=true in agent's
jacoco-agent.properties. Alternatively the file's
configuration can be overridden by the system property
-Djacoco-agent.replaceproperties=true on java command
line.

The initial escaping mechanism was removed due to conflicts with Windows paths and anonymous classes (for more details see documentation). Documentation has been updated and explains the effects of enabling replaceproperties.