Skip to content

Commit 0e93798

Browse files
author
Federico Fissore
committed
Bundled package and library index soon become obsolete. Download a fresh copy each time the IDE is built
1 parent 6303f84 commit 0e93798

File tree

3 files changed

+3
-1011
lines changed

3 files changed

+3
-1011
lines changed

build/build.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,8 +951,9 @@
951951
<echo append="true" file="${staging_folder}/work/${staging_hardware_folder}/tools/avr/builtin_tools_versions.txt" message="arduino.avrdude=${avrdude_version}${line.separator}"/>
952952
<echo append="true" file="${staging_folder}/work/${staging_hardware_folder}/tools/avr/builtin_tools_versions.txt" message="arduino.avr-gcc=${gcc_version}${line.separator}"/>
953953

954-
<copy file="shared/bundled_package_index.json" tofile="${staging_folder}/work/${staging_hardware_folder}/../dist/package_index.json"/>
955-
<copy file="shared/bundled_library_index.json" tofile="${staging_folder}/work/${staging_hardware_folder}/../dist/library_index.json"/>
954+
<mkdir dir="${staging_folder}/work/${staging_hardware_folder}/../dist/"/>
955+
<get src="http://downloads.arduino.cc/packages/package_index.json" dest="${staging_folder}/work/${staging_hardware_folder}/../dist/package_index.json" verbose="true" skipexisting="false" />
956+
<get src="http://downloads.arduino.cc/libraries/library_index.json" dest="${staging_folder}/work/${staging_hardware_folder}/../dist/library_index.json" verbose="true" skipexisting="false" />
956957

957958
<delete dir="${staging_folder}/work/${staging_hardware_folder}/tmp"/>
958959
</target>

build/shared/bundled_library_index.json

Lines changed: 0 additions & 323 deletions
This file was deleted.

0 commit comments

Comments
 (0)