diff options
author | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2014-12-26 17:47:32 +0100 |
---|---|---|
committer | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2014-12-26 17:51:04 +0100 |
commit | 0092055e81f99968780cc7ad347d44c056ec4ff5 (patch) | |
tree | d9256510195bf514e8191d1c2c5d0d941546db67 /org.jacoco.doc/docroot | |
parent | 0d72a8280e28e445c1470e12f44c3434b9d7b56b (diff) | |
download | jacoco-0092055e81f99968780cc7ad347d44c056ec4ff5.tar.gz |
GitHub #262: Variable replacement for offline agent configuration.
For offline agent configuration properties can now contain variables in
${name} format which will be replaced with system properties at runtime.
Based on original PR by user 'debugger'.
Diffstat (limited to 'org.jacoco.doc/docroot')
-rw-r--r-- | org.jacoco.doc/docroot/doc/changes.html | 7 | ||||
-rw-r--r-- | org.jacoco.doc/docroot/doc/offline.html | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/org.jacoco.doc/docroot/doc/changes.html b/org.jacoco.doc/docroot/doc/changes.html index 0a1af5e0..4e808f21 100644 --- a/org.jacoco.doc/docroot/doc/changes.html +++ b/org.jacoco.doc/docroot/doc/changes.html @@ -20,6 +20,13 @@ <h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2> +<h3>New Features</h3> +<ul> + <li>For offline instrumemtation agent configuration supports system properties + replacements. Implementation based on pull request of GitHub user 'debugger' + (GitHub <a href="https://github.com/jacoco/jacoco/issues/262">#226</a>).</li> +</ul> + <h2>Release 0.7.2 (2014/09/12)</h2> <h3>Fixed Bugs</h3> diff --git a/org.jacoco.doc/docroot/doc/offline.html b/org.jacoco.doc/docroot/doc/offline.html index a6d31b67..9b390384 100644 --- a/org.jacoco.doc/docroot/doc/offline.html +++ b/org.jacoco.doc/docroot/doc/offline.html @@ -61,6 +61,16 @@ "<code>jacoco-agent.destfile</code>".</li> </ul> +<p> + In both cases configuration values may contain variables in the format + <code>${<i>name</i>}</code> which are resolved with system property values + at runtime. For example: +</p> + +<pre class="source"> +destfile=${user.home}/jacoco.exec +</pre> + <h2>Class Loading and Initialization</h2> <p> Unlike with on-the-fly instrumentation offline instrumented classes get a |