1 <?xml version=
"1.0" encoding='iso-
8859-
1'
?>
2 <project name=
"security-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.SecurityManagement" />
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=
"version" value=
"alpha" />
21 <delete failonerror=
"false">
22 <fileset basedir=
"${bin.dir}">
23 <include name=
"*.dll" />
24 <include name=
"*.xml" />
25 <include name=
"*.pdb" />
30 <target name=
"init" depends=
"clean">
32 <nant buildfile=
"${base.dir}/../../copy-tasks.xml" target=
"copy-container" inheritall=
"true" />
35 <nant buildfile="${base.dir}/../../copy-tasks.xml" target="copy-security-service" inheritall="true" />
40 <target name=
"build" depends=
"init,tests.run" />
42 <target name=
"compile">
48 optimize="${optimize}"
49 output="${bin.dir}/${assembly.name}"
50 doc="${bin.dir}/${name}.xml">
53 <warning number="1591" />
54 <warning number="1572" />
57 <sources basedir="${src.dir}" defaultexcludes="true">
58 <include name="**/*.cs" />
62 <include name="${bin.dir}/*.dll" />
68 <target name=
"tests.compile" depends=
"compile">
73 output="${bin.dir}/${test.assembly.name}">
75 <sources basedir="${test.src.dir}" defaultexcludes="true">
76 <include name="**/*.cs" />
80 <include name="${nunit.framework.dll}" />
81 <include name="${bin.dir}/*.dll" />
87 <target name=
"tests.run" depends=
"tests.compile">
90 <formatter type="${nunit.formatter}" />
91 <test assemblyname="${bin.dir}/${test.assembly.name}" />
97 <ndoc failonerror=
"true">
98 <assemblies basedir=
"${bin.dir}">
99 <include name=
"${assembly.name}" />
100 <include name=
"Castle.Facilities.NHibernateExtension.dll" />
103 <documenter name=
"MSDN">
104 <property name=
"OutputTarget" value=
"HTMLHelp" />
105 <property name=
"Preliminary" value=
"true" />
106 <property name=
"CleanIntermediates" value=
"true" />
107 <property name=
"SdkLinksOnWeb" value=
"true" />
108 <property name=
"AutoPropertyBackerSummaries" value=
"true" />
109 <property name=
"AutoDocumentConstructors" value=
"true" />
110 <property name=
"OutputDirectory" value=
"${doc.dir}" />
111 <property name=
"HtmlHelpName" value=
"${name}" />
112 <property name=
"IncludeFavorites" value=
"False" />
113 <property name=
"Title" value=
"Facility - ${name}" />
114 <property name=
"SplitTOCs" value=
"False" />
115 <property name=
"DefaulTOC" value=
"Windsor" />
116 <property name=
"ShowVisualBasic" value=
"True" />
117 <property name=
"ShowMissingSummaries" value=
"False" />
118 <property name=
"ShowMissingRemarks" value=
"False" />
119 <property name=
"ShowMissingParams" value=
"False" />
120 <property name=
"ShowMissingReturns" value=
"False" />
121 <property name=
"ShowMissingValues" value=
"False" />
122 <property name=
"DocumentInternals" value=
"False" />
123 <property name=
"DocumentProtected" value=
"True" />
124 <property name=
"DocumentPrivates" value=
"False" />
125 <property name=
"DocumentEmptyNamespaces" value=
"False" />
126 <property name=
"IncludeAssemblyVersion" value=
"True" />
127 <property name=
"CopyrightText" value=
"Copyright 2004,2005 - Castle Project (original author or authors)" />
128 <property name=
"CopyrightHref" value=
"http://www.castleproject.org" />
134 <target name=
"dist" depends=
"docs">
135 <zip zipfile=
"${name}.src.zip">
136 <fileset basedir=
"${base.dir}">
137 <include name=
"License.txt" />
138 <include name=
"Readme.txt" />
139 <include name=
"Changes.txt" />
140 <include name=
"*.build" />
141 <include name=
"*.sln" />
142 <include name=
"Castle.Facilities.NHibernateExtension/**/*.*" />
143 <include name=
"${src.dir}/**/*.*" />
144 <include name=
"${test.src.dir}/**/*.*" />
145 <include name=
"${library.dir}/**/*.*" />
147 <exclude name=
"**/Debug/*" />
148 <exclude name=
"**/obj/*" />
149 <exclude name=
"**/*.user" />
150 <exclude name=
"**/*.suo" />
153 <zip zipfile=
"${name}.${version}.zip">
154 <fileset basedir=
"${base.dir}">
155 <include name=
"${bin.dir}/${assembly.name}" />
156 <include name=
"${library.dir}/**/*.*" />
157 <include name=
"License.txt" />
158 <include name=
"Readme.txt" />
159 <include name=
"Changes.txt" />
160 <include name=
"${name}.src.zip" />
161 <include name=
"${doc.dir}/${name}.chm" />
164 <delete file=
"${name}.src.zip" />