Skip to content

Commit

Permalink
removing obsolete targets used for releases in the past
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1583514 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Antoine Levy-Lambert committed Apr 1, 2014
1 parent 4305c12 commit 14581f9
Showing 1 changed file with 0 additions and 54 deletions.
54 changes: 0 additions & 54 deletions build.xml
Expand Up @@ -1345,60 +1345,6 @@
description="--> creates the full Apache Ant distribution">
</target>

<!--
===================================================================
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
Expand Down

0 comments on commit 14581f9

Please sign in to comment.