From b3cf940ad80495a4c8909ad876afcea99ea406e0 Mon Sep 17 00:00:00 2001 From: "Brutzman, Don" <brutzman@nps.edu> Date: Thu, 4 Feb 2021 15:47:49 -0800 Subject: [PATCH] break out videos upload as separate target --- build.xml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index cc6dc7d..389f27b 100644 --- a/build.xml +++ b/build.xml @@ -590,9 +590,9 @@ POSSIBILITY OF SUCH DAMAGE. <target name="upload" depends="zip,scp.uploadEthicalControl.savage"/> <target name="scp.uploadEthicalControl.savage" depends="scp.askUsernamePassword.savage" - description="scp upload of updated Savage X3D catalog and javadoc pages, not including .zip"> + description="scp upload of updated Savage EthicalControl website, including .zip"> <echo message="scp upload catalog and javadoc pages to sftp://${sftpServer.savage}${sftpDirectory.savage.EthicalControl}"/> - <scp remotetodir="${username.savage}@${sftpServer.savage}:${sftpDirectory.savage.EthicalControl}" password="${password.savage}" + <scp remotetodir="${username.savage}@${sftpServer.savage}:${sftpDirectory.savage.EthicalControl}" password="${password.savage}" verbose="true" filemode="664" dirmode="775"> <fileset dir="."> <include name="**/*"/> @@ -602,6 +602,7 @@ POSSIBILITY OF SUCH DAMAGE. <exclude name="access.properties"/> <exclude name=".gitignore"/> <exclude name="_archive"/> + <exclude name="documentation/videos/**/*"/> <exclude name="nbproject/private"/> </fileset> <fileset dir="."> @@ -615,6 +616,24 @@ POSSIBILITY OF SUCH DAMAGE. <echo message="upload available at https://${sftpServer.savage}/${sftpDirectory.savage.EthicalControl}"/> <echo message="scp.uploadEthicalControl.savage ssh-sftp target complete"/> </target> + + <target name="scp.uploadEthicalControl.savage.videos" depends="scp.askUsernamePassword.savage" + description="scp upload of updated Savage EthicalControl website, including .zip"> + <echo message="scp upload catalog and javadoc pages to sftp://${sftpServer.savage}${sftpDirectory.savage.EthicalControl}"/> + <scp remotetodir="${username.savage}@${sftpServer.savage}:${sftpDirectory.savage.EthicalControl}/documentation/videos" password="${password.savage}" + verbose="true" filemode="664" dirmode="775"> + <fileset dir="."> + <include name="documentation/videos/EthicalControlUnmannedSystems.DataCentricSecurity.2020April16.mp4"/> + <include name="documentation/videos/EthicalControlUnmannedSystems.NdiaUnderseaWarfare.September2020.mp4"/> + <include name="documentation/videos/EthicalControlUnmannedSystems.PythonMissionTestingDemoCefaluDecember2020"/> + <include name="documentation/videos/EthicalControlUnmannedSystemsOverview.Cruser.2020May4.mp4"/> + <include name="documentation/videos/EthicalControlUnmannedSystemsOverview.UVAS2020Reprise.2020April6.mp4"/> + <include name="documentation/videos/NDIA_USW_undersea_2020_airforce-blue_web2.png"/> + </fileset> + </scp> + <echo message="upload available at https://${sftpServer.savage}/${sftpDirectory.savage.EthicalControl}"/> + <echo message="scp.uploadEthicalControl.savage.videos ssh-sftp target complete"/> + </target> <target name="view.gitlab.site" description="view online version control archive in web browser (Netbeans only)"> <echo message="https://gitlab.nps.edu/Savage/EthicalControl"/> -- GitLab