Adding WCF Integration.
[castle.git] / Facilities / Remoting / default.build
blob61bf3df2f25c9b23f568d1deddeb5086098d7974
1 <?xml version="1.0" encoding='iso-8859-1' ?>
2 <project name="remoting-facility" default="build">
4 <property name="base.dir" value="${path::get-full-path( project::get-base-directory() )}" />
5 <property name="bin.dir" value="${base.dir}/bin" />
7 <include buildfile="../../common.xml" />
9 <property name="name" value="Castle.Facilities.Remoting" />
10 <property name="test.name" value="${name}.Tests" />
12 <property name="assembly.name" value="${name}.dll" />
13 <property name="test.assembly.name" value="${test.name}.dll" />
15 <property name="src.dir" value="${base.dir}/${name}" />
16 <property name="test.src.dir" value="${base.dir}/${test.name}" />
18 <property name="test.components.src.dir" value="${base.dir}/${name}.TestComponents" />
19 <property name="test.components.name" value="${name}.TestComponents.dll" />
21 <property name="version" value="beta-1" />
23 <target name="clean">
24 <delete failonerror="false">
25 <fileset basedir="${bin.dir}">
26 <include name="*.dll" />
27 <include name="*.xml" />
28 <include name="*.pdb" />
29 </fileset>
30 </delete>
31 </target>
33 <target name="init" depends="clean">
34 <nant buildfile="${base.dir}/../../copy-tasks.xml" target="copy-container" inheritall="true" />
35 </target>
37 <target name="build" depends="init,tests.run" />
39 <target name="compilecomponents" depends="init">
40 <csc
41 target="library"
42 debug="${debug}"
43 output="${bin.dir}/${test.components.name}">
45 <sources basedir="${test.components.src.dir}" defaultexcludes="true">
46 <include name="**/*.cs" />
47 </sources>
49 <references>
50 <include name="${bin.dir}/*.dll" />
51 </references>
52 </csc>
53 </target>
55 <target name="tests.compile" depends="compilecomponents">
56 <csc
57 target="library"
58 debug="${debug}"
59 output="${bin.dir}/${test.assembly.name}">
61 <sources basedir="${test.src.dir}" defaultexcludes="true">
62 <include name="**/*.cs" />
63 </sources>
65 <references>
66 <include name="${nunit.framework.dll}" />
67 <include name="${bin.dir}/*.dll" />
68 </references>
69 </csc>
70 </target>
72 <target name="tests.run" depends="tests.compile">
73 <!-- For some reason the AppDomain created by the tests are not reaching nunit.framework
74 <nunit2>
75 <formatter type="${nunit.formatter}" />
76 <test assemblyname="${bin.dir}/${test.assembly.name}" />
77 </nunit2>
78 -->
79 </target>
81 </project>