1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Mon, 24 May 2021 08:37:44 +0200
Subject: Don't download any external example files
Forwarded: not-needed
---
build/build.xml | 22 +++-------------------
1 file changed, 3 insertions(+), 19 deletions(-)
diff --git a/build/build.xml b/build/build.xml
index 35f34d2..d93214b 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -229,25 +229,9 @@
</target>
<target name="assemble-examples">
- <!-- Add the built-in example sketches -->
- <property name="BUILT-IN-EXAMPLES-REPOSITORY-OWNER" value="arduino" />
- <property name="BUILT-IN-EXAMPLES-REPOSITORY-NAME" value="arduino-examples" />
- <property name="BUILT-IN-EXAMPLES-STAGING-PATH" value="shared" />
- <property name="BUILT-IN-EXAMPLES-FINAL-PATH" value="${target.path}/examples" />
-
- <!-- Download built-in examples from repository -->
- <antcall target="unzip">
- <param name="archive_file" value="${BUILT-IN-EXAMPLES-REPOSITORY-NAME}-${BUILT-IN-EXAMPLES-VERSION}.zip" />
- <param name="archive_url" value="https://github.com/${BUILT-IN-EXAMPLES-REPOSITORY-OWNER}/${BUILT-IN-EXAMPLES-REPOSITORY-NAME}/archive/${BUILT-IN-EXAMPLES-VERSION}.zip" />
- <!-- Because the presence of this folder determines whether the extraction happens, this must point to a version-dependent path, otherwise updates will fail -->
- <param name="final_folder" value="${BUILT-IN-EXAMPLES-STAGING-PATH}/${BUILT-IN-EXAMPLES-REPOSITORY-NAME}-${BUILT-IN-EXAMPLES-VERSION}/examples" />
- <param name="dest_folder" value="${BUILT-IN-EXAMPLES-STAGING-PATH}" />
- </antcall>
-
- <!-- Copy examples from subfolder of the downloaded repository -->
- <copy todir="${BUILT-IN-EXAMPLES-FINAL-PATH}">
- <fileset dir="${BUILT-IN-EXAMPLES-STAGING-PATH}/${BUILT-IN-EXAMPLES-REPOSITORY-NAME}-${BUILT-IN-EXAMPLES-VERSION}/examples" />
- </copy>
+ <!-- Inform user somehow on this intervention on upstream idea -->
+ <echo file="${target.path}/reference/fyi.txt"
+ message="No downloads done during build of Arduino IDE ..." />
</target>
<!-- copy library folder -->
|