activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r785894 - in /activemq/activemq-dotnet: Apache.NMS.ActiveMQ/tags/1.1.0/ Apache.NMS.ActiveMQ/trunk/ Apache.NMS.EMS/tags/1.1.0/ Apache.NMS.EMS/trunk/ Apache.NMS.MSMQ/tags/1.1.0/ Apache.NMS.MSMQ/trunk/ Apache.NMS.WCF/tags/1.1.0/ Apache.NMS.WCF...
Date Thu, 18 Jun 2009 04:24:56 GMT
Author: jgomes
Date: Thu Jun 18 04:24:55 2009
New Revision: 785894

URL: http://svn.apache.org/viewvc?rev=785894&view=rev
Log:
Refactored package.ps1 to create two ZIP files instead of several.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0/nant-common.xml
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0/package.ps1
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant-common.xml
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/package.ps1
    activemq/activemq-dotnet/Apache.NMS.EMS/tags/1.1.0/nant-common.xml
    activemq/activemq-dotnet/Apache.NMS.EMS/tags/1.1.0/package.ps1
    activemq/activemq-dotnet/Apache.NMS.EMS/trunk/nant-common.xml
    activemq/activemq-dotnet/Apache.NMS.EMS/trunk/package.ps1
    activemq/activemq-dotnet/Apache.NMS.MSMQ/tags/1.1.0/nant-common.xml
    activemq/activemq-dotnet/Apache.NMS.MSMQ/tags/1.1.0/package.ps1
    activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/nant-common.xml
    activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/package.ps1
    activemq/activemq-dotnet/Apache.NMS.WCF/tags/1.1.0/nant-common.xml
    activemq/activemq-dotnet/Apache.NMS.WCF/tags/1.1.0/package.ps1
    activemq/activemq-dotnet/Apache.NMS.WCF/trunk/nant-common.xml
    activemq/activemq-dotnet/Apache.NMS.WCF/trunk/package.ps1
    activemq/activemq-dotnet/Apache.NMS/tags/1.1.0/nant-common.xml
    activemq/activemq-dotnet/Apache.NMS/tags/1.1.0/package.ps1
    activemq/activemq-dotnet/Apache.NMS/trunk/nant-common.xml
    activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0/nant-common.xml?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0/nant-common.xml Thu Jun 18 04:24:55
2009
@@ -502,6 +502,7 @@
     <delete dir="build" if="${directory::exists('build')}" />
     <delete dir="obj" if="${directory::exists('obj')}" />
     <delete dir="lib" if="${directory::exists('lib')}" />
+    <delete dir="package" if="${directory::exists('package')}" />
   </target>
 
   <target name="doc" depends="compile">

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0/package.ps1?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0/package.ps1 Thu Jun 18 04:24:55
2009
@@ -18,72 +18,44 @@
 $configurations = "release", "debug"
 $frameworks = "mono-2.0", "net-2.0", "net-3.5", "netcf-2.0"
 
-function package-legalfiles($zipfile)
-{
-	zip -9 -u -j "$zipfile" ..\LICENSE.txt
-	zip -9 -u -j "$zipfile" ..\NOTICE.txt
-}
-
 write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
 }
 
-pushd build
-
-$pkgdir = "..\package"
-
-write-progress "Packaging Application files." "Scanning..."
-foreach($configuration in $configurations)
+if(test-path build)
 {
-	$zipfile = "$pkgdir\$pkgname-$pkgver-bin-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
-		zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
-	}
-}
+	pushd build
 
-write-progress "Packaging PDB files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-PDBs-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
-		}
-		else
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
-		}
-	}
-}
+	$pkgdir = "..\package"
 
-write-progress "Packaging Unit test files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-UnitTests-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
+	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)
 	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
-		}
-		else
+		foreach($framework in $frameworks)
 		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			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..."
 $pkgdir = "package"
@@ -92,4 +64,4 @@
 zip -9 -u "$zipfile" LICENSE.txt NOTICE.txt nant-common.xml nant.build package.ps1 vs2008-activemq-test.csproj
vs2008-activemq.csproj vs2008-activemq.sln nmsprovider*.config
 zip -9 -u -r "$zipfile" keyfile src
 
-write-progress "Packaging" "Complete."
+write-progress -Completed "Packaging" "Complete."

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant-common.xml?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nant-common.xml Thu Jun 18 04:24:55
2009
@@ -502,6 +502,7 @@
     <delete dir="build" if="${directory::exists('build')}" />
     <delete dir="obj" if="${directory::exists('obj')}" />
     <delete dir="lib" if="${directory::exists('lib')}" />
+    <delete dir="package" if="${directory::exists('package')}" />
   </target>
 
   <target name="doc" depends="compile">

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/package.ps1?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/package.ps1 Thu Jun 18 04:24:55 2009
@@ -18,72 +18,44 @@
 $configurations = "release", "debug"
 $frameworks = "mono-2.0", "net-2.0", "net-3.5", "netcf-2.0"
 
-function package-legalfiles($zipfile)
-{
-	zip -9 -u -j "$zipfile" ..\LICENSE.txt
-	zip -9 -u -j "$zipfile" ..\NOTICE.txt
-}
-
 write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
 }
 
-pushd build
-
-$pkgdir = "..\package"
-
-write-progress "Packaging Application files." "Scanning..."
-foreach($configuration in $configurations)
+if(test-path build)
 {
-	$zipfile = "$pkgdir\$pkgname-$pkgver-bin-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
-		zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
-	}
-}
+	pushd build
 
-write-progress "Packaging PDB files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-PDBs-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
-		}
-		else
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
-		}
-	}
-}
+	$pkgdir = "..\package"
 
-write-progress "Packaging Unit test files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-UnitTests-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
+	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)
 	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
-		}
-		else
+		foreach($framework in $frameworks)
 		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			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..."
 $pkgdir = "package"
@@ -92,4 +64,4 @@
 zip -9 -u "$zipfile" LICENSE.txt NOTICE.txt nant-common.xml nant.build package.ps1 vs2008-activemq-test.csproj
vs2008-activemq.csproj vs2008-activemq.sln nmsprovider*.config
 zip -9 -u -r "$zipfile" keyfile src
 
-write-progress "Packaging" "Complete."
+write-progress -Completed "Packaging" "Complete."

Modified: activemq/activemq-dotnet/Apache.NMS.EMS/tags/1.1.0/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/tags/1.1.0/nant-common.xml?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/tags/1.1.0/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/tags/1.1.0/nant-common.xml Thu Jun 18 04:24:55
2009
@@ -502,6 +502,7 @@
     <delete dir="build" if="${directory::exists('build')}" />
     <delete dir="obj" if="${directory::exists('obj')}" />
     <delete dir="lib" if="${directory::exists('lib')}" />
+    <delete dir="package" if="${directory::exists('package')}" />
   </target>
 
   <target name="doc" depends="compile">

Modified: activemq/activemq-dotnet/Apache.NMS.EMS/tags/1.1.0/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/tags/1.1.0/package.ps1?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/tags/1.1.0/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/tags/1.1.0/package.ps1 Thu Jun 18 04:24:55 2009
@@ -18,71 +18,44 @@
 $configurations = "release", "debug"
 $frameworks = "net-2.0", "net-3.5"
 
-function package-legalfiles($zipfile)
-{
-	zip -9 -u -j "$zipfile" ..\LICENSE.txt
-	zip -9 -u -j "$zipfile" ..\NOTICE.txt
-}
-
 write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
 }
 
-pushd build
-
-$pkgdir = "..\package"
-
-write-progress "Packaging Application files." "Scanning..."
-foreach($configuration in $configurations)
+if(test-path build)
 {
-	$zipfile = "$pkgdir\$pkgname-$pkgver-bin-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
-	}
-}
+	pushd build
 
-write-progress "Packaging PDB files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-PDBs-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
-		}
-		else
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
-		}
-	}
-}
+	$pkgdir = "..\package"
 
-write-progress "Packaging Unit test files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-UnitTests-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
+	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)
 	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
-		}
-		else
+		foreach($framework in $frameworks)
 		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			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..."
 $pkgdir = "package"
@@ -91,4 +64,4 @@
 zip -9 -u "$zipfile" LICENSE.txt NOTICE.txt nant-common.xml nant.build package.ps1 vs2008-ems-test.csproj
vs2008-ems.csproj vs2008-ems.sln
 zip -9 -u -r "$zipfile" keyfile src
 
-write-progress "Packaging" "Complete."
+write-progress -Completed "Packaging" "Complete."

Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/nant-common.xml?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/nant-common.xml Thu Jun 18 04:24:55 2009
@@ -502,6 +502,7 @@
     <delete dir="build" if="${directory::exists('build')}" />
     <delete dir="obj" if="${directory::exists('obj')}" />
     <delete dir="lib" if="${directory::exists('lib')}" />
+    <delete dir="package" if="${directory::exists('package')}" />
   </target>
 
   <target name="doc" depends="compile">

Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/package.ps1?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/package.ps1 Thu Jun 18 04:24:55 2009
@@ -18,71 +18,44 @@
 $configurations = "release", "debug"
 $frameworks = "net-2.0", "net-3.5"
 
-function package-legalfiles($zipfile)
-{
-	zip -9 -u -j "$zipfile" ..\LICENSE.txt
-	zip -9 -u -j "$zipfile" ..\NOTICE.txt
-}
-
 write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
 }
 
-pushd build
-
-$pkgdir = "..\package"
-
-write-progress "Packaging Application files." "Scanning..."
-foreach($configuration in $configurations)
+if(test-path build)
 {
-	$zipfile = "$pkgdir\$pkgname-$pkgver-bin-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
-	}
-}
+	pushd build
 
-write-progress "Packaging PDB files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-PDBs-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
-		}
-		else
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
-		}
-	}
-}
+	$pkgdir = "..\package"
 
-write-progress "Packaging Unit test files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-UnitTests-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
+	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)
 	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
-		}
-		else
+		foreach($framework in $frameworks)
 		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			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..."
 $pkgdir = "package"
@@ -91,4 +64,4 @@
 zip -9 -u "$zipfile" LICENSE.txt NOTICE.txt nant-common.xml nant.build package.ps1 vs2008-ems-test.csproj
vs2008-ems.csproj vs2008-ems.sln
 zip -9 -u -r "$zipfile" keyfile src
 
-write-progress "Packaging" "Complete."
+write-progress -Completed "Packaging" "Complete."

Modified: activemq/activemq-dotnet/Apache.NMS.MSMQ/tags/1.1.0/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/tags/1.1.0/nant-common.xml?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.MSMQ/tags/1.1.0/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS.MSMQ/tags/1.1.0/nant-common.xml Thu Jun 18 04:24:55
2009
@@ -502,6 +502,7 @@
     <delete dir="build" if="${directory::exists('build')}" />
     <delete dir="obj" if="${directory::exists('obj')}" />
     <delete dir="lib" if="${directory::exists('lib')}" />
+    <delete dir="package" if="${directory::exists('package')}" />
   </target>
 
   <target name="doc" depends="compile">

Modified: activemq/activemq-dotnet/Apache.NMS.MSMQ/tags/1.1.0/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/tags/1.1.0/package.ps1?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.MSMQ/tags/1.1.0/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS.MSMQ/tags/1.1.0/package.ps1 Thu Jun 18 04:24:55 2009
@@ -18,71 +18,44 @@
 $configurations = "release", "debug"
 $frameworks = "net-1.1", "net-2.0", "net-3.5"
 
-function package-legalfiles($zipfile)
-{
-	zip -9 -u -j "$zipfile" ..\LICENSE.txt
-	zip -9 -u -j "$zipfile" ..\NOTICE.txt
-}
-
 write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
 }
 
-pushd build
-
-$pkgdir = "..\package"
-
-write-progress "Packaging Application files." "Scanning..."
-foreach($configuration in $configurations)
+if(test-path build)
 {
-	$zipfile = "$pkgdir\$pkgname-$pkgver-bin-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
-	}
-}
+	pushd build
 
-write-progress "Packaging PDB files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-PDBs-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
-		}
-		else
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
-		}
-	}
-}
+	$pkgdir = "..\package"
 
-write-progress "Packaging Unit test files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-UnitTests-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
+	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)
 	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
-		}
-		else
+		foreach($framework in $frameworks)
 		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			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..."
 $pkgdir = "package"
@@ -91,4 +64,4 @@
 zip -9 -u "$zipfile" LICENSE.txt NOTICE.txt nant-common.xml nant.build package.ps1 vs2008-msmq-test.csproj
vs2008-msmq.csproj vs2008-msmq.sln
 zip -9 -u -r "$zipfile" keyfile src
 
-write-progress "Packaging" "Complete."
+write-progress -Completed "Packaging" "Complete."

Modified: activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/nant-common.xml?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/nant-common.xml Thu Jun 18 04:24:55 2009
@@ -502,6 +502,7 @@
     <delete dir="build" if="${directory::exists('build')}" />
     <delete dir="obj" if="${directory::exists('obj')}" />
     <delete dir="lib" if="${directory::exists('lib')}" />
+    <delete dir="package" if="${directory::exists('package')}" />
   </target>
 
   <target name="doc" depends="compile">

Modified: activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/package.ps1?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/package.ps1 Thu Jun 18 04:24:55 2009
@@ -18,71 +18,44 @@
 $configurations = "release", "debug"
 $frameworks = "net-1.1", "net-2.0", "net-3.5"
 
-function package-legalfiles($zipfile)
-{
-	zip -9 -u -j "$zipfile" ..\LICENSE.txt
-	zip -9 -u -j "$zipfile" ..\NOTICE.txt
-}
-
 write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
 }
 
-pushd build
-
-$pkgdir = "..\package"
-
-write-progress "Packaging Application files." "Scanning..."
-foreach($configuration in $configurations)
+if(test-path build)
 {
-	$zipfile = "$pkgdir\$pkgname-$pkgver-bin-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
-	}
-}
+	pushd build
 
-write-progress "Packaging PDB files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-PDBs-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
-		}
-		else
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
-		}
-	}
-}
+	$pkgdir = "..\package"
 
-write-progress "Packaging Unit test files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-UnitTests-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
+	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)
 	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
-		}
-		else
+		foreach($framework in $frameworks)
 		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			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..."
 $pkgdir = "package"
@@ -91,4 +64,4 @@
 zip -9 -u "$zipfile" LICENSE.txt NOTICE.txt nant-common.xml nant.build package.ps1 vs2008-msmq-test.csproj
vs2008-msmq.csproj vs2008-msmq.sln
 zip -9 -u -r "$zipfile" keyfile src
 
-write-progress "Packaging" "Complete."
+write-progress -Completed "Packaging" "Complete."

Modified: activemq/activemq-dotnet/Apache.NMS.WCF/tags/1.1.0/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.WCF/tags/1.1.0/nant-common.xml?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.WCF/tags/1.1.0/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS.WCF/tags/1.1.0/nant-common.xml Thu Jun 18 04:24:55
2009
@@ -502,6 +502,7 @@
     <delete dir="build" if="${directory::exists('build')}" />
     <delete dir="obj" if="${directory::exists('obj')}" />
     <delete dir="lib" if="${directory::exists('lib')}" />
+    <delete dir="package" if="${directory::exists('package')}" />
   </target>
 
   <target name="doc" depends="compile">

Modified: activemq/activemq-dotnet/Apache.NMS.WCF/tags/1.1.0/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.WCF/tags/1.1.0/package.ps1?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.WCF/tags/1.1.0/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS.WCF/tags/1.1.0/package.ps1 Thu Jun 18 04:24:55 2009
@@ -18,71 +18,44 @@
 $configurations = "release", "debug"
 $frameworks = "net-3.5"
 
-function package-legalfiles($zipfile)
-{
-	zip -9 -u -j "$zipfile" ..\LICENSE.txt
-	zip -9 -u -j "$zipfile" ..\NOTICE.txt
-}
-
 write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
 }
 
-pushd build
-
-$pkgdir = "..\package"
-
-write-progress "Packaging Application files." "Scanning..."
-foreach($configuration in $configurations)
+if(test-path build)
 {
-	$zipfile = "$pkgdir\$pkgname-$pkgver-bin-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
-	}
-}
+	pushd build
 
-write-progress "Packaging PDB files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-PDBs-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
-		}
-		else
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
-		}
-	}
-}
+	$pkgdir = "..\package"
 
-write-progress "Packaging Unit test files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-UnitTests-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
+	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)
 	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
-		}
-		else
+		foreach($framework in $frameworks)
 		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			# zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			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..."
 $pkgdir = "package"
@@ -91,4 +64,4 @@
 zip -9 -u "$zipfile" LICENSE.txt NOTICE.txt nant-common.xml nant.build package.ps1 vs2008-nms-wcf.csproj
vs2008-nms-wcf.sln
 zip -9 -u -r "$zipfile" keyfile src
 
-write-progress "Packaging" "Complete."
+write-progress -Completed "Packaging" "Complete."

Modified: activemq/activemq-dotnet/Apache.NMS.WCF/trunk/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.WCF/trunk/nant-common.xml?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.WCF/trunk/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS.WCF/trunk/nant-common.xml Thu Jun 18 04:24:55 2009
@@ -502,6 +502,7 @@
     <delete dir="build" if="${directory::exists('build')}" />
     <delete dir="obj" if="${directory::exists('obj')}" />
     <delete dir="lib" if="${directory::exists('lib')}" />
+    <delete dir="package" if="${directory::exists('package')}" />
   </target>
 
   <target name="doc" depends="compile">

Modified: activemq/activemq-dotnet/Apache.NMS.WCF/trunk/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.WCF/trunk/package.ps1?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.WCF/trunk/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS.WCF/trunk/package.ps1 Thu Jun 18 04:24:55 2009
@@ -18,71 +18,44 @@
 $configurations = "release", "debug"
 $frameworks = "net-3.5"
 
-function package-legalfiles($zipfile)
-{
-	zip -9 -u -j "$zipfile" ..\LICENSE.txt
-	zip -9 -u -j "$zipfile" ..\NOTICE.txt
-}
-
 write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
 }
 
-pushd build
-
-$pkgdir = "..\package"
-
-write-progress "Packaging Application files." "Scanning..."
-foreach($configuration in $configurations)
+if(test-path build)
 {
-	$zipfile = "$pkgdir\$pkgname-$pkgver-bin-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
-	}
-}
+	pushd build
 
-write-progress "Packaging PDB files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-PDBs-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
-		}
-		else
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
-		}
-	}
-}
+	$pkgdir = "..\package"
 
-write-progress "Packaging Unit test files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-UnitTests-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
+	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)
 	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
-		}
-		else
+		foreach($framework in $frameworks)
 		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			# zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			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..."
 $pkgdir = "package"
@@ -91,4 +64,4 @@
 zip -9 -u "$zipfile" LICENSE.txt NOTICE.txt nant-common.xml nant.build package.ps1 vs2008-nms-wcf.csproj
vs2008-nms-wcf.sln
 zip -9 -u -r "$zipfile" keyfile src
 
-write-progress "Packaging" "Complete."
+write-progress -Completed "Packaging" "Complete."

Modified: activemq/activemq-dotnet/Apache.NMS/tags/1.1.0/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/tags/1.1.0/nant-common.xml?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/tags/1.1.0/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS/tags/1.1.0/nant-common.xml Thu Jun 18 04:24:55 2009
@@ -502,6 +502,7 @@
     <delete dir="build" if="${directory::exists('build')}" />
     <delete dir="obj" if="${directory::exists('obj')}" />
     <delete dir="lib" if="${directory::exists('lib')}" />
+    <delete dir="package" if="${directory::exists('package')}" />
   </target>
 
   <target name="doc" depends="compile">

Modified: activemq/activemq-dotnet/Apache.NMS/tags/1.1.0/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/tags/1.1.0/package.ps1?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/tags/1.1.0/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS/tags/1.1.0/package.ps1 Thu Jun 18 04:24:55 2009
@@ -18,71 +18,44 @@
 $configurations = "release", "debug"
 $frameworks = "mono-2.0", "net-1.1", "net-2.0", "net-3.5", "netcf-2.0"
 
-function package-legalfiles($zipfile)
-{
-	zip -9 -u -j "$zipfile" ..\LICENSE.txt
-	zip -9 -u -j "$zipfile" ..\NOTICE.txt
-}
-
 write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
 }
 
-pushd build
-
-$pkgdir = "..\package"
-
-write-progress "Packaging Application files." "Scanning..."
-foreach($configuration in $configurations)
+if(test-path build)
 {
-	$zipfile = "$pkgdir\$pkgname-$pkgver-bin-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
-	}
-}
+	pushd build
 
-write-progress "Packaging PDB files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-PDBs-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
-		}
-		else
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
-		}
-	}
-}
+	$pkgdir = "..\package"
 
-write-progress "Packaging Unit test files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-UnitTests-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
+	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)
 	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
-		}
-		else
+		foreach($framework in $frameworks)
 		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			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..."
 $pkgdir = "package"
@@ -91,4 +64,4 @@
 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 src
 
-write-progress "Packaging" "Complete."
+write-progress -Completed "Packaging" "Complete."

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/nant-common.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/nant-common.xml?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/nant-common.xml (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/nant-common.xml Thu Jun 18 04:24:55 2009
@@ -502,6 +502,7 @@
     <delete dir="build" if="${directory::exists('build')}" />
     <delete dir="obj" if="${directory::exists('obj')}" />
     <delete dir="lib" if="${directory::exists('lib')}" />
+    <delete dir="package" if="${directory::exists('package')}" />
   </target>
 
   <target name="doc" depends="compile">

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1?rev=785894&r1=785893&r2=785894&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1 (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/package.ps1 Thu Jun 18 04:24:55 2009
@@ -18,71 +18,44 @@
 $configurations = "release", "debug"
 $frameworks = "mono-2.0", "net-1.1", "net-2.0", "net-3.5", "netcf-2.0"
 
-function package-legalfiles($zipfile)
-{
-	zip -9 -u -j "$zipfile" ..\LICENSE.txt
-	zip -9 -u -j "$zipfile" ..\NOTICE.txt
-}
-
 write-progress "Creating package directory." "Initializing..."
 if(!(test-path package))
 {
 	md package
 }
 
-pushd build
-
-$pkgdir = "..\package"
-
-write-progress "Packaging Application files." "Scanning..."
-foreach($configuration in $configurations)
+if(test-path build)
 {
-	$zipfile = "$pkgdir\$pkgname-$pkgver-bin-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
-	}
-}
+	pushd build
 
-write-progress "Packaging PDB files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-PDBs-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
-	{
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll.mdb"
-		}
-		else
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.pdb"
-		}
-	}
-}
+	$pkgdir = "..\package"
 
-write-progress "Packaging Unit test files." "Scanning..."
-foreach($configuration in $configurations)
-{
-	$zipfile = "$pkgdir\$pkgname-$pkgver-UnitTests-$configuration.zip"
-	package-legalfiles $zipfile
-	foreach($framework in $frameworks)
+	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)
 	{
-		zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
-		if($framework -ieq "mono-2.0")
-		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll.mdb"
-		}
-		else
+		foreach($framework in $frameworks)
 		{
-			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.pdb"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.dll"
+			zip -9 -u "$zipfile" "$framework\$configuration\nmsprovider*.config"
+			zip -9 -u "$zipfile" "$framework\$configuration\$pkgname.Test.dll"
+			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..."
 $pkgdir = "package"
@@ -91,4 +64,4 @@
 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 src
 
-write-progress "Packaging" "Complete."
+write-progress -Completed "Packaging" "Complete."



Mime
View raw message