Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Commit

Permalink
enable usage of custom javaagent
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlermitage committed Jun 13, 2015
1 parent 85f37f6 commit 4190096
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ public static void extBrowser(String url) {
* @return the JaCoCo-Agent JAR.
*/
public static File getJacocoAgentJar() {
if (Config.isUseCustomJacocoJar()) {
File jacocoagent = new File(Config.getCustomJacocoJarPath());
if (jacocoagent.exists()) {
return jacocoagent;
}
}
return InstalledFileLocator.getDefault().locate("modules/ext/jacocoagent.jar", "fr.tikione.jacoco.lib", false);
}

Expand Down

0 comments on commit 4190096

Please sign in to comment.