xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r381856 - /xmlgraphics/site/publish.xml
Date Wed, 01 Mar 2006 00:55:31 GMT
Author: clay
Date: Tue Feb 28 16:55:30 2006
New Revision: 381856

URL: http://svn.apache.org/viewcvs?rev=381856&view=rev
Log:
Switched forrestbot to transfer via svn instead of scp.

Modified:
    xmlgraphics/site/publish.xml

Modified: xmlgraphics/site/publish.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/site/publish.xml?rev=381856&r1=381855&r2=381856&view=diff
==============================================================================
--- xmlgraphics/site/publish.xml (original)
+++ xmlgraphics/site/publish.xml Tue Feb 28 16:55:30 2006
@@ -40,34 +40,14 @@
       <property name="deploy.scp.keyfile" value="/path/to/my/private/key"/>
     </project>
    -->
-  <import file="../deploy.settings" optional="true"/>
+  <import file="../deploy.svn.settings" optional="true"/>
 
-  <property name="deploy.scp.host" value="people.apache.org"/>
-  <property name="deploy.scp.dest" value="${deploy.scp.user}@people.apache.org:/www/xmlgraphics.apache.org"/>
-  <target name="deploy.scp-alt" unless="build.failed" description="FB: Deploy to a remote
location via scp">
-    <if>
-      <not><isset property="deploy.scp.passphrase"/></not>
-      <then>
-        <input addproperty="deploy.scp.passphrase" message="Enter passphrase for your
private key for scp to ${deploy.scp.dest}:"/>
-      </then>
-    </if>
-    <scp todir="${deploy.scp.dest}" keyfile="${deploy.scp.keyfile}" passphrase="${deploy.scp.passphrase}">
-     <fileset dir="${build.site-dir}"/>
-    </scp>
-  </target>
-  <target name="deploy.remote.fix.perms" depends="deploy.scp-alt" unless="build.failed"
description="Fixes group permissions on newly uploaded files">
-    <if>
-      <not><isset property="deploy.scp.passphrase"/></not>
-      <then>
-        <input addproperty="deploy.scp.passphrase" message="Enter passphrase for your
private key for scp to ${deploy.scp.dest}:"/>
-      </then>
-    </if>
-    <!-- this is necessary because new files are not group writable -->
-    <sshexec host="${deploy.scp.host}" username="${deploy.scp.user}" 
-        keyfile="${deploy.scp.keyfile}" passphrase="${deploy.scp.passphrase}"
-        command="cd /www/xmlgraphics.apache.org;chgrp -R xmlgraphics *;chmod -R g+rw *"/>
-  </target>
-  <target name="deploy" depends="deploy.scp-alt, deploy.remote.fix.perms"/>
+  <!-- CL (TEMP SVN TARGET)  -->
+  <property name="deploy.svn.url" value="https://svn.apache.org/repos/asf/xmlgraphics/site/deploy/"/>
+  <!-- CL (REAL SVN TARGET)
+  <property name="deploy.svn.url" value="https://svn.apache.org/repos/asf/xmlgraphics/site"/>
+  -->
+  <target name="deploy" depends="deploy.svn"/>
 
   <property environment="env"/>
   <import file="${env.FORREST_HOME}/tools/forrestbot/core/forrestbot.xml"/>



---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message