|
From: <pa...@us...> - 2011-02-28 05:25:58
|
Revision: 5407
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=5407&view=rev
Author: patearl
Date: 2011-02-28 05:25:52 +0000 (Mon, 28 Feb 2011)
Log Message:
-----------
SQLite build server configuration.
Modified Paths:
--------------
trunk/nhibernate/ShowBuildMenu.bat
trunk/nhibernate/src/NHibernate.TestDatabaseSetup/TestDatabaseSetup.cs
trunk/nhibernate/teamcity.build
Added Paths:
-----------
trunk/nhibernate/lib/teamcity/sqlite/
trunk/nhibernate/lib/teamcity/sqlite/x64/
trunk/nhibernate/lib/teamcity/sqlite/x64/System.Data.SQLite.DLL
trunk/nhibernate/lib/teamcity/sqlite/x86/
trunk/nhibernate/lib/teamcity/sqlite/x86/System.Data.SQLite.DLL
Modified: trunk/nhibernate/ShowBuildMenu.bat
===================================================================
--- trunk/nhibernate/ShowBuildMenu.bat 2011-02-28 05:14:31 UTC (rev 5406)
+++ trunk/nhibernate/ShowBuildMenu.bat 2011-02-28 05:25:52 UTC (rev 5407)
@@ -179,26 +179,32 @@
echo A. NHibernate Trunk (default SQL Server)
echo B. NHibernate Trunk - Firebird (32-bit)
echo C. NHibernate Trunk - Firebird (64-bit)
+echo D. NHibernate Trunk - SQLite (32-bit)
+echo E. NHibernate Trunk - SQLite (64-bit)
echo.
if exist %SYSTEMROOT%\System32\choice.exe ( goto teamcity-menu-prompt-choice )
goto teamcity-menu-prompt-set
:teamcity-menu-prompt-choice
-choice /C:abc
+choice /C:abcde
if errorlevel 255 goto end
+if errorlevel 5 goto teamcity-sqlite64
+if errorlevel 4 goto teamcity-sqlite32
if errorlevel 3 goto teamcity-firebird64
if errorlevel 2 goto teamcity-firebird32
if errorlevel 1 goto teamcity-trunk
if errorlevel 0 goto end
:teamcity-menu-prompt-set
-set /p OPT=[A, B, C]?
+set /p OPT=[A, B, C, D, E]?
if /I "%OPT%"=="A" goto teamcity-trunk
if /I "%OPT%"=="B" goto teamcity-firebird32
if /I "%OPT%"=="C" goto teamcity-firebird64
+if /I "%OPT%"=="D" goto teamcity-sqlite32
+if /I "%OPT%"=="E" goto teamcity-sqlite64
goto teamcity-menu-prompt-set
:teamcity-trunk
@@ -213,6 +219,14 @@
%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=firebird64
goto end
+:teamcity-sqlite32
+%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=sqlite32
+goto end
+
+:teamcity-sqlite64
+%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=sqlite64
+goto end
+
:end
popd
pause
Property changes on: trunk/nhibernate/lib/teamcity/sqlite
___________________________________________________________________
Added: bugtraq:url
+ http://jira.nhibernate.org/browse/%BUGID%
Added: bugtraq:logregex
+ NH-\d+
Property changes on: trunk/nhibernate/lib/teamcity/sqlite/x64
___________________________________________________________________
Added: bugtraq:url
+ http://jira.nhibernate.org/browse/%BUGID%
Added: bugtraq:logregex
+ NH-\d+
Added: trunk/nhibernate/lib/teamcity/sqlite/x64/System.Data.SQLite.DLL
===================================================================
(Binary files differ)
Property changes on: trunk/nhibernate/lib/teamcity/sqlite/x64/System.Data.SQLite.DLL
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Property changes on: trunk/nhibernate/lib/teamcity/sqlite/x86
___________________________________________________________________
Added: bugtraq:url
+ http://jira.nhibernate.org/browse/%BUGID%
Added: bugtraq:logregex
+ NH-\d+
Added: trunk/nhibernate/lib/teamcity/sqlite/x86/System.Data.SQLite.DLL
===================================================================
(Binary files differ)
Property changes on: trunk/nhibernate/lib/teamcity/sqlite/x86/System.Data.SQLite.DLL
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/nhibernate/src/NHibernate.TestDatabaseSetup/TestDatabaseSetup.cs
===================================================================
--- trunk/nhibernate/src/NHibernate.TestDatabaseSetup/TestDatabaseSetup.cs 2011-02-28 05:14:31 UTC (rev 5406)
+++ trunk/nhibernate/src/NHibernate.TestDatabaseSetup/TestDatabaseSetup.cs 2011-02-28 05:25:52 UTC (rev 5407)
@@ -16,6 +16,7 @@
SetupMethods = new Dictionary<string, Action<Cfg.Configuration>>();
SetupMethods.Add("NHibernate.Driver.SqlClientDriver", SetupSqlServer);
SetupMethods.Add("NHibernate.Driver.FirebirdClientDriver", SetupFirebird);
+ SetupMethods.Add("NHibernate.Driver.SQLite20Driver", SetupNoop);
}
[Test]
@@ -62,7 +63,11 @@
{
FbConnection.CreateDatabase("Database=NHibernate.fdb;ServerType=1");
}
- }
+
+ private static void SetupNoop(Cfg.Configuration cfg)
+ {
+ }
+ }
}
Modified: trunk/nhibernate/teamcity.build
===================================================================
--- trunk/nhibernate/teamcity.build 2011-02-28 05:14:31 UTC (rev 5406)
+++ trunk/nhibernate/teamcity.build 2011-02-28 05:25:52 UTC (rev 5407)
@@ -63,6 +63,34 @@
<property name="teamcity.last.result" value="${root.dir}/lib/teamcity/firebird/NHibernate.Test.last-results.xml" />
</target>
+ <target name="setup-teamcity-sqlite32">
+ <property name="nhibernate.connection.driver_class" value="NHibernate.Driver.SQLite20Driver" />
+ <property name="nhibernate.dialect" value="NHibernate.Dialect.SQLiteDialect" />
+ <property name="nhibernate.connection.connection_string" value="Data Source=NHibernate.db" />
+ <copy todir="${bin.dir}">
+ <fileset basedir="${root.dir}/lib/teamcity/sqlite/x86">
+ <include name="*.dll"/>
+ </fileset>
+ </copy>
+ <property name="NHibernate.Test.IgnoreFail" value="true" />
+ <property name="teamcity.last.result" value="${root.dir}/lib/teamcity/sqlite/NHibernate.Test.last-results.xml" />
+ </target>
+
+ <target name="setup-teamcity-sqlite64">
+ <property name="nunit-console" value="${tools.dir}/NUnit/nunit-console.exe" />
+ <property name="nunit.found" value="true" />
+ <property name="nhibernate.connection.driver_class" value="NHibernate.Driver.SQLite20Driver" />
+ <property name="nhibernate.dialect" value="NHibernate.Dialect.SQLiteDialect" />
+ <property name="nhibernate.connection.connection_string" value="Data Source=NHibernate.db" />
+ <copy todir="${bin.dir}">
+ <fileset basedir="${root.dir}/lib/teamcity/sqlite/x64">
+ <include name="*.dll"/>
+ </fileset>
+ </copy>
+ <property name="NHibernate.Test.IgnoreFail" value="true" />
+ <property name="teamcity.last.result" value="${root.dir}/lib/teamcity/sqlite/NHibernate.Test.last-results.xml" />
+ </target>
+
<script language="C#" prefix="testResult">
<references>
<include name="System.dll" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|