add stage target

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085515 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2011-03-25 18:54:59 +00:00
parent ec9a26e9cf
commit 66b77cfa67
1 changed files with 27 additions and 0 deletions

View File

@ -399,6 +399,33 @@
<target name="dist-all" depends="dist, dist-src"/>
<property name="rc" value="rc0"/>
<property name="remote.staging.dir" value="public_html/staging_area/${rc}/${version}"/>
<property name="keyfile" value="${user.home}/.ssh/id_rsa"/>
<property name="scp.user" value="${user.name}"/>
<!--keys.dir is the location of the https://svn.apache.org/repos/asf/lucene/java/dist/ directory-->
<property name="keys.dir" value="${common.dir}/../../dist"/>
<target name="copy-to-stage">
<sshexec host="people.apache.org"
username="${scp.user}"
keyfile="${keyfile}"
command="mkdir -p ${remote.staging.dir}"/>
<echo>Uploading artifacts to ${scp.user}@people.apache.org:${remote.staging.dir}</echo>
<scp todir="${scp.user}@people.apache.org:${remote.staging.dir}"
username="${scp.user}"
keyfile="${keyfile}"
verbose="true"
>
<!--<fileset dir="dist"/>-->
<fileset dir="${keys.dir}">
<include name="KEYS"/>
</fileset>
</scp>
</target>
<target name="stage" depends="dist-all, generate-maven-artifacts, sign-artifacts, copy-to-stage">
</target>
<target name="generate-maven-artifacts"
depends="maven.ant.tasks-check, package, jar-src, jar-test-framework-src, javadocs">
<sequential>