4 name=
"Castle.Facilities.NHibernateIntegration.Tests"
6 xmlns=
"http://nant.sf.net/release/0.85/nant.xsd"
9 <property name=
"root.dir" value=
"../../.." />
10 <include buildfile=
"${root.dir}/common-project.xml" />
12 <target name=
"init" depends=
"common.init">
13 <property name=
"assembly.version" value=
"1.0.3.0" />
15 <assemblyfileset id=
"project.references" basedir=
"${build.dir}">
16 <include name=
"nunit.framework.dll"/>
17 <include name=
"Castle.Facilities.NHibernateIntegration.dll" />
19 <include name=
"NHibernate.dll" />
20 <include name=
"Castle.Core.dll" />
21 <include name=
"Castle.Services.Transaction.dll" />
22 <include name=
"Castle.MicroKernel.dll" />
23 <include name=
"Castle.Windsor.dll" />
24 <include name=
"Castle.Facilities.AutomaticTransactionManagement.dll" />
25 <include name=
"System.Configuration.dll" />
28 <resourcefileset id=
"project.resources" prefix=
"${project::get-name()}" dynamicprefix=
"true">
29 <include name=
"${src.dir}/**/*.hbm.xml" />
30 <exclude name=
"${src.dir}/obj/**" />
34 <target name=
"configure-tests">
35 <property name=
"app.config" value=
"${build.dir}/${project::get-name()}.dll.config" />
39 xpath=
"/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory1']/settings/item[@key='dialect']"
44 xpath=
"/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory2']/settings/item[@key='dialect']"
49 xpath=
"/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory3']/settings/item[@key='dialect']"
54 xpath=
"/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory1']/settings/item[@key='connection.driver_class']"
55 value=
"${ar.connection.driver_class}"
59 xpath=
"/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory2']/settings/item[@key='connection.driver_class']"
60 value=
"${ar.connection.driver_class}"
64 xpath=
"/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory3']/settings/item[@key='connection.driver_class']"
65 value=
"${ar.connection.driver_class}"
69 xpath=
"/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory1']/settings/item[@key='connection.connection_string']"
70 value=
"${ar.connection.connection_string.1}"
74 xpath=
"/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory2']/settings/item[@key='connection.connection_string']"
75 value=
"${ar.connection.connection_string.2}"
79 xpath=
"/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory3']/settings/item[@key='connection.connection_string']"
80 value=
"${ar.connection.connection_string.1}"
84 <target name=
"generate-assemblyinfo" depends=
"init common.generate-assemblyinfo" />
86 <target name=
"test" depends=
"init generate-assemblyinfo common.compile-tests configure-tests common.run-tests" description=
"Runs the tests" />