|
From: <te...@us...> - 2009-05-25 21:05:13
|
Revision: 4384
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4384&view=rev
Author: tehlike
Date: 2009-05-25 21:04:25 +0000 (Mon, 25 May 2009)
Log Message:
-----------
Initial teamcity build files.
Added Paths:
-----------
trunk/nhibernate/build-common/teamcity-hibernate.cfg.xml
trunk/nhibernate/teamcity.build
Added: trunk/nhibernate/build-common/teamcity-hibernate.cfg.xml
===================================================================
--- trunk/nhibernate/build-common/teamcity-hibernate.cfg.xml (rev 0)
+++ trunk/nhibernate/build-common/teamcity-hibernate.cfg.xml 2009-05-25 21:04:25 UTC (rev 4384)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
+ <bytecode-provider type="lcg"/>
+ <reflection-optimizer use="true"/>
+ <session-factory name="NHibernate.Test">
+ <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
+ <property name="cache.provider_class">NHibernate.Cache.HashtableCacheProvider, NHibernate</property>
+ <property name="cache.use_query_cache">true</property>
+ <property name="query.startup_check">false</property>
+ <!--
+ The valid strings for Isolation can be found in the documentation for the System.Data.IsolationLevel
+ Enumeration documentation.
+ Use the member names - not the values.
+ -->
+ <property name="adonet.batch_size">10</property>
+ <property name="connection.isolation">ReadCommitted</property>
+ <property name="format_sql">true</property>
+
+ <!-- This is the System.Data.dll provider for MSSQL Server -->
+ <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
+ <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
+ <property name="connection.connection_string">Server=.\SQLExpress;initial catalog=nhibernate;Integrated Security=SSPI</property>
+ <property name="show_sql">false</property>
+ <property name="use_outer_join">true</property>
+ <property name="command_timeout">444</property>
+ <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
+ <property name="adonet.wrap_result_sets">false</property>
+
+ <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
+ </session-factory>
+ </hibernate-configuration>
\ No newline at end of file
Added: trunk/nhibernate/teamcity.build
===================================================================
--- trunk/nhibernate/teamcity.build (rev 0)
+++ trunk/nhibernate/teamcity.build 2009-05-25 21:04:25 UTC (rev 4384)
@@ -0,0 +1,18 @@
+<?xml version="1.0" ?>
+<project name="NHibernate TeamCity Build" xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd" default="clean-configure-test">
+ <property name="root.dir" value="." />
+ <include buildfile="${root.dir}/default.build" />
+ <!--
+ <if test="${not property::exists('CCNetLabel') and not property::exists('build.number')}">
+ <fail>This build file is for use with CruiseControl.NET or TeamCity</fail>
+ </if>-->
+
+ <property name="build.number" value="${CCNetLabel}" if="${property::exists('CCNetLabel')}" />
+
+ <target name="clean-configure-test" depends="cleanall init copy-teamcity-configuration build test">
+
+ </target>
+ <target name="copy-teamcity-configuration">
+ <copy file="build-common/teamcity-hibernate.cfg.xml" tofile="${bin.dir}/hibernate.cfg.xml" />
+ </target>
+</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|