Refactored the Kernel registration fluent interface to be more readable, better suppo...
[castle.git] / Facilities / Security / default.build
blob302193708cb95f594c1a4d29930f50c3e2431b67
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" />
20 <target name="clean">
21 <delete failonerror="false">
22 <fileset basedir="${bin.dir}">
23 <include name="*.dll" />
24 <include name="*.xml" />
25 <include name="*.pdb" />
26 </fileset>
27 </delete>
28 </target>
30 <target name="init" depends="clean">
32 <nant buildfile="${base.dir}/../../copy-tasks.xml" target="copy-container" inheritall="true" />
34 <!--
35 <nant buildfile="${base.dir}/../../copy-tasks.xml" target="copy-security-service" inheritall="true" />
36 -->
38 </target>
40 <target name="build" depends="init,tests.run" />
42 <target name="compile">
43 <!--
44 <csc
45 define="${strong}"
46 target="library"
47 debug="${debug}"
48 optimize="${optimize}"
49 output="${bin.dir}/${assembly.name}"
50 doc="${bin.dir}/${name}.xml">
52 <nowarn>
53 <warning number="1591" />
54 <warning number="1572" />
55 </nowarn>
57 <sources basedir="${src.dir}" defaultexcludes="true">
58 <include name="**/*.cs" />
59 </sources>
61 <references>
62 <include name="${bin.dir}/*.dll" />
63 </references>
64 </csc>
65 -->
66 </target>
68 <target name="tests.compile" depends="compile">
69 <!--
70 <csc
71 target="library"
72 debug="${debug}"
73 output="${bin.dir}/${test.assembly.name}">
75 <sources basedir="${test.src.dir}" defaultexcludes="true">
76 <include name="**/*.cs" />
77 </sources>
79 <references>
80 <include name="${nunit.framework.dll}" />
81 <include name="${bin.dir}/*.dll" />
82 </references>
83 </csc>
84 -->
85 </target>
87 <target name="tests.run" depends="tests.compile">
88 <!--
89 <nunit2>
90 <formatter type="${nunit.formatter}" />
91 <test assemblyname="${bin.dir}/${test.assembly.name}" />
92 </nunit2>
93 -->
94 </target>
96 <target name="docs">
97 <ndoc failonerror="true">
98 <assemblies basedir="${bin.dir}">
99 <include name="${assembly.name}" />
100 <include name="Castle.Facilities.NHibernateExtension.dll" />
101 </assemblies>
102 <documenters>
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" />
129 </documenter>
130 </documenters>
131 </ndoc>
132 </target>
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" />
151 </fileset>
152 </zip>
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" />
162 </fileset>
163 </zip>
164 <delete file="${name}.src.zip" />
165 </target>
167 </project>