Trying to get linux ant build working.

This commit is contained in:
David A. Mellis 2010-05-08 23:43:20 +00:00
parent ce78f8e0da
commit f6b887cd6e
1 changed files with 12 additions and 2 deletions

View File

@ -282,6 +282,10 @@
<fileset file="shared/revisions.txt" />
</copy>
<copy todir="linux/work">
<fileset dir="linux/dist" includes="lib/**" />
</copy>
<copy todir="linux/work/lib" flatten="true">
<fileset refid="runtime.jars" />
</copy>
@ -290,13 +294,19 @@
<param name="target.path" value="linux/work" />
</antcall>
<copy todir="linux/work" file="linux/arduino" />
<copy todir="linux/work/hardware">
<fileset dir="linux/dist" includes="tools/**" />
</copy>
<chmod perm="755" file="linux/work/hardware/tools/avrdude" />
<copy todir="linux/work" file="linux/dist/arduino" />
<chmod perm="755" file="linux/work/arduino" />
</target>
<target name="linux-run" depends="linux-build"
description="Run Linux version">
<exec executable="./arduino" dir="linux/work" spawn="true"/>
<exec executable="linux/work/arduino" dir="linux/work" spawn="false"/>
</target>
<target name="linux-dist" depends="linux-build"