From: Chris M. <cm...@us...> - 2006-08-17 03:51:52
|
User: cmicali Date: 06/08/16 20:51:50 Modified: etc/andromda-dotnet/AndroMDA.NHibernateSupport AssemblyInfo.cs etc/andromda-dotnet/AndroMDA.NHibernateSupport/src DefaultSessionManager.cs ISessionManager.cs NHibernateDaoSupport.cs etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib AndroMDA.NHibernateSupport.dll etc/andromda-dotnet/Lib/AndroMDA.NHibernateSupport AndroMDA.NHibernateSupport.dll etc/andromda-dotnet/Lib DLL Versions.txt Added: etc/andromda-dotnet/AndroMDA.NHibernateSupport AndroMDA.NHibernateSupport.VS2005.csproj AndroMDA.NHibernateSupport.VS2005.sln VS2005Build.bat VS2005Readme.txt Removed: etc/andromda-dotnet/AndroMDA.NHibernateSupport AndroMDA.NHibernateSupport.suo Log: - Added TransactionExists() to ISessionManager, DefaultSessionManager, and NHibernateDaoSupport - Updated AndroMDA.NHibernateSupport.dll to version 1.0.5.0 - Committed new binary - Added Visual Studio 2005 solution, build instructions, and build batch file - Removed user-specific settings file (*.suo) Revision Changes Path 1.2 +1 -1 plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/AssemblyInfo.cs Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/AssemblyInfo.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- AssemblyInfo.cs 9 Jul 2006 12:08:21 -0000 1.1 +++ AssemblyInfo.cs 17 Aug 2006 03:51:49 -0000 1.2 @@ -26,7 +26,7 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.3.0")] +[assembly: AssemblyVersion("1.0.5.0")] // // In order to sign your assembly you must specify a key to use. Refer to the 1.1 plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/AndroMDA.NHibernateSupport.VS2005.csproj Index: AndroMDA.NHibernateSupport.VS2005.csproj =================================================================== <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <ProjectType>Local</ProjectType> <ProductVersion>8.0.50727</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{8349509A-0F7D-411A-AA7B-176AA6452911}</ProjectGuid> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ApplicationIcon> </ApplicationIcon> <AssemblyKeyContainerName> </AssemblyKeyContainerName> <AssemblyName>AndroMDA.NHibernateSupport</AssemblyName> <AssemblyOriginatorKeyFile> </AssemblyOriginatorKeyFile> <DefaultClientScript>JScript</DefaultClientScript> <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> <DefaultTargetSchema>IE50</DefaultTargetSchema> <DelaySign>false</DelaySign> <OutputType>Library</OutputType> <RootNamespace>AndroMDA.NHibernateSupport</RootNamespace> <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> <StartupObject> </StartupObject> <FileUpgradeFlags> </FileUpgradeFlags> <UpgradeBackupLocation> </UpgradeBackupLocation> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <OutputPath>bin\Debug\</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> <ConfigurationOverrideFile> </ConfigurationOverrideFile> <DefineConstants>DEBUG;TRACE</DefineConstants> <DocumentationFile> </DocumentationFile> <DebugSymbols>true</DebugSymbols> <FileAlignment>4096</FileAlignment> <NoStdLib>false</NoStdLib> <NoWarn> </NoWarn> <Optimize>false</Optimize> <RegisterForComInterop>false</RegisterForComInterop> <RemoveIntegerChecks>false</RemoveIntegerChecks> <TreatWarningsAsErrors>false</TreatWarningsAsErrors> <WarningLevel>4</WarningLevel> <DebugType>full</DebugType> <ErrorReport>prompt</ErrorReport> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <OutputPath>bin\Release\</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> <ConfigurationOverrideFile> </ConfigurationOverrideFile> <DefineConstants>TRACE</DefineConstants> <DocumentationFile> </DocumentationFile> <DebugSymbols>false</DebugSymbols> <FileAlignment>4096</FileAlignment> <NoStdLib>false</NoStdLib> <NoWarn> </NoWarn> <Optimize>true</Optimize> <RegisterForComInterop>false</RegisterForComInterop> <RemoveIntegerChecks>false</RemoveIntegerChecks> <TreatWarningsAsErrors>false</TreatWarningsAsErrors> <WarningLevel>4</WarningLevel> <DebugType>none</DebugType> <ErrorReport>prompt</ErrorReport> </PropertyGroup> <ItemGroup> <Reference Include="log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32731d11ce58905"> <SpecificVersion>False</SpecificVersion> <HintPath>..\Lib\NHibernate\log4net.dll</HintPath> </Reference> <Reference Include="NHibernate, Version=1.0.2.0, Culture=neutral, PublicKeyToken=154fdcb44c4484fc"> <SpecificVersion>False</SpecificVersion> <HintPath>..\Lib\NHibernate\NHibernate.dll</HintPath> </Reference> <Reference Include="System"> <Name>System</Name> </Reference> <Reference Include="System.Data"> <Name>System.Data</Name> </Reference> <Reference Include="System.Web"> <Name>System.Web</Name> </Reference> <Reference Include="System.Xml"> <Name>System.XML</Name> </Reference> </ItemGroup> <ItemGroup> <Compile Include="AssemblyInfo.cs"> <SubType>Code</SubType> </Compile> <Compile Include="src\DbSupport.cs"> <SubType>Code</SubType> </Compile> <Compile Include="src\DefaultSessionManager.cs"> <SubType>Code</SubType> </Compile> <Compile Include="src\HttpSessionManagerModule.cs"> <SubType>Code</SubType> </Compile> <Compile Include="src\INHibernateDaoSupport.cs"> <SubType>Code</SubType> </Compile> <Compile Include="src\ISessionManager.cs"> <SubType>Code</SubType> </Compile> <Compile Include="src\NHibernateDaoSupport.cs"> <SubType>Code</SubType> </Compile> <Compile Include="src\SessionManagerFactory.cs"> <SubType>Code</SubType> </Compile> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\MSBee\MSBuildExtras.FX1_1.CSharp.targets" Condition=" '$(BuildingInsideVisualStudio)' == '' AND '$(TargetFX1_1)'=='true'" /> <PropertyGroup> <PreBuildEvent> </PreBuildEvent> <PostBuildEvent> </PostBuildEvent> </PropertyGroup> </Project> 1.1 plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/AndroMDA.NHibernateSupport.VS2005.sln Index: AndroMDA.NHibernateSupport.VS2005.sln =================================================================== Microsoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2005 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AndroMDA.NHibernateSupport", "AndroMDA.NHibernateSupport.VS2005.csproj", "{8349509A-0F7D-411A-AA7B-176AA6452911}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {8349509A-0F7D-411A-AA7B-176AA6452911}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8349509A-0F7D-411A-AA7B-176AA6452911}.Debug|Any CPU.Build.0 = Debug|Any CPU {8349509A-0F7D-411A-AA7B-176AA6452911}.Release|Any CPU.ActiveCfg = Release|Any CPU {8349509A-0F7D-411A-AA7B-176AA6452911}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal 1.1 plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/VS2005Build.bat Index: VS2005Build.bat =================================================================== @echo NOTE: Building with VS2005 requires MSBee to be installed @set PATH=%PATH%;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 msbuild AndroMDA.NHibernateSupport.VS2005.sln /p:TargetFX1_1=true /p:Configuration=Release 1.1 plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/VS2005Readme.txt Index: VS2005Readme.txt =================================================================== AndroMDA.NHibernateSupport - Visual Studio 2005 Readme ------------------------------------------------------ Because AndroMDA.NHibernateSupport needs to be used with .NET 1.1 and 2.0 it must be built with the .NET 1.1 compiler. You can still compile this with Visual Studio 2005 but you must have MSBee installed and you must build it from the command line with the following command: msbuild /p:TargetFX1_1=true /p:Configuration=Release You can download MSBee at the following URL: http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSBee 1.3 +5 -0 plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/src/DefaultSessionManager.cs Index: DefaultSessionManager.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/src/DefaultSessionManager.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- DefaultSessionManager.cs 27 Jul 2006 02:08:19 -0000 1.2 +++ DefaultSessionManager.cs 17 Aug 2006 03:51:50 -0000 1.3 @@ -205,6 +205,11 @@ CloseSession(); } + public bool TransactionExists() + { + return GetTransaction() != null; + } + public void BeginTransaction() { if (GetTransaction() != null) 1.2 +1 -0 plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/src/ISessionManager.cs Index: ISessionManager.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/src/ISessionManager.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- ISessionManager.cs 9 Jul 2006 12:08:21 -0000 1.1 +++ ISessionManager.cs 17 Aug 2006 03:51:50 -0000 1.2 @@ -38,6 +38,7 @@ void HandleSessionEnd(); // Transaction management + bool TransactionExists(); void BeginTransaction(); void CommitTransaction(); void RollbackTransaction(); 1.2 +5 -0 plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/src/NHibernateDaoSupport.cs Index: NHibernateDaoSupport.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.NHibernateSupport/src/NHibernateDaoSupport.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- NHibernateDaoSupport.cs 9 Jul 2006 12:08:21 -0000 1.1 +++ NHibernateDaoSupport.cs 17 Aug 2006 03:51:50 -0000 1.2 @@ -13,6 +13,11 @@ get { return SessionManagerFactory.SessionManager.Session; } } + public bool TransactionExists() + { + return SessionManagerFactory.SessionManager.TransactionExists(); + } + public void BeginTransaction() { SessionManagerFactory.SessionManager.BeginTransaction(); 1.6 +88 -83 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib/AndroMDA.NHibernateSupport.dll <<Binary file>> 1.3 +88 -83 plugins/etc/andromda-dotnet/Lib/AndroMDA.NHibernateSupport/AndroMDA.NHibernateSupport.dll <<Binary file>> No revision No revision |