mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-26 20:54:22 +01:00
Fixing (partially, at least) build.xml on Windows. Now requires you to have a local JDK and to install ant.
This commit is contained in:
parent
9529b70fbf
commit
ce78f8e0da
@ -340,7 +340,7 @@
|
|||||||
<target name="windows-checkos" unless="windows">
|
<target name="windows-checkos" unless="windows">
|
||||||
<echo>
|
<echo>
|
||||||
=======================================================
|
=======================================================
|
||||||
Processing for Windows can only be built on windows.
|
Arduino for Windows can only be built on windows.
|
||||||
|
|
||||||
Bye.
|
Bye.
|
||||||
=======================================================
|
=======================================================
|
||||||
@ -365,6 +365,17 @@
|
|||||||
<fileset file="shared/revisions.txt" />
|
<fileset file="shared/revisions.txt" />
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
|
<copy todir="windows/work">
|
||||||
|
<fileset dir="windows/dist" includes="*.dll" />
|
||||||
|
</copy>
|
||||||
|
|
||||||
|
<copy todir="windows/work">
|
||||||
|
<fileset dir="windows/dist" includes="drivers/**" />
|
||||||
|
</copy>
|
||||||
|
|
||||||
|
<!-- Unzip AVR tools -->
|
||||||
|
<unzip dest="windows/work/hardware" src="windows/avr_tools.zip" overwrite="false"/>
|
||||||
|
|
||||||
<antcall target="assemble">
|
<antcall target="assemble">
|
||||||
<param name="target.path" value="windows/work" />
|
<param name="target.path" value="windows/work" />
|
||||||
</antcall>
|
</antcall>
|
||||||
@ -390,7 +401,7 @@
|
|||||||
|
|
||||||
<target name="windows-run" depends="windows-build"
|
<target name="windows-run" depends="windows-build"
|
||||||
description="Run windows version">
|
description="Run windows version">
|
||||||
<exec executable="windows/work/processing.exe"
|
<exec executable="windows/work/arduino.exe"
|
||||||
dir="windows/work" spawn="true"/>
|
dir="windows/work" spawn="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
@ -405,31 +416,31 @@
|
|||||||
|
|
||||||
<!--
|
<!--
|
||||||
<zip basedir="windows/work"
|
<zip basedir="windows/work"
|
||||||
prefix="processing-${version}"
|
prefix="arduino-${version}"
|
||||||
destfile="windows/processing-${version}.zip" />
|
destfile="windows/arduino-${version}.zip" />
|
||||||
<zip basedir="windows/work"
|
<zip basedir="windows/work"
|
||||||
prefix="processing-${version}"
|
prefix="arduino-${version}"
|
||||||
destfile="windows/processing-${version}-expert.zip"
|
destfile="windows/arduino-${version}-expert.zip"
|
||||||
excludes="java/**" />
|
excludes="java/**" />
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<zip destfile="windows/processing-${version}.zip">
|
<zip destfile="windows/arduino-${version}.zip">
|
||||||
<zipfileset dir="windows/work"
|
<zipfileset dir="windows/work"
|
||||||
prefix="processing-${version}" />
|
prefix="arduino-${version}" />
|
||||||
</zip>
|
</zip>
|
||||||
|
|
||||||
<zip destfile="windows/processing-${version}-expert.zip">
|
<zip destfile="windows/arduino-${version}-expert.zip">
|
||||||
<zipfileset dir="windows/work"
|
<zipfileset dir="windows/work"
|
||||||
prefix="processing-${version}"
|
prefix="arduino-${version}"
|
||||||
excludes="java/**" />
|
excludes="java/**" />
|
||||||
</zip>
|
</zip>
|
||||||
|
|
||||||
<echo>
|
<echo>
|
||||||
=======================================================
|
=======================================================
|
||||||
Processing for Windows was built. Grab the archive from
|
Arduino for Windows was built. Grab the archive from
|
||||||
|
|
||||||
windows/processing-${version}.zip
|
windows/arduino-${version}.zip
|
||||||
windows/processing-${version}-expert.zip
|
windows/arduino-${version}-expert.zip
|
||||||
=======================================================
|
=======================================================
|
||||||
</echo>
|
</echo>
|
||||||
</target>
|
</target>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user