)]}' { "log": [ { "commit": "d33d3b48380a73fe93cc02eb699cbc24cbf77c28", "tree": "a8d9c9327fb82ffd06ad60573bf32422e33d4ea6", "parents": [ "21eb042dba2fe99cb728e13621f0e47adfdd0dc6" ], "author": { "name": "Carmelo Cascone", "email": "carmelo@opennetworking.org", "time": "Tue Jun 18 12:12:36 2019 -0700" }, "committer": { "name": "Ray Milkey", "email": "ray@opennetworking.org", "time": "Tue Jun 18 22:26:33 2019 +0000" }, "message": "Build ONOS exclusively with Bazel-provided remote JDK\n\nThis change make it possible to build ONOS in a host system without JDK\ninstalled, or ignoring the one installed, instead relying exclusively on\nthe \"remote\" JDK provided by Bazel. The JDK version, along with the\ntoolchain configuration (language source and target values), are checked\nin as part of the build files (tools/build/bazel/BUILD), thus enabling\ndeterministic builds that are less dependent of the host environment.\n\nTo allow this, this change replaces all references to JDK-related tools\nexpected to be on the host PATH, such as the jar command, with their\ncounterpart from the remote JDK (now a sandboxed relative path). This is\nachieved by:\n\n * Creating a new \"jdk_genrule\" macro that exposes the remote JDK bin\n directory to the PATH visible by the genrule command. This is used\n for all genrule targets invoking for example `jar`;\n * Modifying custom Starlak rule implementations by replacing\n invocation to JDK tools with a path from the remote one.\n * Renaming the onos/lib directory to onos/deps as it clashes with\n the Bazel-provided JDK\u0027s lib directory (that for some strange reason\n is resolved on the ONOS workspace)\n\nFinally, this change is reflected on the Dockerfile which now builds\nONOS from an Ubuntu image with no JDK installed.\n\nChange-Id: Ie7d990cfce6fef00ddb4ffffe4c6205b8530fb47\n" }, { "commit": "f80bbb22c278310c39f4c56b2714afa6a707063d", "tree": "138181ee68ac7c9f0d0a34229fee6239e57d2926", "parents": [ "e01652f745957247b4d3887a917b12d232d9f11d" ], "author": { "name": "Ray Milkey", "email": "ray@onlab.us", "time": "Fri Mar 11 10:16:22 2016 -0800" }, "committer": { "name": "Gerrit Code Review", "email": "gerrit@onlab.us", "time": "Tue Mar 29 21:39:14 2016 +0000" }, "message": "Initial BUCK build\n\nChange-Id: I64e8a979301989062f4545a4841b06c15a372049\n" } ] }