You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/04/28 11:11:52 UTC

svn commit: r165122 - /lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/replication/build.xml

Author: michi
Date: Thu Apr 28 02:11:51 2005
New Revision: 165122

URL: http://svn.apache.org/viewcvs?rev=165122&view=rev
Log:
delete resource by shell script instead sshexec

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/replication/build.xml

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/replication/build.xml
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/replication/build.xml?rev=165122&r1=165121&r2=165122&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/replication/build.xml (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/replication/build.xml Thu Apr 28 02:11:51 2005
@@ -152,14 +152,22 @@
             <map from="${delete_dest.dir}" to="${specific.remote.dir}"/>
     </pathconvert>     
    
-    <echo>delete ${remote_delete.path}</echo>
+    <echo>Delete ${remote_delete.path} on remote server ${specific.username}@${specific.host}</echo>
                 
+<!--
     <sshexec 
             host="${specific.host}" 
             username="${specific.username}" 
             keyfile="${local.keyfile}" 
             command="rm -r ${remote_delete.path}" 
             failonerror="false"/>
+-->
+
+   <exec executable="${basedir}/delete-remote-resource.sh">
+     <arg value="${specific.username}"/>
+     <arg value="${specific.host}"/>
+     <arg value="${remote_delete.path}"/>
+   </exec>
    
     <delete dir="${delete_dest.dir}"/> 
             



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org