You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by an...@apache.org on 2005/05/19 14:45:12 UTC
cvs commit: ant ReleaseInstructions build.xml
antoine 2005/05/19 05:45:12
Modified: . ReleaseInstructions build.xml
Log:
new target upload merged from Ant 1.6 branch
Revision Changes Path
1.27 +3 -1 ant/ReleaseInstructions
Index: ReleaseInstructions
===================================================================
RCS file: /home/cvs/ant/ReleaseInstructions,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- ReleaseInstructions 25 Apr 2005 07:50:43 -0000 1.26
+++ ReleaseInstructions 19 May 2005 12:45:12 -0000 1.27
@@ -58,6 +58,7 @@
On the branch and on the main trunk (*):
+ * WHATSNEW
* xdocs/antnews.xml (Announcement)
* xdocs/faq.xml (Ant's history details - not for betas)
* xdocs/index.xml (Announcement, latest release details, link to
@@ -164,7 +165,8 @@
you'll have to do some house-keeping for the old release:
* upload the new release files to
- /www/www.apache.org/dist/ant/[source|binary].
+ /www/www.apache.org/dist/ant/[source|binaries].
+ this can be done using the target upload of the build.xml
* remove the symbolic links from /www/www.apache.org/dist/ant.
1.470 +16 -0 ant/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/ant/build.xml,v
retrieving revision 1.469
retrieving revision 1.470
diff -u -r1.469 -r1.470
--- build.xml 17 May 2005 10:47:57 -0000 1.469
+++ build.xml 19 May 2005 12:45:12 -0000 1.470
@@ -1319,6 +1319,22 @@
description="--> creates the full Apache Ant distribution">
</target>
+ <!--
+ ===================================================================
+ Upload the distribution to cvs.apache.org for final releases
+ ===================================================================
+ -->
+ <target name="upload" description="upload distribution">
+ <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"/>
+ <fail unless="ssh.knownhosts" message="set a property with your ssh knownhosts"/>
+ <scp todir="${apache.user}@cvs.apache.org:/www/www.apache.org/dist/ant" keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}" knownhosts="${ssh.knownhosts}">
+ <fileset dir="${dist.base}">
+ <include name="**/*"/>
+ </fileset>
+ </scp>
+ </target>
<!--
===================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org