Author: thomas.diesler(a)jboss.com
Date: 2007-08-17 13:04:36 -0400 (Fri, 17 Aug 2007)
New Revision: 4426
Modified:
stack/native/branches/native-2.0/ant-import/build-release.xml
Log:
Update release targets
Modified: stack/native/branches/native-2.0/ant-import/build-release.xml
===================================================================
--- stack/native/branches/native-2.0/ant-import/build-release.xml 2007-08-17 16:43:33 UTC
(rev 4425)
+++ stack/native/branches/native-2.0/ant-import/build-release.xml 2007-08-17 17:04:36 UTC
(rev 4426)
@@ -13,8 +13,30 @@
<project>
+ <target name="release"
depends="release-to-repository,release-to-portal" description="Release
JBossWS">
+ <echo message="*********************************************"/>
+ <echo message="* Released: jbossws-${version.id}"/>
+ <echo message="*"/>
+ <echo message="* Almost there, please do these steps manually"/>
+ <echo message="*"/>
+ <echo message="* - Create SVN tag: jbossws-native-${version.id}"/>
+ <echo message="* - Release the jbossws-${version.id} version in
JIRA"/>
+ <echo message="* - Update portal-content/project.xml"/>
+ <echo message="* - Update portal-content/counter.xml"/>
+ <echo message="* - Update news in
portal-content/freezone/projectDescription.html"/>
+ <echo message="* - Verify release notes and install instructions"/>
+ <echo message="* - Publish the interop endpoints"/>
+ <echo message="* - Commit the portal-content"/>
+ <echo message="* - Commit the repository jars"/>
+ <echo message="* - Write a sticky post on the user forum"/>
+ <echo message="* - Post a message to
jbossws-announce(a)lists.jboss.org"/>
+ <echo message="* - Post a message to thecore(a)jboss.org"/>
+ <echo message="*"/>
+ <echo message="*********************************************"/>
+ </target>
+
<!-- Release to jboss.local.repository -->
- <target name="release"
depends="jars,check-svn-externals,warn-svn-externals"
+ <target name="release-to-repository"
depends="jars,check-svn-externals,warn-svn-externals"
description="Release to jboss.local.repository">
<!-- jboss/jbossws -->
@@ -103,4 +125,52 @@
</echo>
</target>
+ <!-- Release to portal content -->
+ <target name="release-to-portal"
depends="check-portal-content,build-src-dist,build-bin-dist"
+ description="Release to portal-content"
if="jbossws.portal.content.available">
+
+ <property name="portal.freezone"
value="${jbossws.portal.content}/freezone"/>
+ <property name="portal.userguide"
value="${portal.freezone}/user-guide"/>
+ <property name="portal.downloads"
value="${jbossws.portal.content}/downloads"/>
+
+ <!-- Copy downloads -->
+ <copy todir="${portal.downloads}" overwrite="true">
+ <fileset dir="${core.dir}/output">
+ <include name="jbossws-src-${version.id}.zip"/>
+ <include name="jbossws-native-${version.id}.zip"/>
+ </fileset>
+ </copy>
+
+ <!-- Copy Release Notes -->
+ <copy tofile="${portal.downloads}/ReleaseNotes-${version.id}.txt"
file="${core.dir}/output/jbossws-native-${version.id}/docs/ReleaseNotes.txt"
overwrite="true"/>
+ <copy tofile="${portal.downloads}/Install-${version.id}.txt"
file="${core.dir}/output/jbossws-native-${version.id}/docs/Install.txt"
overwrite="true"/>
+ </target>
+
+ <target name="check-portal-content" depends="prepare"
unless="jbossws.portal.content.available">
+ <echo message="*********************************************"/>
+ <echo message="* Not available: ${jbossws.portal.content}"/>
+ <echo message="*********************************************"/>
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- Build source distributions
-->
+ <!-- ================================================================== -->
+
+ <!-- Build the src dist -->
+ <target name="build-src-dist" description="Build the source
distribution">
+ <property name="build.src.dist"
value="${core.dir}/output/src-dist"/>
+ <delete dir="${build.src.dist}/jbossws-src-${version.id}"/>
+ <mkdir dir="${build.src.dist}/jbossws-src-${version.id}"/>
+ <copy todir="${build.src.dist}/jbossws-src-${version.id}">
+ <fileset dir="${basedir}">
+ <exclude name="**/*.md5"/>
+ <exclude name="**/output*/**"/>
+ <exclude name="**/thirdparty/**"/>
+ <exclude name="mergeinfo.txt"/>
+ </fileset>
+ </copy>
+ <zip destfile="${core.dir}/output/jbossws-src-${version.id}.zip"
basedir="${build.src.dist}"
+ includes="jbossws-src-${version.id}/**"/>
+ </target>
+
</project>
Show replies by date