Mark branch as 1.3.0 RC
Project: http://git-wip-us.apache.org/repos/asf/activemq-nms-api/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-nms-api/commit/027ae9a5 Tree: http://git-wip-us.apache.org/repos/asf/activemq-nms-api/tree/027ae9a5 Diff: http://git-wip-us.apache.org/repos/asf/activemq-nms-api/diff/027ae9a5 Branch: refs/heads/1.3.x Commit: 027ae9a523e93b78a2bc2f238052d91cdca3be4a Parents: 26c0552 Author: Timothy A. Bish <tab...@apache.org> Authored: Mon May 10 13:26:30 2010 +0000 Committer: Timothy A. Bish <tab...@apache.org> Committed: Mon May 10 13:26:30 2010 +0000 ---------------------------------------------------------------------- nant.build | 140 +++++++++++++++++++++++++++---------------------------- package.ps1 | 58 +++++++++++------------ 2 files changed, 99 insertions(+), 99 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-nms-api/blob/027ae9a5/nant.build ---------------------------------------------------------------------- diff --git a/nant.build b/nant.build index d8e4b64..6d09831 100644 --- a/nant.build +++ b/nant.build @@ -17,82 +17,82 @@ --> <project name="Apache.NMS" default="default" xmlns="http://nant.sourceforge.net/release/0.85/nant.xsd"> - <!-- ============================================================================================ --> - <!-- I N I T I A L I Z A T I O N --> - <!-- ============================================================================================ --> - <property name="basedir" value="${project::get-base-directory()}" /> - <property name="project.name" value="Apache.NMS" /> - <property name="project.group" value="org.apache.activemq" /> - <property name="project.version" value="1.3.0" unless="${property::exists('project.version')}" /> - <property name="project.release.type" value="SNAPSHOT" unless="${property::exists('project.release.type')}" /> - <property name="project.short_description" value="Apache NMS Class Library" /> - <property name="project.description" value="Apache NMS (.Net Messaging Library): An abstract interface to Message Oriented Middleware (MOM) providers" /> - <property name="project.cls.compliant" value="true" /> - <property name="nunit.dll" value="${basedir}/lib/NUnit/${current.build.framework}/nunit.framework.dll" dynamic="true" /> - <property name="nunit.extensions.dll" value="${basedir}/lib/NUnit/${current.build.framework}/nunit.framework.extensions.dll" dynamic="true" /> + <!-- ============================================================================================ --> + <!-- I N I T I A L I Z A T I O N --> + <!-- ============================================================================================ --> + <property name="basedir" value="${project::get-base-directory()}" /> + <property name="project.name" value="Apache.NMS" /> + <property name="project.group" value="org.apache.activemq" /> + <property name="project.version" value="1.3.0" unless="${property::exists('project.version')}" /> + <property name="project.release.type" value="RC" unless="${property::exists('project.release.type')}" /> + <property name="project.short_description" value="Apache NMS Class Library" /> + <property name="project.description" value="Apache NMS (.Net Messaging Library): An abstract interface to Message Oriented Middleware (MOM) providers" /> + <property name="project.cls.compliant" value="true" /> + <property name="nunit.dll" value="${basedir}/lib/NUnit/${current.build.framework}/nunit.framework.dll" dynamic="true" /> + <property name="nunit.extensions.dll" value="${basedir}/lib/NUnit/${current.build.framework}/nunit.framework.extensions.dll" dynamic="true" /> - <target name="vendor-init" description="Initializes Vendor library from local repository."> - <!-- - Vendor specific info. The prefix of 'vendor.apache.org' is taken from the property - vendor.fileset.names'. This comma-delimited list is iterated, and properties with - well-known suffixes are used to access and copy down vendor file dependencies. - --> - <property name="vendor.fileset.names" value="vendor.nunit.org" /> + <target name="vendor-init" description="Initializes Vendor library from local repository."> + <!-- + Vendor specific info. The prefix of 'vendor.apache.org' is taken from the property + vendor.fileset.names'. This comma-delimited list is iterated, and properties with + well-known suffixes are used to access and copy down vendor file dependencies. + --> + <property name="vendor.fileset.names" value="vendor.nunit.org" /> - <!-- Property grouping for 'vendor.nunit.org' --> - <property name="vendor.nunit.org.name" value="NUnit" /> - <property name="vendor.nunit.org.group" value="org.nunit" /> - <property name="vendor.nunit.org.version" value="2.4.8" /> - <property name="vendor.nunit.org.filenames" value="nunit.framework.dll,nunit.framework.extensions.dll" /> - </target> + <!-- Property grouping for 'vendor.nunit.org' --> + <property name="vendor.nunit.org.name" value="NUnit" /> + <property name="vendor.nunit.org.group" value="org.nunit" /> + <property name="vendor.nunit.org.version" value="2.4.8" /> + <property name="vendor.nunit.org.filenames" value="nunit.framework.dll,nunit.framework.extensions.dll" /> + </target> - <target name="dependency-init" description="Initializes build dependencies"> - <if test="${current.build.framework == 'net-3.5' or current.build.framework == 'mono-2.0'}"> - <assemblyfileset failonempty="true" id="dependencies"> - <include name="${current.build.framework.assembly.dir}/mscorlib.dll" /> - <include name="${current.build.framework.assembly.dir}/System.dll" /> - <include name="${current.build.framework.assembly.dir}/System.Core.dll" /> - <include name="${current.build.framework.assembly.dir}/System.Web.dll" /> - <include name="${current.build.framework.assembly.dir}/System.Xml.dll" /> - </assemblyfileset> - </if> - <if test="${current.build.framework != 'net-3.5'}"> - <assemblyfileset failonempty="true" id="dependencies"> - <include name="${current.build.framework.assembly.dir}/mscorlib.dll" /> - <include name="${current.build.framework.assembly.dir}/System.dll" /> - <include name="${current.build.framework.assembly.dir}/System.Web.dll" /> - <include name="${current.build.framework.assembly.dir}/System.Xml.dll" /> - </assemblyfileset> - </if> + <target name="dependency-init" description="Initializes build dependencies"> + <if test="${current.build.framework == 'net-3.5' or current.build.framework == 'mono-2.0'}"> + <assemblyfileset failonempty="true" id="dependencies"> + <include name="${current.build.framework.assembly.dir}/mscorlib.dll" /> + <include name="${current.build.framework.assembly.dir}/System.dll" /> + <include name="${current.build.framework.assembly.dir}/System.Core.dll" /> + <include name="${current.build.framework.assembly.dir}/System.Web.dll" /> + <include name="${current.build.framework.assembly.dir}/System.Xml.dll" /> + </assemblyfileset> + </if> + <if test="${current.build.framework != 'net-3.5'}"> + <assemblyfileset failonempty="true" id="dependencies"> + <include name="${current.build.framework.assembly.dir}/mscorlib.dll" /> + <include name="${current.build.framework.assembly.dir}/System.dll" /> + <include name="${current.build.framework.assembly.dir}/System.Web.dll" /> + <include name="${current.build.framework.assembly.dir}/System.Xml.dll" /> + </assemblyfileset> + </if> - <assemblyfileset failonempty="true" id="test.dependencies"> - <include name="${current.build.framework.assembly.dir}/mscorlib.dll" /> - <include name="${current.build.framework.assembly.dir}/System.dll" /> - <include name="${current.build.framework.assembly.dir}/System.Xml.dll" /> - <include name="${build.bin.dir}/${project.name}.dll" /> - <include name="${nunit.dll}" /> - <include name="${nunit.extensions.dll}" /> - </assemblyfileset> + <assemblyfileset failonempty="true" id="test.dependencies"> + <include name="${current.build.framework.assembly.dir}/mscorlib.dll" /> + <include name="${current.build.framework.assembly.dir}/System.dll" /> + <include name="${current.build.framework.assembly.dir}/System.Xml.dll" /> + <include name="${build.bin.dir}/${project.name}.dll" /> + <include name="${nunit.dll}" /> + <include name="${nunit.extensions.dll}" /> + </assemblyfileset> - <fileset id="content.filenames"> - <include name="LICENSE.txt" /> - <include name="NOTICE.txt" /> - </fileset> + <fileset id="content.filenames"> + <include name="LICENSE.txt" /> + <include name="NOTICE.txt" /> + </fileset> - <fileset id="install.filenames"> - <include name="LICENSE.txt" /> - <include name="NOTICE.txt" /> - <include name="${build.bin.dir}/${project.name}.dll" /> - <include name="${build.bin.dir}/${project.name}.pdb" /> - <include name="${build.bin.dir}/${project.name}.dll.mdb" /> - <include name="${build.bin.dir}/${project.name}.Test.dll" /> - <include name="${build.bin.dir}/${project.name}.Test.pdb" /> - <include name="${build.bin.dir}/${project.name}.Test.dll.mdb" /> - </fileset> - </target> + <fileset id="install.filenames"> + <include name="LICENSE.txt" /> + <include name="NOTICE.txt" /> + <include name="${build.bin.dir}/${project.name}.dll" /> + <include name="${build.bin.dir}/${project.name}.pdb" /> + <include name="${build.bin.dir}/${project.name}.dll.mdb" /> + <include name="${build.bin.dir}/${project.name}.Test.dll" /> + <include name="${build.bin.dir}/${project.name}.Test.pdb" /> + <include name="${build.bin.dir}/${project.name}.Test.dll.mdb" /> + </fileset> + </target> - <target name="default" depends="install-all" /> + <target name="default" depends="install-all" /> - <!-- Load the common target definitions --> - <include buildfile="${basedir}/nant-common.xml" /> + <!-- Load the common target definitions --> + <include buildfile="${basedir}/nant-common.xml" /> </project> http://git-wip-us.apache.org/repos/asf/activemq-nms-api/blob/027ae9a5/package.ps1 ---------------------------------------------------------------------- diff --git a/package.ps1 b/package.ps1 index b412796..2532ad5 100644 --- a/package.ps1 +++ b/package.ps1 @@ -14,48 +14,48 @@ # limitations under the License. $pkgname = "Apache.NMS" -$pkgver = "1.3-SNAPSHOT" +$pkgver = "1.3-RC1" $configurations = "release", "debug" $frameworks = "mono-2.0", "net-2.0", "net-3.5", "netcf-2.0", "netcf-3.5" write-progress "Creating package directory." "Initializing..." if(!(test-path package)) { - md package + md package } if(test-path build) { - pushd build + pushd build - $pkgdir = "..\package" + $pkgdir = "..\package" - write-progress "Packaging Application files." "Scanning..." - $zipfile = "$pkgdir\$pkgname-$pkgver-bin.zip" - zip -9 -u -j "$zipfile" ..\LICENSE.txt - zip -9 -u -j "$zipfile" ..\NOTICE.txt - foreach($configuration in $configurations) - { - foreach($framework in $frameworks) - { - zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll" - zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.xml" - zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll" - zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.xml" - if($framework -ieq "mono-2.0") - { - zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb" - zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb" - } - else - { - zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb" - zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb" - } - } - } + write-progress "Packaging Application files." "Scanning..." + $zipfile = "$pkgdir\$pkgname-$pkgver-bin.zip" + zip -9 -u -j "$zipfile" ..\LICENSE.txt + zip -9 -u -j "$zipfile" ..\NOTICE.txt + foreach($configuration in $configurations) + { + foreach($framework in $frameworks) + { + zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll" + zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.xml" + zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll" + zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.xml" + if($framework -ieq "mono-2.0") + { + zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb" + zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb" + } + else + { + zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb" + zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb" + } + } + } - popd + popd } write-progress "Packaging Source code files." "Scanning..."