File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change 850850 <chmod perm =" 755" >
851851 <fileset dir =" windows/work" includes =" **/*.html, **/*.dll, **/*.exe" />
852852 </chmod >
853+
854+ <loadproperties srcfile =" ${ WINDOWS_BUNDLED_JVM } /release" prefix =" windows" />
855+
856+ <fail message =" It looks like ${ WINDOWS_BUNDLED_JVM } does not contain a Windows JVM" >
857+ <condition >
858+ <not >
859+ <equals arg1=" ${ windows.OS_NAME } " arg2=" "Windows"" />
860+ </not >
861+ </condition >
862+ </fail >
863+
864+ <copy todir =" ${ staging_folder } /work/java" includeemptydirs =" true" preservelastmodified =" true" overwrite =" true" failonerror =" true" >
865+ <fileset dir =" ${ WINDOWS_BUNDLED_JVM } " includes =" */**" />
866+ </copy >
853867 </target >
854868
855869 <target name =" windows-build-avr-toolchain" >
870884 </target >
871885
872886 <target name =" windows-dist" depends =" build" description =" Create .zip files of windows version" >
873-
874- <loadproperties srcfile =" ${ WINDOWS_BUNDLED_JVM } /release" prefix =" windows" />
875-
876- <fail message =" It looks like ${ WINDOWS_BUNDLED_JVM } does not contain a Windows JVM" >
877- <condition >
878- <not >
879- <equals arg1=" ${ windows.OS_NAME } " arg2=" "Windows"" />
880- </not >
881- </condition >
882- </fail >
883-
884- <copy todir =" ${ staging_folder } /work/java" includeemptydirs =" true" preservelastmodified =" true" overwrite =" true" failonerror =" true" >
885- <fileset dir =" ${ WINDOWS_BUNDLED_JVM } " includes =" */**" />
886- </copy >
887-
888887 <zip destfile =" windows/arduino-${ version } -${ platform } .zip" level =" 9" >
889888 <zipfileset dir =" windows/work" prefix =" arduino-${ version } " />
890889 </zip >
You can’t perform that action at this time.
0 commit comments