| 1 |
From: Scott Howard <[email protected]> |
| 2 |
Date: Wed, 28 Mar 2018 15:52:22 -0300 |
| 3 |
Subject: Prevent more downloads while package build |
| 4 |
|
| 5 |
Forwarded: not-needed |
| 6 |
|
| 7 |
Don't download |
| 8 |
WiFi101-Updater-ArduinoIDE-Plugin-0.9.1.zip |
| 9 |
liblistserial-jni-1.4.2-2.zip |
| 10 |
--- |
| 11 |
build/build.xml | 15 +++++++++++++-- |
| 12 |
1 file changed, 13 insertions(+), 2 deletions(-) |
| 13 |
|
| 14 |
diff --git a/build/build.xml b/build/build.xml |
| 15 |
index d93214b..01e94be 100644 |
| 16 |
--- a/build/build.xml |
| 17 |
+++ b/build/build.xml |
| 18 |
@@ -219,13 +219,13 @@ |
| 19 |
|
| 20 |
<antcall target="assemble-libraries" /> |
| 21 |
|
| 22 |
- <!-- Add WiFi101 updater tool --> |
| 23 |
+ <!-- Add WiFi101 updater tool |
| 24 |
<antcall target="unzip"> |
| 25 |
<param name="archive_file" value="shared/WiFi101-Updater-ArduinoIDE-Plugin-${WIFI101-FW-UPDATER_VERSION}.zip" /> |
| 26 |
<param name="archive_url" value="https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v${WIFI101-FW-UPDATER_VERSION}/WiFi101-Updater-ArduinoIDE-Plugin-${WIFI101-FW-UPDATER_VERSION}.zip" /> |
| 27 |
<param name="final_folder" value="${target.path}/tools/WiFi101" /> |
| 28 |
<param name="dest_folder" value="${target.path}/tools/" /> |
| 29 |
- </antcall> |
| 30 |
+ </antcall> --> |
| 31 |
</target> |
| 32 |
|
| 33 |
<target name="assemble-examples"> |
| 34 |
@@ -264,6 +264,7 @@ |
| 35 |
<attribute name="tag" default="@{version}"/> |
| 36 |
<attribute name="githubuser" default="arduino-libraries"/> |
| 37 |
<sequential> |
| 38 |
+ <!-- |
| 39 |
<antcall target="unzip"> |
| 40 |
<param name="archive_file" value="@{foldername}-@{version}.zip"/> |
| 41 |
<param name="archive_url" value="https://github.com/@{githubuser}/@{name}/archive/@{tag}.zip"/> |
| 42 |
@@ -271,6 +272,10 @@ |
| 43 |
<param name="dest_folder" value="${target.path}/libraries"/> |
| 44 |
</antcall> |
| 45 |
<move file="${target.path}/libraries/@{name}-@{version}" tofile="${target.path}/libraries/@{foldername}"/> |
| 46 |
+ --> |
| 47 |
+ <echo message="##############" /> |
| 48 |
+ <echo message="NO download of https://github.com/@{githubuser}/@{name}/archive/@{tag}.zip" /> |
| 49 |
+ <echo message="##############" /> |
| 50 |
</sequential> |
| 51 |
</macrodef> |
| 52 |
|
| 53 |
@@ -668,6 +673,8 @@ |
| 54 |
<param name="parentdir" value="linux/work" /> |
| 55 |
</antcall> |
| 56 |
|
| 57 |
+ <echo message="TODO package a liblistserial-jni" /> |
| 58 |
+ <!-- ((( |
| 59 |
<antcall target="unzip"> |
| 60 |
<param name="archive_file" value="./liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> |
| 61 |
<param name="archive_url" value="https://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> |
| 62 |
@@ -676,6 +683,7 @@ |
| 63 |
</antcall> |
| 64 |
<copy file="linux/liblistSerials-${LIBLISTSERIAL-VERSION}/linux${arch-bits}/liblistSerialsj.so" todir="linux/work/lib/" /> |
| 65 |
<chmod perm="755" file="linux/work/lib/liblistSerialsj.so" /> |
| 66 |
+ ))) --> |
| 67 |
|
| 68 |
</target> |
| 69 |
|
| 70 |
@@ -697,6 +705,8 @@ |
| 71 |
<param name="parentdir" value="linux/work" /> |
| 72 |
</antcall> |
| 73 |
|
| 74 |
+ <echo message="TODO package a liblistserial-jni" /> |
| 75 |
+ <!-- ((( |
| 76 |
<antcall target="unzip"> |
| 77 |
<param name="archive_file" value="./liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> |
| 78 |
<param name="archive_url" value="https://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" /> |
| 79 |
@@ -705,6 +715,7 @@ |
| 80 |
</antcall> |
| 81 |
<copy file="linux/liblistSerials-${LIBLISTSERIAL-VERSION}/arm/liblistSerialsj.so" todir="linux/work/lib/" /> |
| 82 |
<chmod perm="755" file="linux/work/lib/liblistSerialsj.so" /> |
| 83 |
+ ))) --> |
| 84 |
|
| 85 |
</target> |
| 86 |
|