You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by an...@apache.org on 2014/04/01 04:10:45 UTC

svn commit: r1583514 - /ant/core/trunk/build.xml

Author: antoine
Date: Tue Apr  1 02:10:45 2014
New Revision: 1583514

URL: http://svn.apache.org/r1583514
Log:
removing obsolete targets used for releases in the past

Modified:
    ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/build.xml?rev=1583514&r1=1583513&r2=1583514&view=diff
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Tue Apr  1 02:10:45 2014
@@ -1347,60 +1347,6 @@
 
   <!--
        ===================================================================
-         Upload the distribution to cvs.apache.org for final releases
-       ===================================================================
-  -->
-
-  <target name="init-upload" >
-    <fail unless="apache.user" message="set a property apache.user with your apache user"/>
-    <fail unless="ssh.passphrase" message="set a property with your ssh passphrase"/>
-    <fail unless="ssh.keyfile" message="set a property with your ssh keyfile"/>
-    <property name="ssh.knownhosts" location="${user.home}/.ssh/known_hosts" />
-    <property name="ssh.host" value="people.apache.org"/>
-    <property name="ssh.verbose" value="false"/>
-    <property name="ssh.base.directory" value="/www/www.apache.org/dist"/>
-    <property name="ssh.dist.directory" value="${ssh.base.directory}/ant"/>
-    <property name="ssh.java-repository.directory" value="/www/people.apache.org/repo/m2-ibiblio-rsync-repository/${groupid}"/>
-    <echo >
-      Uploading Ant version ${project.version}
-      to host ${ssh.host} as ${apache.user}
-      distribution to ${ssh.dist.directory}
-      maven artefacts to ${ssh.java-repository.directory}	
-      Known hosts = ${ssh.knownhosts}
-    </echo>
-  </target>
-
-  <!-- create the directories if absent-->
-  <target name="ssh-mkdirs"
-    depends="init-upload">
-    <sshexec username="${apache.user}" host="${ssh.host}"
-      keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
-      knownhosts="${ssh.knownhosts}"
-      command="mkdir -p ${ssh.dist.directory}" />
-  </target>
-
-  <target name="upload" description="--> uploads the distribution"
-      depends="init-upload,ssh-mkdirs">
-    <scp todir="${apache.user}@${ssh.host}:${ssh.dist.directory}"
-      keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
-      knownhosts="${ssh.knownhosts}"
-      verbose="${ssh.verbose}" >
-      <fileset dir="${dist.base}">
-        <include name="**/*${project.version}*"/>
-      </fileset>
-     </scp>
-    <scp todir="${apache.user}@${ssh.host}:${ssh.java-repository.directory}"
-      keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
-      knownhosts="${ssh.knownhosts}"
-      verbose="${ssh.verbose}">
-      <fileset dir="java-repository/${groupid}">
-        <include name="**/*${project.version}*"/>
-      </fileset>
-     </scp>
-  </target>
-
-  <!--
-       ===================================================================
          Cleans up build and distribution directories
        ===================================================================
   -->