4 name=
"Castle.Facilities.ActiveRecordIntegration.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.ActiveRecordIntegration.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.ActiveRecord.dll" />
25 <include name=
"Castle.Facilities.AutomaticTransactionManagement.dll" />
29 <target name=
"configure-tests">
30 <property name=
"app.config" value=
"${build.dir}/${project::get-name()}.dll.config" />
34 xpath=
"/configuration/castle/facilities/facility[@id='arfacility']/config/add[@key='dialect']/@value"
39 xpath=
"/configuration/castle/facilities/facility[@id='arfacility']/config/add[@key='connection.driver_class']/@value"
40 value=
"${ar.connection.driver_class}"
44 xpath=
"/configuration/castle/facilities/facility[@id='arfacility']/config/add[@key='connection.connection_string']/@value"
45 value=
"${ar.connection.connection_string.1}"
49 <target name=
"generate-assemblyinfo" depends=
"init common.generate-assemblyinfo" />
51 <target name=
"test" depends=
"init generate-assemblyinfo common.compile-tests configure-tests common.run-tests" description=
"Runs the tests" />