chiark / gitweb /
Fix misleading java_path example
authorGioacchino Mazzurco <gio@eigenlab.org>
Mon, 12 Mar 2018 11:01:16 +0000 (12:01 +0100)
committerGioacchino Mazzurco <gio@eigenlab.org>
Mon, 12 Mar 2018 11:01:16 +0000 (12:01 +0100)
As you can see in fdroidserver/common.py:219
for java_version in ('7', '8', '9'):
the code look for java version without the 1. in front, after getting a
bunch of error message that JDK could't be found, investigating the code
and documentation I discovered my configuration was ignored because of
this and realized the example was wrong

examples/config.py

index f5b088a6de83b9661dcaedd22c47abb136b2eaa2..4fcba22880b6c37e4ee831065f6f6015523ac515 100644 (file)
@@ -21,7 +21,7 @@
 # }
 
 # java_paths = {
-#     '1.8': "/usr/lib/jvm/java-8-openjdk",
+#     '8': "/usr/lib/jvm/java-8-openjdk",
 # }
 
 # Build tools version to be used