improve distribution push by adding progress indicator via rsync
<echo message="Pushing @{srcfile} to py.processing.org..." />
<exec executable="/bin/sh" failonerror="true">
<arg value="-c"/>
- <!--arg value="scp -i ~/.ssh/id_rsa-processing.org -r @{srcfile} jdf@py.processing.org:/var/www/py/3" /-->
- <arg value="scp -v @{srcfile} jdf@py.processing.org:/var/www/py/3" />
+ <arg value="rsync --progress -avz @{srcfile} jdf@py.processing.org:/var/www/py/3" />
</exec>
</sequential>
</macrodef>
</target>
<target name="mode.upload" depends="mode.zip">
- <push srcfile="work/PythonMode.zip"/>
<property file="runtime/src/jycessing/build.properties" prefix="jycessing"/>
<push srcfile="work/PythonMode_${jycessing.build.number}.zip"/>
+ <exec executable="/bin/sh" failonerror="true">
+ <arg value="-c"/>
+ <arg value="ssh jdf@py.processing.org 'cp /var/www/py/3/PythonMode_${jycessing.build.number}.zip /var/www/py/3/PythonMode.zip'" />
+ </exec>
<push srcfile="work/modedist/PythonMode.txt"/>
<echo message="Uploaded build ${jycessing.build.number}"></echo>
</target>
includes="*.txt,*.jar,${platform}/**,${platform}64/**"/>
</copy>
<copy-processing-library dir="${cache}" library="dxf"/>
+ <copy-processing-library dir="${cache}" library="io"/>
<copy-processing-library dir="${cache}" library="net"/>
<copy-processing-library dir="${cache}" library="pdf"/>
<copy-processing-library dir="${cache}" library="serial"/>
