From 30bc8e190e9a90fc43f5f68c499062cd58db3ebe Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Mon, 24 Apr 2017 09:13:21 +0200 Subject: Add profile for compilation with ECJ (#522) --- org.jacoco.doc/docroot/doc/build.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'org.jacoco.doc/docroot') diff --git a/org.jacoco.doc/docroot/doc/build.html b/org.jacoco.doc/docroot/doc/build.html index bc926567..89df34c3 100644 --- a/org.jacoco.doc/docroot/doc/build.html +++ b/org.jacoco.doc/docroot/doc/build.html @@ -151,6 +151,14 @@ mvn --toolchains path clean install -Djdk.version=version +

+ Also Eclipse Compiler for Java can be used for compilation: +

+ +
+  mvn clean install -Decj
+
+

In addition JaCoCo can be compiled for higher class file versions than 1.5 specifying the property bytecode.version. Note that in this case @@ -164,6 +172,7 @@

  • Maven with 1.6 JDK: mvn clean install -Djdk.version=1.6 -Dbytecode.version=1.6
  • Maven with 1.7 JDK: mvn clean install -Djdk.version=1.7 -Dbytecode.version=1.7
  • Maven with 1.8 JDK: mvn clean install -Djdk.version=1.8 -Dbytecode.version=1.8
  • +
  • Maven with 1.8 JDK: mvn clean install -Djdk.version=1.8 -Dbytecode.version=1.8 -Decj
  • Maven with 1.9 JDK: mvn clean install -Djdk.version=1.9 -Dbytecode.version=1.9
  • -- cgit v1.2.3