BUILDR-653: Documentation for ECJ compiler
Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/f0ccc5fa Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/f0ccc5fa Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/f0ccc5fa Branch: refs/heads/master Commit: f0ccc5fa361b19cce4f840e475be96a153c6f3c9 Parents: abb29da Author: Antoine Toulme <[email protected]> Authored: Fri Aug 12 23:19:43 2016 -0700 Committer: Antoine Toulme <[email protected]> Committed: Fri Aug 12 23:19:43 2016 -0700 ---------------------------------------------------------------------- doc/languages.textile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/f0ccc5fa/doc/languages.textile ---------------------------------------------------------------------- diff --git a/doc/languages.textile b/doc/languages.textile index a08bc58..b31d6ac 100644 --- a/doc/languages.textile +++ b/doc/languages.textile @@ -26,6 +26,20 @@ The Java compiler supports the following options: | @:target@ | Bytecode compatibility (e.g. '1.4'). | | @:warnings@ | Issue warnings when compiling. True when running in verbose mode. | +h3. ECJ + +You can use the "ECJ compiler":http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_batch_compiler.htm instead of javac. ECJ abides to the same options as javac. +For example, to configure the project to use ECJ: +{% highlight ruby %} +compile.using :ecj +{% endhighlight %} + +To use a custom version of ECJ, add an entry to your "settings":/settings_profiles.html. +For example, to set the version of ECJ to 3.5.1, add an entry to your project's @buildr.yml@: + +{% highlight yaml %} +ecj: 3.5.1 +{% endhighlight %} h3. Testing with Java
