Mercurial > audio-send
diff java/build.xml @ 26:56f83c170251
adding hard-to-compile artifacts for other systems
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 19 Nov 2011 19:17:37 -0700 |
parents | d51f1a2b4c30 |
children | f79bef1687c5 |
line wrap: on
line diff
1.1 --- a/java/build.xml Fri Nov 18 20:06:50 2011 -0700 1.2 +++ b/java/build.xml Sat Nov 19 19:17:37 2011 -0700 1.3 @@ -1,4 +1,4 @@ 1.4 -<project name="audio-send" default="dist" basedir="."> 1.5 +<project name="audio-send" default="linux64dist" basedir="."> 1.6 1.7 1.8 <property name="build" value="build"/> 1.9 @@ -7,7 +7,7 @@ 1.10 <property name="headers" value="headers"/> 1.11 <property name="native" value="output/native/linux/audioSend"/> 1.12 <property name="nativeBase" value="output"/> 1.13 - 1.14 + <property name="artifacts" value="../artifacts"/> 1.15 1.16 <target name="prepare"> 1.17 <mkdir dir="${build}"/> 1.18 @@ -26,8 +26,7 @@ 1.19 /> 1.20 </target> 1.21 1.22 - 1.23 - <target name="dist" depends="compile, native" > 1.24 + <target name="linux64dist" depends="compile, native" > 1.25 <mkdir dir="${dist}"/> 1.26 <jar jarfile="${dist}/audio-send.jar" basedir="${build}"/> 1.27 <mkdir dir="${native}"/> 1.28 @@ -38,6 +37,11 @@ 1.29 <delete dir="${nativeBase}"/> 1.30 </target> 1.31 1.32 + <target name="artifactDist" depends="compile, native"> 1.33 + <jar jarfile="${dist}/audio-send-natives.jar" 1.34 + basedir="${artifacts}"/> 1.35 + </target> 1.36 + 1.37 <target name="clean" > 1.38 <delete dir="${build}"/> 1.39 <delete dir="${dist}"/>