From 5bf14b8b7bcd3c33497e6f408ab2b56b259e744e Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 8 Oct 2020 21:52:51 -0700 Subject: [PATCH] Fix built-in examples update during build Previously, the built-in examples assembly step of the build system set the `final_folder` parameter of the `unzip` target to the true final installation location of the examples. The behavior of the `unzip` target is to only unzip the archive if `final_folder` doesn't exist. Because that folder will exist any time a previous build has been done and `ant clean` was not run, the archive will not be unzipped. This causes the build to fail after an update to the built-in examples version when it attempts to copy the examples from the version-dependent extraction staging folder to the final location. The fix is to set the `final_folder` parameter to the version-dependent staging folder location, which will cause the extraction to happen every time the examples version is updated, but to be skipped when there was no update. --- build/build.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/build.xml b/build/build.xml index 72129efb0..a5f974ef4 100644 --- a/build/build.xml +++ b/build/build.xml @@ -242,7 +242,8 @@ - + +