[tarantino] r162 committed - - Upgraded Tarantino projects and solution to Visual Studio 2010...

5 views
Skip to first unread message

codesite...@google.com

unread,
Jan 8, 2011, 8:22:43 AM1/8/11
to tarantino...@googlegroups.com
Revision: 162
Author: kwhurwitz
Date: Sat Jan 8 05:21:14 2011
Log: - Upgraded Tarantino projects and solution to Visual Studio 2010
- Made revision a string instead of an integer in the historical deployment
tracking database/model
- Started passing in revision and failed boolean to deployment recorder so
they could be passed to deployment factory
- Started passing in revision and failed boolean to deployment factory
instead of parsing them from build output
- Formatted some files
- Setup default App.config for the Headspring Dashboard for the deployer
project
- Changed deployer UI form to call download, extract, and
environment-specific batch file instead of NAnt script
- Tweaked deployer UI to have a password character and improved tab order
for keyboard access
- Added the ability for the process caller to report a failure based on if
a standard error line is detected
- Added new class, PackageDownloader to actually download deployment
packages from a TeamCity URL and extract them
- PackageDownloader can also scrape the most recently built version of the
software from the TeamCity web dashboard
- Incorporated DotNetZip as a dependency
- Added exclusion of .user files to numerous folders

http://code.google.com/p/tarantino/source/detail?r=162

Added:
/trunk/lib/DotNetZip
/trunk/lib/DotNetZip/Ionic.Zip.dll
/trunk/src/Tarantino.Deployer/PackageDownloader.cs
Modified:
/trunk/src/BatchJobs.Console/BatchJobs.Console.csproj
/trunk/src/BatchJobs.Core/BatchJobs.Core.csproj
/trunk/src/BatchJobs.UnitTests/BatchJobs.UnitTests.csproj
/trunk/src/Tarantino.Core/Tarantino.Core.csproj
/trunk/src/Tarantino.Daemon
/trunk/src/Tarantino.Daemon/Tarantino.Daemon.csproj
/trunk/src/Tarantino.Daemon.Console/Tarantino.Daemon.Console.csproj
/trunk/src/Tarantino.DatabaseManager/App.config
/trunk/src/Tarantino.DatabaseManager/Properties/Resources.Designer.cs
/trunk/src/Tarantino.DatabaseManager/Properties/Settings.Designer.cs
/trunk/src/Tarantino.DatabaseManager/Tarantino.DatabaseManager.csproj

/trunk/src/Tarantino.DatabaseManager.Console/Tarantino.DatabaseManager.Console.csproj
/trunk/src/Tarantino.DatabaseManager.Console/app.config

/trunk/src/Tarantino.DatabaseManager.Core/Tarantino.DatabaseManager.Core.csproj
/trunk/src/Tarantino.DatabaseManager.Core/app.config

/trunk/src/Tarantino.DatabaseManager.Tasks/Tarantino.DatabaseManager.Tasks.csproj
/trunk/src/Tarantino.DatabaseManager.Tasks/app.config

/trunk/src/Tarantino.DatabaseManager.UnitTests/Tarantino.DatabaseManager.UnitTests.csproj
/trunk/src/Tarantino.DatabaseResearcher.Database

/trunk/src/Tarantino.DatabaseResearcher.Database/Tarantino.DatabaseResearcher.Database.csproj
/trunk/src/Tarantino.Deployer/DeployPackage.Designer.cs
/trunk/src/Tarantino.Deployer/DeployPackage.cs
/trunk/src/Tarantino.Deployer/ProcessProgressForm.cs
/trunk/src/Tarantino.Deployer/Properties/Resources.Designer.cs
/trunk/src/Tarantino.Deployer/Properties/Settings.Designer.cs
/trunk/src/Tarantino.Deployer/Tarantino.Deployer.csproj
/trunk/src/Tarantino.Deployer.Console
/trunk/src/Tarantino.Deployer.Console/Program.cs
/trunk/src/Tarantino.Deployer.Console/Tarantino.Deployer.Console.csproj
/trunk/src/Tarantino.Deployer.Core
/trunk/src/Tarantino.Deployer.Core/Model/Deployment.cs
/trunk/src/Tarantino.Deployer.Core/Services/IDeploymentFactory.cs
/trunk/src/Tarantino.Deployer.Core/Services/IDeploymentRecorder.cs
/trunk/src/Tarantino.Deployer.Core/Services/Impl/DeploymentFactory.cs
/trunk/src/Tarantino.Deployer.Core/Services/Impl/DeploymentRecorder.cs
/trunk/src/Tarantino.Deployer.Core/Services/UI/Impl/DeploymentRowFactory.cs
/trunk/src/Tarantino.Deployer.Core/Tarantino.Deployer.Core.csproj
/trunk/src/Tarantino.Deployer.Database
/trunk/src/Tarantino.Deployer.Database/Tarantino.Deployer.Database.csproj
/trunk/src/Tarantino.Deployer.Database/Update/001_CreateDeploymentTable.sql
/trunk/src/Tarantino.Deployer.Infrastructure

/trunk/src/Tarantino.Deployer.Infrastructure/DataAccess/Mappings/Deployment.hbm.xml

/trunk/src/Tarantino.Deployer.Infrastructure/Tarantino.Deployer.Infrastructure.csproj
/trunk/src/Tarantino.Deployer.IntegrationTests

/trunk/src/Tarantino.Deployer.IntegrationTests/Infrastructure/DataAccess/Mappings/DeploymentMappingsTester.cs

/trunk/src/Tarantino.Deployer.IntegrationTests/Infrastructure/DataAccess/Repositories/DeploymentRepositoryTester.cs

/trunk/src/Tarantino.Deployer.IntegrationTests/Tarantino.Deployer.IntegrationTests.csproj

/trunk/src/Tarantino.Deployer.UnitTests/Core/Services/Configuration/ApplicationRepositoryTester.cs

/trunk/src/Tarantino.Deployer.UnitTests/Core/Services/DeploymentFactoryTester.cs

/trunk/src/Tarantino.Deployer.UnitTests/Core/Services/DeploymentRecorderTester.cs

/trunk/src/Tarantino.Deployer.UnitTests/Core/Services/UI/DeploymentRowFactoryTester.cs
/trunk/src/Tarantino.Deployer.UnitTests/Tarantino.Deployer.UnitTests.csproj
/trunk/src/Tarantino.Infrastructure/Tarantino.Infrastructure.csproj
/trunk/src/Tarantino.IntegrationTests/Tarantino.IntegrationTests.csproj
/trunk/src/Tarantino.UnitTests/Tarantino.UnitTests.csproj
/trunk/src/Tarantino.WebManagement/Tarantino.WebManagement.csproj
/trunk/src/Tarantino.WebManagement.Database

/trunk/src/Tarantino.WebManagement.Database/Tarantino.WebManagement.Database.csproj
/trunk/src/Tarantino.sln

=======================================
--- /dev/null
+++ /trunk/lib/DotNetZip/Ionic.Zip.dll Sat Jan 8 05:21:14 2011
Binary file, no diff available.
=======================================
--- /dev/null
+++ /trunk/src/Tarantino.Deployer/PackageDownloader.cs Sat Jan 8 05:21:14
2011
@@ -0,0 +1,101 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Net;
+using System.Xml;
+using Ionic.Zip;
+
+namespace Tarantino.Deployer
+{
+ public class ExtractResult
+ {
+ public string Version { get; set; }
+ public string Executable { get; set; }
+ public string WorkingDirectory { get; set; }
+ }
+
+ public class PackageDownloader
+ {
+ public static ExtractResult DownloadAndExtract(string application,
string environment, string version, string downloadUrl, string zipFile,
string username, string password)
+ {
+ if (string.IsNullOrEmpty(version))
+ {
+ version = GetLatestVersion(username, password, downloadUrl);
+ }
+
+ var baseDirectory = AppDomain.CurrentDomain.BaseDirectory;
+ var applicationDirectory = baseDirectory + @"packages\" + application;
+ var revisionDirectory = applicationDirectory + @"\" + version;
+
+ if (!Directory.Exists(revisionDirectory))
+ {
+ var fullZipFile = baseDirectory + @"/" + zipFile + ".zip";
+ File.Delete(fullZipFile);
+
+ var client = new WebClient
+ {
+ Credentials = new NetworkCredential(username, password)
+ };
+
+ client.DownloadFile(downloadUrl + "/" + version + "/" + zipFile
+ ".zip", fullZipFile);
+
+ Directory.CreateDirectory(applicationDirectory);
+
+ try
+ {
+ Directory.Delete(revisionDirectory, true);
+ }
+ catch (DirectoryNotFoundException) { }
+
+ Directory.CreateDirectory(revisionDirectory);
+
+ using (var zip = ZipFile.Read(fullZipFile))
+ {
+ foreach (var entry in zip)
+ {
+ entry.Extract(revisionDirectory,
ExtractExistingFileAction.OverwriteSilently);
+ }
+ }
+ }
+
+ var environmentDeploymentBat = revisionDirectory + @"\" + environment
+ ".bat";
+
+ var result = new ExtractResult { Version = version, Executable =
environmentDeploymentBat, WorkingDirectory = revisionDirectory };
+ return result;
+ }
+
+ private static string GetLatestVersion(string username, string password,
string downloadUrl)
+ {
+ var client = new WebClient
+ {
+ Credentials = new NetworkCredential(username, password)
+ };
+
+ var html = client.DownloadString(downloadUrl);
+ var xhtml = html.Replace("<br>", "<br />");
+
+ var document = new XmlDocument();
+ document.LoadXml(xhtml);
+
+ var anchors = document.GetElementsByTagName("a");
+
+ var filteredUrls = new List<string>();
+
+ foreach (XmlNode anchor in anchors)
+ {
+ if (!anchor.InnerText.Contains(".tcbuildid")
&& !anchor.InnerText.Contains("latest.lastFinished")
&& !anchor.InnerText.Contains("latest.lastSuccessful"))
+ {
+ var urlWithVersion = anchor.InnerText;
+ var urlParts = urlWithVersion.Split('/');
+
+ var version = urlParts[urlParts.Length - 1];
+ filteredUrls.Add(version);
+ }
+ }
+
+ return filteredUrls[0];
+ }
+
+
+ }
+}
=======================================
--- /trunk/src/BatchJobs.Console/BatchJobs.Console.csproj Fri Apr 2
07:39:02 2010
+++ /trunk/src/BatchJobs.Console/BatchJobs.Console.csproj Sat Jan 8
05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -27,6 +27,8 @@
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
+ <FileUpgradeFlags>0</FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -36,6 +38,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -44,6 +47,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral,
PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
=======================================
--- /trunk/src/BatchJobs.Core/BatchJobs.Core.csproj Fri Apr 2 07:39:02 2010
+++ /trunk/src/BatchJobs.Core/BatchJobs.Core.csproj Sat Jan 8 05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,6 +12,25 @@
<AssemblyName>BatchJobs.Core</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -21,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
@@ -56,6 +77,23 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Logging\StubLogger.cs" />
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
--- /trunk/src/BatchJobs.UnitTests/BatchJobs.UnitTests.csproj Wed Dec 9
12:00:36 2009
+++ /trunk/src/BatchJobs.UnitTests/BatchJobs.UnitTests.csproj Sat Jan 8
05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,6 +12,25 @@
<AssemblyName>BatchJobs.UnitTests</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -21,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework, Version=2.4.6.0, Culture=neutral,
PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
@@ -56,6 +77,23 @@
<Name>BatchJobs.Core</Name>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
--- /trunk/src/Tarantino.Core/Tarantino.Core.csproj Tue Dec 29 12:09:43 2009
+++ /trunk/src/Tarantino.Core/Tarantino.Core.csproj Sat Jan 8 05:21:14 2011
@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -11,10 +12,25 @@
<AssemblyName>Tarantino.Core</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
- <OldToolsVersion>2.0</OldToolsVersion>
+ <OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -24,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -32,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral,
PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
@@ -253,6 +271,23 @@
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
--- /trunk/src/Tarantino.Daemon/Tarantino.Daemon.csproj Fri Oct 3 05:40:19
2008
+++ /trunk/src/Tarantino.Daemon/Tarantino.Daemon.csproj Sat Jan 8 05:21:14
2011
@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -11,10 +12,25 @@
<AssemblyName>Tarantino.Daemon</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
- <OldToolsVersion>2.0</OldToolsVersion>
+ <OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -24,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -32,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="StructureMap, Version=2.5.0.0, Culture=neutral,
PublicKeyToken=e60ad81abae3c223, processorArchitecture=MSIL">
@@ -75,6 +93,23 @@
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
--- /trunk/src/Tarantino.Daemon.Console/Tarantino.Daemon.Console.csproj Fri
Oct 3 05:40:19 2008
+++ /trunk/src/Tarantino.Daemon.Console/Tarantino.Daemon.Console.csproj Sat
Jan 8 05:21:14 2011
@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -11,10 +12,25 @@
<AssemblyName>Tarantino.Daemon.Console</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
- <OldToolsVersion>2.0</OldToolsVersion>
+ <OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -24,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -32,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="StructureMap, Version=2.5.0.0, Culture=neutral,
PublicKeyToken=e60ad81abae3c223, processorArchitecture=MSIL">
@@ -67,6 +85,23 @@
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
--- /trunk/src/Tarantino.DatabaseManager/App.config Wed Sep 2 08:24:31 2009
+++ /trunk/src/Tarantino.DatabaseManager/App.config Sat Jan 8 05:21:14 2011
@@ -9,4 +9,4 @@
<add key="IntegratedSecurity" value="true"/>
<add key="NAntFolder" value="..\..\..\..\lib\NAnt"/>
</appSettings>
-<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>
+ <startup/></configuration>
=======================================
--- /trunk/src/Tarantino.DatabaseManager/Properties/Resources.Designer.cs
Mon Feb 18 08:50:40 2008
+++ /trunk/src/Tarantino.DatabaseManager/Properties/Resources.Designer.cs
Sat Jan 8 05:21:14 2011
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
-// Runtime Version:2.0.50727.1433
+// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost
if
// the code is regenerated.
@@ -19,7 +19,7 @@
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
=======================================
--- /trunk/src/Tarantino.DatabaseManager/Properties/Settings.Designer.cs
Tue Mar 18 05:40:36 2008
+++ /trunk/src/Tarantino.DatabaseManager/Properties/Settings.Designer.cs
Sat Jan 8 05:21:14 2011
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
-// Runtime Version:2.0.50727.1433
+// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost
if
// the code is regenerated.
@@ -12,7 +12,7 @@


[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
internal sealed partial class Settings :
global::System.Configuration.ApplicationSettingsBase {

private static Settings defaultInstance =
((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new
Settings())));
=======================================
--- /trunk/src/Tarantino.DatabaseManager/Tarantino.DatabaseManager.csproj
Wed Sep 2 08:24:31 2009
+++ /trunk/src/Tarantino.DatabaseManager/Tarantino.DatabaseManager.csproj
Sat Jan 8 05:21:14 2011
@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -11,12 +12,25 @@
<AssemblyName>Tarantino.DatabaseManager</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
- <OldToolsVersion>2.0</OldToolsVersion>
+ <OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
- <TargetFrameworkSubset>
- </TargetFrameworkSubset>
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -26,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -34,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
@@ -101,6 +117,23 @@
<Name>Tarantino.DatabaseManager.Core</Name>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
---
/trunk/src/Tarantino.DatabaseManager.Console/Tarantino.DatabaseManager.Console.csproj
Fri Sep 4 09:11:16 2009
+++
/trunk/src/Tarantino.DatabaseManager.Console/Tarantino.DatabaseManager.Console.csproj
Sat Jan 8 05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,8 +12,25 @@
<AssemblyName>Tarantino.DatabaseManager.Console</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
- <TargetFrameworkSubset>
- </TargetFrameworkSubset>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -23,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -31,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
@@ -51,6 +70,23 @@
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
--- /trunk/src/Tarantino.DatabaseManager.Console/app.config Wed Sep 2
08:24:31 2009
+++ /trunk/src/Tarantino.DatabaseManager.Console/app.config Sat Jan 8
05:21:14 2011
@@ -1,3 +1,3 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<configuration>
-<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>
+ <startup/></configuration>
=======================================
---
/trunk/src/Tarantino.DatabaseManager.Core/Tarantino.DatabaseManager.Core.csproj
Fri Sep 4 09:11:16 2009
+++
/trunk/src/Tarantino.DatabaseManager.Core/Tarantino.DatabaseManager.Core.csproj
Sat Jan 8 05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,8 +12,25 @@
<AssemblyName>Tarantino.DatabaseManager.Core</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
- <TargetFrameworkSubset>
- </TargetFrameworkSubset>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -23,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -31,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.SqlServer.ConnectionInfo,
Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91,
processorArchitecture=MSIL">
@@ -120,6 +139,23 @@
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
--- /trunk/src/Tarantino.DatabaseManager.Core/app.config Wed Sep 2
08:24:31 2009
+++ /trunk/src/Tarantino.DatabaseManager.Core/app.config Sat Jan 8
05:21:14 2011
@@ -1,3 +1,3 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<configuration>
-<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>
+ <startup/></configuration>
=======================================
---
/trunk/src/Tarantino.DatabaseManager.Tasks/Tarantino.DatabaseManager.Tasks.csproj
Wed Sep 2 08:24:31 2009
+++
/trunk/src/Tarantino.DatabaseManager.Tasks/Tarantino.DatabaseManager.Tasks.csproj
Sat Jan 8 05:21:14 2011
@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -11,12 +12,25 @@
<AssemblyName>Tarantino.DatabaseManager.Tasks</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
- <OldToolsVersion>2.0</OldToolsVersion>
+ <OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
- <TargetFrameworkSubset>
- </TargetFrameworkSubset>
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -26,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -34,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="NAnt.Core, Version=0.85.2478.0, Culture=neutral">
@@ -64,6 +80,23 @@
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
--- /trunk/src/Tarantino.DatabaseManager.Tasks/app.config Wed Sep 2
08:24:31 2009
+++ /trunk/src/Tarantino.DatabaseManager.Tasks/app.config Sat Jan 8
05:21:14 2011
@@ -1,3 +1,3 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<configuration>
-<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>
+ <startup/></configuration>
=======================================
---
/trunk/src/Tarantino.DatabaseManager.UnitTests/Tarantino.DatabaseManager.UnitTests.csproj
Thu Aug 20 13:05:42 2009
+++
/trunk/src/Tarantino.DatabaseManager.UnitTests/Tarantino.DatabaseManager.UnitTests.csproj
Sat Jan 8 05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,6 +12,25 @@
<AssemblyName>Tarantino.DatabaseManager.UnitTests</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -21,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework, Version=2.4.6.0, Culture=neutral,
PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
@@ -85,6 +106,23 @@
<Name>Tarantino.DatabaseManager.Core</Name>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
---
/trunk/src/Tarantino.DatabaseResearcher.Database/Tarantino.DatabaseResearcher.Database.csproj
Mon Jun 16 14:29:34 2008
+++
/trunk/src/Tarantino.DatabaseResearcher.Database/Tarantino.DatabaseResearcher.Database.csproj
Sat Jan 8 05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,6 +12,25 @@
<AssemblyName>Tarantino.DatabaseResearcher.Database</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -21,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
@@ -42,4 +63,21 @@
<Folder Include="Properties\" />
<Folder Include="Update\" />
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
</Project>
=======================================
--- /trunk/src/Tarantino.Deployer/DeployPackage.Designer.cs Thu Feb 21
05:47:43 2008
+++ /trunk/src/Tarantino.Deployer/DeployPackage.Designer.cs Sat Jan 8
05:21:14 2011
@@ -74,7 +74,7 @@
this.btnDeploy.Location = new System.Drawing.Point(451, 143);
this.btnDeploy.Name = "btnDeploy";
this.btnDeploy.Size = new System.Drawing.Size(75, 23);
- this.btnDeploy.TabIndex = 0;
+ this.btnDeploy.TabIndex = 19;
this.btnDeploy.Text = "&Deploy";
this.btnDeploy.UseVisualStyleBackColor = true;
//
@@ -135,7 +135,7 @@
this.cboRevision.Location = new System.Drawing.Point(74, 63);
this.cboRevision.Name = "cboRevision";
this.cboRevision.Size = new System.Drawing.Size(452, 21);
- this.cboRevision.TabIndex = 9;
+ this.cboRevision.TabIndex = 18;
//
// lblDeployedLabel
//
@@ -195,6 +195,7 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.txtPassword.Location = new System.Drawing.Point(74, 37);
this.txtPassword.Name = "txtPassword";
+ this.txtPassword.PasswordChar = '*';
this.txtPassword.Size = new System.Drawing.Size(452, 20);
this.txtPassword.TabIndex = 17;
//
@@ -250,7 +251,7 @@
this.tabCertify.Location = new System.Drawing.Point(4, 22);
this.tabCertify.Name = "tabCertify";
this.tabCertify.Padding = new System.Windows.Forms.Padding(3);
- this.tabCertify.Size = new System.Drawing.Size(532, 190);
+ this.tabCertify.Size = new System.Drawing.Size(532, 172);
this.tabCertify.TabIndex = 1;
this.tabCertify.Text = "Certify";
this.tabCertify.UseVisualStyleBackColor = true;
@@ -292,7 +293,7 @@
this.tabCheckVersion.Location = new System.Drawing.Point(4, 22);
this.tabCheckVersion.Name = "tabCheckVersion";
this.tabCheckVersion.Padding = new System.Windows.Forms.Padding(3);
- this.tabCheckVersion.Size = new System.Drawing.Size(532, 190);
+ this.tabCheckVersion.Size = new System.Drawing.Size(532, 172);
this.tabCheckVersion.TabIndex = 2;
this.tabCheckVersion.Text = "Check Version";
this.tabCheckVersion.UseVisualStyleBackColor = true;
=======================================
--- /trunk/src/Tarantino.Deployer/DeployPackage.cs Tue Dec 29 12:45:23 2009
+++ /trunk/src/Tarantino.Deployer/DeployPackage.cs Sat Jan 8 05:21:14 2011
@@ -1,14 +1,11 @@
using System;
using System.Collections.Generic;
using System.Drawing;
-using System.Text;
using System.Windows.Forms;
-using Tarantino.Core.Commons.Services.Repositories;
using Tarantino.Deployer.Core.Model;
using Tarantino.Deployer.Core.Services;
using Tarantino.Deployer.Core.Services.Configuration;
using Tarantino.Deployer.Core.Services.UI;
-using Tarantino.Core.Commons.Services.Configuration.Impl;
using StructureMap;
using Tarantino.Deployer.Infrastructure;
using Application =
Tarantino.Deployer.Core.Services.Configuration.Impl.Application;
@@ -18,8 +15,11 @@
{
public partial class DeployPackage : Form
{
+ private string _version;
+
public DeployPackage()
{
+ _version = null;
DeployerInfrastructureDependencyRegistrar.RegisterInfrastructure();

InitializeComponent();
@@ -31,8 +31,8 @@
{
var repository = ObjectFactory.GetInstance<IDeploymentRepository>();

- IEnumerable<Deployment> certified =
repository.FindCertified(SelectedApplication.Name,
SelectedEnvironment.Predecessor);
- IEnumerable<Deployment> uncertified =
repository.FindSuccessfulUncertified(SelectedApplication.Name,
SelectedEnvironment.Name);
+ var certified = repository.FindCertified(SelectedApplication.Name,
SelectedEnvironment.Predecessor);
+ var uncertified =
repository.FindSuccessfulUncertified(SelectedApplication.Name,
SelectedEnvironment.Name);

populateRevisionDropdown(certified, cboRevision);
populateRevisionDropdown(uncertified, cboCertifyRevision);
@@ -46,14 +46,14 @@

grdDeployments.Rows.Clear();

- IEnumerable<Deployment> deployments =
repository.Find(SelectedApplication.Name, SelectedEnvironment.Name);
-
- int rowNumber = 0;
- foreach (Deployment deployment in deployments)
+ var deployments = repository.Find(SelectedApplication.Name,
SelectedEnvironment.Name);
+
+ var rowNumber = 0;
+ foreach (var deployment in deployments)
{
string[] deploymentRow = rowFactory.ConstructRow(deployment);
grdDeployments.Rows.Add(deploymentRow);
-
+
if (deployment.Result == DeploymentResult.Failure)
{
grdDeployments.Rows[rowNumber].DefaultCellStyle.BackColor =
Color.Pink;
@@ -82,21 +82,18 @@

private void btnDeploy_OnClick(object sender, EventArgs e)
{
- var arguments = new StringBuilder("-buildfile:Deployer.build");
- addArgument(arguments, "application", SelectedApplication.Name);
- addArgument(arguments, "revision", cboRevision.Text);
- addArgument(arguments, "environment", SelectedEnvironment.Name);
- addArgument(arguments, "url", SelectedApplication.Url);
- addArgument(arguments, "zip.file", SelectedApplication.ZipFile);
- addArgument(arguments, "username", txtUsername.Text);
- addArgument(arguments, "password", txtPassword.Text);
-
- RunCommandLine(@"NAnt\nant.exe", arguments.ToString());
+ var result =
PackageDownloader.DownloadAndExtract(SelectedApplication.Name,
SelectedEnvironment.Name, cboRevision.Text,
+
SelectedApplication.Url, SelectedApplication.ZipFile, txtUsername.Text,
+
txtPassword.Text);
+
+ _version = result.Version;
+
+ RunCommandLine(result.Executable, result.WorkingDirectory);
}

private void grdDeployments_OnDoubleClick(object sender, EventArgs e)
{
- DataGridViewSelectedRowCollection selectedRows =
grdDeployments.SelectedRows;
+ var selectedRows = grdDeployments.SelectedRows;

if (selectedRows.Count == 1)
{
@@ -110,29 +107,26 @@
}
}

- private void RunCommandLine(string executable, string arguments)
+ private void RunCommandLine(string executable, string workingDirectory,
string arguments = null)
{
var processForm = new ProcessProgressForm {ProcessCompleted =
processCompleted};

- string workingDir = AppDomain.CurrentDomain.BaseDirectory;
- string executableWithPath = string.Format(@"{0}{1}", workingDir,
executable);
-
- processForm.ProcessCommand = executableWithPath;
+ processForm.ProcessCommand = executable;

if (arguments != null)
{
processForm.ProcessArguments = arguments;
}

- processForm.ProcessWorkingDir = workingDir;
+ processForm.ProcessWorkingDir = workingDirectory;
processForm.BeginProcess();
processForm.ShowDialog(this);
}

- private void processCompleted(string output)
+ private void processCompleted(string output, bool failed)
{
var recorder = ObjectFactory.GetInstance<IDeploymentRecorder>();
- recorder.RecordDeployment(SelectedApplication.Name,
SelectedEnvironment.Name, output);
+ recorder.RecordDeployment(SelectedApplication.Name,
SelectedEnvironment.Name, output, _version, failed);

populateRevisions();
}
@@ -147,7 +141,7 @@
{
cboEnvironment.Items.Clear();

- ElementCollection<Environment> environments =
SelectedApplication.Environments;
+ var environments = SelectedApplication.Environments;

if (environments.Count > 0)
{
@@ -185,7 +179,7 @@
private void cboRevision_OnTextChanged(object sender, EventArgs e)
{
var deployment = cboRevision.SelectedItem as Deployment;
- string revision = cboRevision.Text;
+ var revision = cboRevision.Text;

var generator = ObjectFactory.GetInstance<ILabelTextGenerator>();
lblDeployed.Text = generator.GetDeploymentText(SelectedEnvironment,
revision, deployment);
@@ -213,15 +207,5 @@
btnDeploy.Click += btnDeploy_OnClick;
grdDeployments.DoubleClick += grdDeployments_OnDoubleClick;
}
-
- private static void addArgument(StringBuilder sb, string argName, string
argValue)
- {
- sb.Append(" -D:");
- sb.Append(argName);
- sb.Append("=\"");
- sb.Append(argValue);
- sb.Append("\"");
- return;
- }
}
}
=======================================
--- /trunk/src/Tarantino.Deployer/ProcessProgressForm.cs Tue Jan 6
15:05:52 2009
+++ /trunk/src/Tarantino.Deployer/ProcessProgressForm.cs Sat Jan 8
05:21:14 2011
@@ -8,6 +8,7 @@
{
public class ProcessProgressForm : Form
{
+ private bool _failed;
private const Container components = null;
private RichTextBox rtbOutput;
private Button btnCancel;
@@ -17,15 +18,16 @@
private Color _strErrColor = Color.Maroon;
private string _errorDialogMessage = "Error running process";

- private Action<string> _processCompleted;
-
- public Action<string> ProcessCompleted
+ private Action<string, bool> _processCompleted;
+
+ public Action<string, bool> ProcessCompleted
{
set { _processCompleted = value; }
}

public ProcessProgressForm()
{
+ _failed = false;
InitializeComponent();
_processCaller = new ProcessCaller(this);
_processCaller.StdErrReceived += _processCaller_StdErrReceived;
@@ -85,7 +87,7 @@
private void AppendOutputToRichTextBox(string data, Color color)
{
rtbOutput.ForeColor = color;
- rtbOutput.AppendText(data + System.Environment.NewLine);
+ rtbOutput.AppendText(data + Environment.NewLine);
rtbOutput.Focus();
rtbOutput.ScrollToCaret();
}
@@ -109,6 +111,7 @@

private void _processCaller_StdErrReceived(object sender,
DataReceivedEventArgs e)
{
+ _failed = true;
AppendOutputToRichTextBox(e.Text, _strErrColor);
}

@@ -127,7 +130,7 @@

if (_processCompleted != null)
{
- _processCompleted(output);
+ _processCompleted(output, _failed);
}
}

=======================================
--- /trunk/src/Tarantino.Deployer/Properties/Resources.Designer.cs Mon Feb
18 08:50:40 2008
+++ /trunk/src/Tarantino.Deployer/Properties/Resources.Designer.cs Sat Jan
8 05:21:14 2011
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
-// Runtime Version:2.0.50727.1433
+// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost
if
// the code is regenerated.
@@ -19,7 +19,7 @@
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
=======================================
--- /trunk/src/Tarantino.Deployer/Properties/Settings.Designer.cs Tue Mar
18 05:40:36 2008
+++ /trunk/src/Tarantino.Deployer/Properties/Settings.Designer.cs Sat Jan
8 05:21:14 2011
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
-// Runtime Version:2.0.50727.1433
+// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost
if
// the code is regenerated.
@@ -12,7 +12,7 @@


[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
internal sealed partial class Settings :
global::System.Configuration.ApplicationSettingsBase {

private static Settings defaultInstance =
((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new
Settings())));
=======================================
--- /trunk/src/Tarantino.Deployer/Tarantino.Deployer.csproj Tue Dec 29
12:09:43 2009
+++ /trunk/src/Tarantino.Deployer/Tarantino.Deployer.csproj Sat Jan 8
05:21:14 2011
@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="3.5">
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -11,10 +12,25 @@
<AssemblyName>Tarantino.Deployer</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
- <OldToolsVersion>2.0</OldToolsVersion>
+ <OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -24,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -32,8 +49,12 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
+ <Reference Include="Ionic.Zip">
+ <HintPath>..\..\lib\DotNetZip\Ionic.Zip.dll</HintPath>
+ </Reference>
<Reference Include="NHibernate, Version=2.1.0.1001, Culture=neutral,
processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\NHibernate\2.0.0\NHibernate.dll</HintPath>
@@ -70,6 +91,7 @@
<Compile Include="DeployPackage.Designer.cs">
<DependentUpon>DeployPackage.cs</DependentUpon>
</Compile>
+ <Compile Include="PackageDownloader.cs" />
<Compile Include="ProcessCaller.cs" />
<Compile Include="ProcessProgressForm.cs">
<SubType>Form</SubType>
@@ -97,7 +119,9 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
- <None Include="App.config" />
+ <None Include="App.config">
+ <SubType>Designer</SubType>
+ </None>
<None Include="Deploy.bat">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
@@ -136,6 +160,23 @@
<Content Include="deployer.hibernate.cfg.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
+ </ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
=======================================
--- /trunk/src/Tarantino.Deployer.Console/Program.cs Tue Dec 29 13:25:33
2009
+++ /trunk/src/Tarantino.Deployer.Console/Program.cs Sat Jan 8 05:21:14
2011
@@ -1,187 +1,187 @@
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Text;
-using StructureMap;
-using Tarantino.Deployer.Core.Model;
-using Tarantino.Deployer.Core.Services;
-using Tarantino.Deployer.Core.Services.Configuration;
-using Tarantino.Deployer.Core.Services.Configuration.Impl;
-using Tarantino.Deployer.Infrastructure;
-using Environment=System.Environment;
-
+//using System.Collections.Generic;
+//using System.IO;
+//using System.Linq;
+//using System.Text;
+//using StructureMap;
+//using Tarantino.Deployer.Core.Model;
+//using Tarantino.Deployer.Core.Services;
+//using Tarantino.Deployer.Core.Services.Configuration;
+//using Tarantino.Deployer.Core.Services.Configuration.Impl;
+//using Tarantino.Deployer.Infrastructure;
+//using Environment=System.Environment;
+//
namespace Tarantino.Deployer.Console
{
public class Program
{
- private static readonly StringBuilder _buildOutput = new StringBuilder();
-
+// private static readonly StringBuilder _buildOutput = new
StringBuilder();
+//
public static void Main(string[] args)
{
- DeployerInfrastructureDependencyRegistrar.RegisterInfrastructure();
-
- if (args.Length != 4)
- {
- OutputUsageAndClose("Supply the correct number of command line
arguments");
- }
-
- string requestedAction = args[0];
- string requestedApplicationName = args[1];
- string requestedEnvironment = args[2];
- string requestedRevision = args[3];
-
- var applicationRepository =
ObjectFactory.GetInstance<IApplicationRepository>();
-
- Application selectedApplication =
applicationRepository.GetByName(requestedApplicationName);
-
- if (selectedApplication == null)
- {
- OutputUsageAndClose("Specify an application name included in the
configuration file 'Tarantino.Deployer.Console.exe.config'");
- }
-
- var selectedEnvironment =
selectedApplication.GetEnvironmentByName(requestedEnvironment);
-
- if (selectedEnvironment == null)
- {
- OutputUsageAndClose(
- string.Format(
- "Specify an environment included in the configuration
file 'Tarantino.Deployer.Console.exe.config' for application '{0}'",
- selectedApplication.Name));
- }
-
- if (requestedAction == "Deploy")
- {
- int revisionNumber = int.MinValue;
-
- if (requestedRevision == "CurrentCertified")
- {
- var repository = ObjectFactory.GetInstance<IDeploymentRepository>();
- IEnumerable<Deployment> certifiedDeployments =
repository.FindCertified(selectedApplication.Name,
-

selectedEnvironment.Predecessor);
-
- if (certifiedDeployments.Count() > 0)
- {
- Deployment lastCertified = certifiedDeployments.OrderByDescending(d
=> d.CertifiedOn).ElementAt(0);
- revisionNumber = lastCertified.Revision;
- }
- }
- else if (requestedRevision != "Current")
- {
- bool requestedRevisionIsNumber = int.TryParse(requestedRevision, out
revisionNumber);
-
- if (!requestedRevisionIsNumber)
- {
- OutputUsageAndClose(
- "Specify the revision number as
either 'Current', 'CurrentCertified', or a valid Subversion revision
number");
- }
- }
-
- var arguments = new StringBuilder("-buildfile:Deployer.build");
- AddArgument(arguments, "application", selectedApplication.Name);
- AddArgument(arguments, "environment", selectedEnvironment.Name);
- AddArgument(arguments, "revision", revisionNumber != int.MinValue ?
revisionNumber.ToString() : string.Empty);
- AddArgument(arguments, "url", selectedApplication.Url);
- AddArgument(arguments, "zip.file", selectedApplication.ZipFile);
- AddArgument(arguments, "username", selectedApplication.Username);
- AddArgument(arguments, "password", selectedApplication.Password);
-
- var caller = new SimpleProcessCaller(@"NAnt\nant.exe",
arguments.ToString())
- {
- StdOutReceived = Caller_OnStdOutReceived,
- StdErrorReceived = Caller_OnStdOutReceived
- };
-
- caller.ExecuteProcess();
- var exitCode = caller.ExitCode;
-
- var recorder = ObjectFactory.GetInstance<IDeploymentRecorder>();
- int revision = recorder.RecordDeployment(selectedApplication.Name,
selectedEnvironment.Name, _buildOutput.ToString());
-
- if (exitCode == 0)
- {
- using (var writer = new
StreamWriter("TarantinoDeploymentRevisionNumber.txt"))
- {
- writer.Write(revision);
- }
- }
- else
- {
- Environment.Exit(1);
- }
- }
- else if (requestedAction == "Certify")
- {
- var repository = ObjectFactory.GetInstance<IDeploymentRepository>();
- IEnumerable<Deployment> uncertifiedDeployments =
repository.FindSuccessfulUncertified(selectedApplication.Name,
selectedEnvironment.Name);
-
- int revisionNumber;
-
- bool requestedRevisionIsNumber = int.TryParse(requestedRevision, out
revisionNumber);
-
- if (!requestedRevisionIsNumber)
- {
- OutputUsageAndClose("When certifying a deployment, you must specify a
valid Subversion revision number");
- }
-
- IOrderedEnumerable<Deployment> matchingDeployments =
- uncertifiedDeployments.Where(d => d.Revision ==
revisionNumber).OrderByDescending(d => d.DeployedOn);
-
- if (matchingDeployments.Count() > 0)
- {
- Deployment deployment = matchingDeployments.ElementAt(0);
- var certifier = ObjectFactory.GetInstance<IRevisionCertifier>();
- certifier.Certify(deployment);
- }
- else
- {
- OutputUsageAndClose("When certifying a deployment, you must specify a
valid deployment that has not already been certified");
- }
- }
- else
- {
- OutputUsageAndClose("Specify either 'Deploy' or 'Certify' for the
<Action> argument");
- }
- }
-
- private static void Caller_OnStdOutReceived(string output)
- {
- System.Console.Out.WriteLine(output);
- _buildOutput.AppendLine(output);
- }
-
- private static void AddArgument(StringBuilder commandLine, string
argument, string argumentValue)
- {
- commandLine.Append(" -D:");
- commandLine.Append(argument);
- commandLine.Append("=\"");
- commandLine.Append(argumentValue);
- commandLine.Append("\"");
- }
-
- private static void OutputUsageAndClose(string customMessage)
- {
- Out("\n\nINVALID USAGE: Incorrect Command Line Arguments Supplied\n");
- Out("USAGE: Tarantino.Deployer.Console <Action> <Application>
<Environment> <Revision>");
- Out(" Action = {Deploy, Certify}");
- Out(" Application = Name of application to deploy");
- Out(" Environment = Environment to deploy application");
- Out(" Revision = {Current, CurrentCertified, <Revision Number>}\n");
- Out("Example 1: Deploy 'PetStore', Revision '4255' to 'Test'
environment");
- Out(" Tarantino.Deployer.Console Deploy PetStore Test 4255\n");
- Out("Example 2: Deploy the latest revision of 'PetStore' to 'Test'
environment");
- Out(" Tarantino.Deployer.Console Deploy PetStore Test Current\n");
- Out("Example 3: Deploy the latest certified revision of 'PetStore'
to 'Test' environment");
- Out(" Tarantino.Deployer.Console Deploy PetStore Test
CurrentCertified\n");
- Out("Example 4: Certify 'PetStore', Revision '4255' in the 'Test'
environment");
- Out(" Tarantino.Deployer.Console Certify PetStore Test 4255\n\n\n");
- Out("TO CORRECT: " + customMessage);
-
- Environment.Exit(1);
- }
-
- private static void Out(string message)
- {
- System.Console.Out.WriteLine(message);
- }
+// DeployerInfrastructureDependencyRegistrar.RegisterInfrastructure();
+//
+// if (args.Length != 4)
+// {
+// OutputUsageAndClose("Supply the correct number of command line
arguments");
+// }
+//
+// string requestedAction = args[0];
+// string requestedApplicationName = args[1];
+// string requestedEnvironment = args[2];
+// string requestedRevision = args[3];
+//
+// var applicationRepository =
ObjectFactory.GetInstance<IApplicationRepository>();
+//
+// Application selectedApplication =
applicationRepository.GetByName(requestedApplicationName);
+//
+// if (selectedApplication == null)
+// {
+// OutputUsageAndClose("Specify an application name included in the
configuration file 'Tarantino.Deployer.Console.exe.config'");
+// }
+//
+// var selectedEnvironment =
selectedApplication.GetEnvironmentByName(requestedEnvironment);
+//
+// if (selectedEnvironment == null)
+// {
+// OutputUsageAndClose(
+// string.Format(
+// "Specify an environment included in the configuration
file 'Tarantino.Deployer.Console.exe.config' for application '{0}'",
+// selectedApplication.Name));
+// }
+//
+// if (requestedAction == "Deploy")
+// {
+// int revisionNumber = int.MinValue;
+//
+// if (requestedRevision == "CurrentCertified")
+// {
+// var repository = ObjectFactory.GetInstance<IDeploymentRepository>();
+// IEnumerable<Deployment> certifiedDeployments =
repository.FindCertified(selectedApplication.Name,
+//

selectedEnvironment.Predecessor);
+//
+// if (certifiedDeployments.Count() > 0)
+// {
+// Deployment lastCertified =
certifiedDeployments.OrderByDescending(d => d.CertifiedOn).ElementAt(0);
+// revisionNumber = lastCertified.Revision;
+// }
+// }
+// else if (requestedRevision != "Current")
+// {
+// bool requestedRevisionIsNumber = int.TryParse(requestedRevision,
out revisionNumber);
+//
+// if (!requestedRevisionIsNumber)
+// {
+// OutputUsageAndClose(
+// "Specify the revision number as
either 'Current', 'CurrentCertified', or a valid Subversion revision
number");
+// }
+// }
+//
+// var arguments = new StringBuilder("-buildfile:Deployer.build");
+// AddArgument(arguments, "application", selectedApplication.Name);
+// AddArgument(arguments, "environment", selectedEnvironment.Name);
+// AddArgument(arguments, "revision", revisionNumber != int.MinValue ?
revisionNumber.ToString() : string.Empty);
+// AddArgument(arguments, "url", selectedApplication.Url);
+// AddArgument(arguments, "zip.file", selectedApplication.ZipFile);
+// AddArgument(arguments, "username", selectedApplication.Username);
+// AddArgument(arguments, "password", selectedApplication.Password);
+//
+// var caller = new SimpleProcessCaller(@"NAnt\nant.exe",
arguments.ToString())
+// {
+// StdOutReceived = Caller_OnStdOutReceived,
+// StdErrorReceived = Caller_OnStdOutReceived
+// };
+//
+// caller.ExecuteProcess();
+// var exitCode = caller.ExitCode;
+//
+// var recorder = ObjectFactory.GetInstance<IDeploymentRecorder>();
+// string revision =
recorder.RecordDeployment(selectedApplication.Name,
selectedEnvironment.Name, _buildOutput.ToString(), "1.0");
+//
+// if (exitCode == 0)
+// {
+// using (var writer = new
StreamWriter("TarantinoDeploymentRevisionNumber.txt"))
+// {
+// writer.Write(revision);
+// }
+// }
+// else
+// {
+// Environment.Exit(1);
+// }
+// }
+// else if (requestedAction == "Certify")
+// {
+// var repository = ObjectFactory.GetInstance<IDeploymentRepository>();
+// IEnumerable<Deployment> uncertifiedDeployments =
repository.FindSuccessfulUncertified(selectedApplication.Name,
selectedEnvironment.Name);
+//
+// int revisionNumber;
+//
+// bool requestedRevisionIsNumber = int.TryParse(requestedRevision, out
revisionNumber);
+//
+// if (!requestedRevisionIsNumber)
+// {
+// OutputUsageAndClose("When certifying a deployment, you must specify
a valid Subversion revision number");
+// }
+//
+// IOrderedEnumerable<Deployment> matchingDeployments =
+// uncertifiedDeployments.Where(d => d.Revision ==
revisionNumber).OrderByDescending(d => d.DeployedOn);
+//
+// if (matchingDeployments.Count() > 0)
+// {
+// Deployment deployment = matchingDeployments.ElementAt(0);
+// var certifier = ObjectFactory.GetInstance<IRevisionCertifier>();
+// certifier.Certify(deployment);
+// }
+// else
+// {
+// OutputUsageAndClose("When certifying a deployment, you must specify
a valid deployment that has not already been certified");
+// }
+// }
+// else
+// {
+// OutputUsageAndClose("Specify either 'Deploy' or 'Certify' for the
<Action> argument");
+// }
+// }
+//
+// private static void Caller_OnStdOutReceived(string output)
+// {
+// System.Console.Out.WriteLine(output);
+// _buildOutput.AppendLine(output);
+// }
+//
+// private static void AddArgument(StringBuilder commandLine, string
argument, string argumentValue)
+// {
+// commandLine.Append(" -D:");
+// commandLine.Append(argument);
+// commandLine.Append("=\"");
+// commandLine.Append(argumentValue);
+// commandLine.Append("\"");
+// }
+//
+// private static void OutputUsageAndClose(string customMessage)
+// {
+// Out("\n\nINVALID USAGE: Incorrect Command Line Arguments Supplied\n");
+// Out("USAGE: Tarantino.Deployer.Console <Action> <Application>
<Environment> <Revision>");
+// Out(" Action = {Deploy, Certify}");
+// Out(" Application = Name of application to deploy");
+// Out(" Environment = Environment to deploy application");
+// Out(" Revision = {Current, CurrentCertified, <Revision Number>}\n");
+// Out("Example 1: Deploy 'PetStore', Revision '4255' to 'Test'
environment");
+// Out(" Tarantino.Deployer.Console Deploy PetStore Test 4255\n");
+// Out("Example 2: Deploy the latest revision of 'PetStore' to 'Test'
environment");
+// Out(" Tarantino.Deployer.Console Deploy PetStore Test Current\n");
+// Out("Example 3: Deploy the latest certified revision of 'PetStore'
to 'Test' environment");
+// Out(" Tarantino.Deployer.Console Deploy PetStore Test
CurrentCertified\n");
+// Out("Example 4: Certify 'PetStore', Revision '4255' in the 'Test'
environment");
+// Out(" Tarantino.Deployer.Console Certify PetStore Test 4255\n\n\n");
+// Out("TO CORRECT: " + customMessage);
+//
+// Environment.Exit(1);
+ }
+//
+// private static void Out(string message)
+// {
+// System.Console.Out.WriteLine(message);
+// }
}
}
=======================================
--- /trunk/src/Tarantino.Deployer.Console/Tarantino.Deployer.Console.csproj
Tue Dec 29 12:09:43 2009
+++ /trunk/src/Tarantino.Deployer.Console/Tarantino.Deployer.Console.csproj
Sat Jan 8 05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,6 +12,25 @@
<AssemblyName>Tarantino.Deployer.Console</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -21,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="NHibernate, Version=2.1.0.1001, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
@@ -77,6 +98,23 @@
<Name>Tarantino.Infrastructure</Name>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
--- /trunk/src/Tarantino.Deployer.Core/Model/Deployment.cs Tue Dec 29
12:09:43 2009
+++ /trunk/src/Tarantino.Deployer.Core/Model/Deployment.cs Sat Jan 8
05:21:14 2011
@@ -13,7 +13,7 @@

public virtual string Application { get; set; }
public virtual string Environment { get; set; }
- public virtual int Revision { get; set; }
+ public virtual string Revision { get; set; }
public virtual DateTime DeployedOn { get; set; }
public virtual DateTime? CertifiedOn { get; set; }
public virtual string DeployedBy { get; set; }
=======================================
--- /trunk/src/Tarantino.Deployer.Core/Services/IDeploymentFactory.cs Tue
Dec 29 12:09:43 2009
+++ /trunk/src/Tarantino.Deployer.Core/Services/IDeploymentFactory.cs Sat
Jan 8 05:21:14 2011
@@ -5,6 +5,6 @@

public interface IDeploymentFactory
{
- Deployment CreateDeployment(string application, string environment,
string deployedBy, string output);
+ Deployment CreateDeployment(string application, string environment,
string deployedBy, string output, string revision, bool failed);
}
}
=======================================
--- /trunk/src/Tarantino.Deployer.Core/Services/IDeploymentRecorder.cs Tue
Dec 29 12:09:43 2009
+++ /trunk/src/Tarantino.Deployer.Core/Services/IDeploymentRecorder.cs Sat
Jan 8 05:21:14 2011
@@ -2,6 +2,6 @@
{
public interface IDeploymentRecorder
{
- int RecordDeployment(string application, string environment, string
output);
+ string RecordDeployment(string application, string environment, string
output, string revision, bool failed);
}
}
=======================================
--- /trunk/src/Tarantino.Deployer.Core/Services/Impl/DeploymentFactory.cs
Tue Dec 29 12:09:43 2009
+++ /trunk/src/Tarantino.Deployer.Core/Services/Impl/DeploymentFactory.cs
Sat Jan 8 05:21:14 2011
@@ -8,26 +8,22 @@
public class DeploymentFactory : IDeploymentFactory
{
private readonly ISystemClock _clock;
- private readonly IRevisionNumberParser _revisionNumberParser;
- private readonly IDeploymentResultCalculator _resultCalculator;
-
- public DeploymentFactory(ISystemClock clock, IRevisionNumberParser
revisionNumberParser, IDeploymentResultCalculator resultCalculator)
+
+ public DeploymentFactory(ISystemClock clock)
{
_clock = clock;
- _revisionNumberParser = revisionNumberParser;
- _resultCalculator = resultCalculator;
}

- public Deployment CreateDeployment(string application, string
environment, string deployedBy, string output)
+ public Deployment CreateDeployment(string application, string
environment, string deployedBy, string output, string revision, bool failed)
{
var deployment = new Deployment
{
Application = application,
Environment = environment,
- Revision = _revisionNumberParser.Parse(output),
+ Revision = revision,
DeployedBy = deployedBy,
DeployedOn = _clock.GetCurrentDateTime(),
- Result = _resultCalculator.GetResult(output)
+ Result = failed ? DeploymentResult.Failure :
DeploymentResult.Success
};

deployment.SetOutput(new DeploymentOutput {Output = output});
=======================================
--- /trunk/src/Tarantino.Deployer.Core/Services/Impl/DeploymentRecorder.cs
Tue Dec 29 12:09:43 2009
+++ /trunk/src/Tarantino.Deployer.Core/Services/Impl/DeploymentRecorder.cs
Sat Jan 8 05:21:14 2011
@@ -1,10 +1,7 @@
using Tarantino.Core.Commons.Services.Security;
-using Tarantino.Deployer.Core.Model;
-

namespace Tarantino.Deployer.Core.Services.Impl
{
-
public class DeploymentRecorder : IDeploymentRecorder
{
private readonly ISecurityContext _securityContext;
@@ -18,10 +15,10 @@
_repository = repository;
}

- public int RecordDeployment(string application, string environment,
string output)
- {
- string deployedBy = _securityContext.GetCurrentUsername();
- Deployment deployment = _factory.CreateDeployment(application,
environment, deployedBy, output);
+ public string RecordDeployment(string application, string environment,
string output, string revision, bool failed)
+ {
+ var deployedBy = _securityContext.GetCurrentUsername();
+ var deployment = _factory.CreateDeployment(application, environment,
deployedBy, output, revision, failed);
_repository.Save(deployment);

return deployment.Revision;
=======================================
---
/trunk/src/Tarantino.Deployer.Core/Services/UI/Impl/DeploymentRowFactory.cs
Tue Dec 29 12:09:43 2009
+++
/trunk/src/Tarantino.Deployer.Core/Services/UI/Impl/DeploymentRowFactory.cs
Sat Jan 8 05:21:14 2011
@@ -4,8 +4,6 @@
{
public class DeploymentRowFactory : IDeploymentRowFactory
{
- #region IDeploymentRowFactory Members
-
public string[] ConstructRow(Deployment deployment)
{
string revision = deployment.Revision.ToString();
@@ -18,7 +16,5 @@

return new[] {revision, deployedOn, deployedBy, result, certifiedOn,
certifiedBy, deploymentId};
}
-
- #endregion
}
}
=======================================
--- /trunk/src/Tarantino.Deployer.Core/Tarantino.Deployer.Core.csproj Tue
Dec 29 12:09:43 2009
+++ /trunk/src/Tarantino.Deployer.Core/Tarantino.Deployer.Core.csproj Sat
Jan 8 05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,6 +12,25 @@
<AssemblyName>Tarantino.Deployer.Core</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -21,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="StructureMap, Version=2.5.2.0, Culture=neutral,
PublicKeyToken=e60ad81abae3c223, processorArchitecture=MSIL">
@@ -85,6 +106,23 @@
<Name>Tarantino.Core</Name>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
---
/trunk/src/Tarantino.Deployer.Database/Tarantino.Deployer.Database.csproj
Tue Jan 6 15:05:52 2009
+++
/trunk/src/Tarantino.Deployer.Database/Tarantino.Deployer.Database.csproj
Sat Jan 8 05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,6 +12,25 @@
<AssemblyName>Tarantino.Deployer.Database</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -21,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<None Include="Update\001_CreateDeploymentTable.sql" />
@@ -38,6 +59,23 @@
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
---
/trunk/src/Tarantino.Deployer.Database/Update/001_CreateDeploymentTable.sql
Thu Jun 5 04:44:37 2008
+++
/trunk/src/Tarantino.Deployer.Database/Update/001_CreateDeploymentTable.sql
Sat Jan 8 05:21:14 2011
@@ -24,7 +24,7 @@
[DeploymentId] [uniqueidentifier] NOT NULL,
[Application] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Environment] [varchar] (25) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
-[Revision] [int] NULL,
+[Revision] [varchar] (20) NULL,
[DeployedOn] [datetime] NULL,
[DeployedBy] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CertifiedOn] [datetime] NULL,
=======================================
---
/trunk/src/Tarantino.Deployer.Infrastructure/DataAccess/Mappings/Deployment.hbm.xml
Tue Dec 29 12:09:43 2009
+++
/trunk/src/Tarantino.Deployer.Infrastructure/DataAccess/Mappings/Deployment.hbm.xml
Sat Jan 8 05:21:14 2011
@@ -17,7 +17,7 @@
<property name="DeployedBy" />
<property name="CertifiedOn" type="DateTime" />
<property name="CertifiedBy" />
- <property name="Revision" type="int" />
+ <property name="Revision" />
<many-to-one name="Output" class="DeploymentOutput" unique="true"
column="DeploymentOutputId" cascade="all-delete-orphan"/>

<property name="Result"
type="Tarantino.Infrastructure.Commons.DataAccess.ORMapper.EnumerationType`1[[Tarantino.Deployer.Core.Model.DeploymentResult,
Tarantino.Deployer.Core]], Tarantino.Infrastructure" />
=======================================
---
/trunk/src/Tarantino.Deployer.Infrastructure/Tarantino.Deployer.Infrastructure.csproj
Tue Dec 29 12:09:43 2009
+++
/trunk/src/Tarantino.Deployer.Infrastructure/Tarantino.Deployer.Infrastructure.csproj
Sat Jan 8 05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,6 +12,25 @@
<AssemblyName>Tarantino.Deployer.Infrastructure</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -21,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="StructureMap, Version=2.5.2.0, Culture=neutral,
PublicKeyToken=e60ad81abae3c223, processorArchitecture=MSIL">
@@ -78,6 +99,23 @@
<Name>Tarantino.Infrastructure</Name>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=======================================
---
/trunk/src/Tarantino.Deployer.IntegrationTests/Infrastructure/DataAccess/Mappings/DeploymentMappingsTester.cs
Tue Dec 29 12:09:43 2009
+++
/trunk/src/Tarantino.Deployer.IntegrationTests/Infrastructure/DataAccess/Mappings/DeploymentMappingsTester.cs
Sat Jan 8 05:21:14 2011
@@ -1,5 +1,4 @@
using System;
-using NHibernate;
using NUnit.Framework;
using Tarantino.Deployer.Core.Model;

@@ -19,7 +18,7 @@
DeployedBy = "Deployer",
DeployedOn = new DateTime(2007, 3, 15),
CertifiedOn = new DateTime(2007, 4, 15),
- Revision = 250,
+ Revision = "250",
Result = DeploymentResult.Failure
};

=======================================
---
/trunk/src/Tarantino.Deployer.IntegrationTests/Infrastructure/DataAccess/Repositories/DeploymentRepositoryTester.cs
Tue Dec 29 12:09:43 2009
+++
/trunk/src/Tarantino.Deployer.IntegrationTests/Infrastructure/DataAccess/Repositories/DeploymentRepositoryTester.cs
Sat Jan 8 05:21:14 2011
@@ -39,18 +39,18 @@
_uncertified_failure = new Deployment();
_certified_failure = new Deployment();

- _uncertified_Application1_Environment1.Revision = 1;
- _uncertified_Application1_Environment2.Revision = 2;
- _uncertified_Application2_Environment1.Revision = 3;
- _uncertified_Application2_Environment2.Revision = 4;
-
- _certified_Application1_Environment1.Revision = 5;
- _certified_Application1_Environment2.Revision = 6;
- _certified_Application2_Environment1.Revision = 7;
- _certified_Application2_Environment2.Revision = 8;
-
- _uncertified_failure.Revision = 9;
- _certified_failure.Revision = 10;
+ _uncertified_Application1_Environment1.Revision = "1";
+ _uncertified_Application1_Environment2.Revision = "2";
+ _uncertified_Application2_Environment1.Revision = "3";
+ _uncertified_Application2_Environment2.Revision = "4";
+
+ _certified_Application1_Environment1.Revision = "5";
+ _certified_Application1_Environment2.Revision = "6";
+ _certified_Application2_Environment1.Revision = "7";
+ _certified_Application2_Environment2.Revision = "8";
+
+ _uncertified_failure.Revision = "9";
+ _certified_failure.Revision = "10";

_uncertified_Application1_Environment1.Result =
DeploymentResult.Success;
_uncertified_Application1_Environment2.Result =
DeploymentResult.Success;
=======================================
---
/trunk/src/Tarantino.Deployer.IntegrationTests/Tarantino.Deployer.IntegrationTests.csproj
Fri Feb 26 14:56:10 2010
+++
/trunk/src/Tarantino.Deployer.IntegrationTests/Tarantino.Deployer.IntegrationTests.csproj
Sat Jan 8 05:21:14 2011
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -12,6 +12,25 @@
<AssemblyName>Tarantino.Deployer.IntegrationTests</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -21,6 +40,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +49,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="NHibernate, Version=2.1.0.1001, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
@@ -97,6 +118,23 @@
<ItemGroup>
<None Include="App.config">
</None>
+ </ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
+ <Visible>False</Visible>
+ <ProductName>Windows Installer 3.1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
=======================================
***Additional files exist in this changeset.***
Reply all
Reply to author
Forward
0 new messages