From 90f05dd31a1799293c4a92ac73e3cd4405b3fbc2 Mon Sep 17 00:00:00 2001 From: James Kuszmaul Date: Tue, 26 May 2015 09:28:05 -0400 Subject: [PATCH] Removed confusing error on deploy. rm no longer throws a file not found error on deploy. Also, throw in a sync command at the end of the deploy so that we don't get corrupted files. Change-Id: I561916e4fec1b8449f9a70b7ee2155b0b62abc80 --- .../src/main/resources/cpp-zip/ant/build.xml | 16 ++++++++++++---- .../src/main/resources/java-zip/ant/build.xml | 14 +++++++++++--- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/src/main/resources/cpp-zip/ant/build.xml b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/src/main/resources/cpp-zip/ant/build.xml index 2968a9b8c5..c64936357d 100644 --- a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/src/main/resources/cpp-zip/ant/build.xml +++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/src/main/resources/cpp-zip/ant/build.xml @@ -60,17 +60,19 @@ password="${password}" trust="true" failonerror="no" - command="rm ${deploy.dir}/FRCUserProgram" /> + command="rm -f ${deploy.dir}/FRCUserProgram" /> [athena-deploy] Copying code over. + + command="killall -q netconsole-host || :"/> @@ -82,8 +84,14 @@ trust="true" command=". /etc/profile.d/natinst-path.sh; chmod a+x ${deploy.dir}/${out}; ${deploy.kill.command};"/> + + - + - + diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.xml b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.xml index 500904263d..8c34c98008 100644 --- a/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.xml +++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/src/main/resources/java-zip/ant/build.xml @@ -100,17 +100,19 @@ + Reference: http://stackoverflow.com/questions/6430001/ant-doesnt-recompile-constants --> [athena-deploy] Copying code over. + + command="killall -q netconsole-host || :"/> @@ -122,6 +124,12 @@ trust="true" command="${deploy.kill.command};"/> + + @@ -214,7 +222,7 @@ - +