activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r749869 - /activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1
Date Wed, 04 Mar 2009 01:05:19 GMT
Author: jgomes
Date: Wed Mar  4 01:05:19 2009
New Revision: 749869

URL: http://svn.apache.org/viewvc?rev=749869&view=rev
Log:
Add progress bars and packaging of source files.

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1?rev=749869&r1=749868&r2=749869&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1 Wed Mar  4 01:05:19 2009
@@ -23,6 +23,7 @@
 	zip -9 -u -j "$zipfile" ..\NOTICE.txt
 }
 
+write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
@@ -30,10 +31,12 @@
 
 pushd build
 
-# Application files
+$pkgdir = "..\package"
+
+write-progress "Packaging Application files." "Scanning..."
 foreach($configuration in $configurations)
 {
-	$zipfile = "..\package\Apache.NMS-$pkgver-$configuration.zip"
+	$zipfile = "$pkgdir\Apache.NMS-$pkgver-bin-$configuration.zip"
 	package-legalfiles $zipfile
 	foreach($framework in $frameworks)
 	{
@@ -41,10 +44,10 @@
 	}
 }
 
-# PDB Files
+write-progress "Packaging PDB files." "Scanning..."
 foreach($configuration in $configurations)
 {
-	$zipfile = "..\package\Apache.NMS-$pkgver-$configuration-PDBs.zip"
+	$zipfile = "$pkgdir\Apache.NMS-$pkgver-PDBs-$configuration.zip"
 	package-legalfiles $zipfile
 	foreach($framework in $frameworks)
 	{
@@ -59,10 +62,10 @@
 	}
 }
 
-# Unit test files
+write-progress "Packaging Unit test files." "Scanning..."
 foreach($configuration in $configurations)
 {
-	$zipfile = "..\package\Apache.NMS-$pkgver-$configuration-UnitTests.zip"
+	$zipfile = "$pkgdir\Apache.NMS-$pkgver-UnitTests-$configuration.zip"
 	package-legalfiles $zipfile
 	foreach($framework in $frameworks)
 	{
@@ -79,3 +82,12 @@
 }
 
 popd
+
+write-progress "Packaging Source code files." "Scanning..."
+$pkgdir = "package"
+$zipfile = "$pkgdir\Apache.NMS-$pkgver-src.zip"
+
+zip -9 -u "$zipfile" LICENSE.txt NOTICE.txt nant-common.xml nant.build package.ps1 vs2008-nms-test.csproj
vs2008-nms.csproj vs2008-nms.sln
+zip -9 -u -r "$zipfile" keyfile lib src
+
+write-progress "Packaging" "Complete."



Mime
View raw message