|
350 | 350 | <fileset file="shared/revisions.txt" />
|
351 | 351 | </copy>
|
352 | 352 |
|
353 |
| - <antcall target="macosx-build-common"/> |
354 |
| - |
355 |
| - </target> |
356 |
| - |
357 |
| - <target name="macosx-build-common"> |
358 | 353 | <mkdir dir="${staging_folder}/work" />
|
359 | 354 | <mkdir dir="${staging_folder}/work/${staging_hardware_folder}" />
|
360 | 355 |
|
361 |
| - <antcall target="macosx-build-common-avr-toolchain" /> |
| 356 | + <antcall target="macosx-build-avr-toolchain" /> |
362 | 357 |
|
363 | 358 | <antcall target="package-library-index-json-bundle"/>
|
364 | 359 |
|
|
380 | 375 | </target>
|
381 | 376 |
|
382 | 377 | <!-- Unzip AVR tools -->
|
383 |
| - <target name="macosx-build-common-avr-toolchain" unless="light_bundle"> |
| 378 | + <target name="macosx-build-avr-toolchain" unless="light_bundle"> |
384 | 379 | <antcall target="avr-toolchain-bundle">
|
385 | 380 | <param name="unpack_target" value="untar"/>
|
386 | 381 | <param name="gcc_archive_file" value="avr-gcc-4.8.1-arduino5-i386-apple-darwin11.tar.bz2"/>
|
|
401 | 396 | </target>
|
402 | 397 |
|
403 | 398 | <target name="macosx-run" depends="build" description="Run Mac OS X version">
|
404 |
| - <antcall target="macosx-run-common"/> |
405 |
| - </target> |
406 |
| - |
407 |
| - <target name="macosx-debug" depends="build" description="Run Mac OS X version"> |
408 |
| - <antcall target="macosx-debug-common"/> |
| 399 | + <exec executable="macosx/work/Arduino.app/Contents/MacOS/Arduino" spawn="false" failonerror="true"/> |
409 | 400 | </target>
|
410 | 401 |
|
411 |
| - <target name="macosx-run-common"> |
412 |
| - <exec executable="open" dir="macosx/work" failonerror="true"> |
413 |
| - <arg value="Arduino.app"/> |
414 |
| - </exec> |
415 |
| - </target> |
416 |
| - |
417 |
| - <target name="macosx-debug-common"> |
418 |
| - <exec executable="macosx/work/Arduino.app/Contents/MacOS/Arduino" spawn="false"/> |
| 402 | + <!-- FIXME --> |
| 403 | + <target name="macosx-debug"> |
| 404 | + <antcall target="macosx-run"/> |
| 405 | + <echo>'ant macosx-debug' is deprecated. Please use 'ant run' instead</echo> |
419 | 406 | </target>
|
420 | 407 |
|
421 | 408 | <!-- - - - - - - - - - - - - - - - -->
|
|
474 | 461 | <!-- Build distribution file for MacOSX. -->
|
475 | 462 | <!-- - - - - - - - - - - - - - - - - - - -->
|
476 | 463 | <target name="macosx-dist" if="macosx" depends="build" description="Create a downloadable .zip for the Mac OS X version">
|
477 |
| - <antcall target="macosx-dist-common"/> |
478 |
| - </target> |
479 |
| - |
480 |
| - <target name="macosx-dist-common"> |
481 | 464 | <exec executable="zip" dir="macosx/work" failonerror="true">
|
482 | 465 | <arg line="-q -r ../arduino-${version}-${platform}.zip ." />
|
483 | 466 | </exec>
|
|
836 | 819 |
|
837 | 820 | <target name="windows-run" depends="build"
|
838 | 821 | description="Run windows version">
|
839 |
| - <exec executable="windows/work/arduino.exe" dir="windows/work" failonerror="true"/> |
| 822 | + <exec executable="windows/work/arduino.exe" dir="windows/work" spawn="false" failonerror="true"/> |
840 | 823 | </target>
|
841 | 824 |
|
842 | 825 | <target name="windows-dist" depends="build" description="Create .zip files of windows version">
|
|
0 commit comments